Parrot 6.4.0 "Double-eyed Fig Parrot" | parrot.org/ | Log: irclog.perlgeek.de/parrot | #parrotsketch meeting Tuesday 19:30 UTC
Set by moderator on 21 May 2014.
00:43 rurban joined 00:48 rurban1 joined 00:56 TonyC_ joined 01:18 Khisanth joined 01:48 FROGGS_ joined 01:49 rurban joined 02:40 rurban joined 02:45 rurban1 joined 04:20 woosley left 05:07 rurban joined 05:39 rurban joined 06:40 rurban joined 06:49 FROGGS joined 07:42 rurban joined 07:46 basiliscos joined 08:42 rurban joined 09:43 rurban joined 10:44 rurban joined 11:28 jsut_ joined 11:31 Psyche^ joined 11:45 rurban joined 12:45 rurban joined 12:56 rurban joined 13:53 basiliscos joined 14:19 rurban joined 14:20 bluescreen joined 14:41 Chirag joined 16:00 FROGGS joined
Chirag Hey! 18:09
So my branch is throwing an error that PAST::Compiler can't compile ResizableIntegerArray. PAST::Compiler is not the problem since no changes have been made to it wrt master.
rurban: I went through your changes to parrot/lib/Parrot/Pmc2c. Maybe the problem occurs when ResizableIntegerArray.pmc gets converted to .c (since pmc2c and this pmc file, are the only ones that have been changed) 18:10
rurban_ lemme check 18:30
WB's are not correct yet, so you cannot expect a working build 18:34
WB problems typically only appear in GC heavy code sections, with one GC moving a ptr and another part still accessing this ptr 18:35
we don't have a code enough testcase for this yet 18:36
./parrot examples/shootout/regexdna.pir examples/shootout/regexdna.pir_input passes now
It only fails in building rakudo? 18:37
t/pmc/fixedstringarray.t fails for me earlier 18:38
Chirag i do a make install and it fails 18:41
rurban_ with your branch? 18:42
or with master?
Chirag yes
my branch
./parrot-nqp --target=pir --output=compilers/opsc/gen/Ops/Compiler/Actions.pir compilers/opsc/src/Ops/Compiler/Actions.pm
PAST::Compiler can't compile node of type ResizableIntegerArray
rurban_ sure, your branch is not ready yet. I got those fails: t/op/gc.t t/pmc/fixedstringarray.t 18:43
but Compiler/Actions.pm compiles fine on my machine
you seem to have less memory than me 18:44
Chirag how much does it require?
rurban_ less is better for this problem. you'll find errors earlier 18:45
we are working on the GC
Chirag how much memory do u have?
rurban_ 16GB 18:46
Chirag I have got 3
rurban_ grep "need PARROT_GC_WRITE_BARRIER" src/pmc/*.c 18:47
These are all missing WBs
Chirag wow.. thats strange .. I don't think i missed so many 18:48
rurban_ I'll rebase my rurban/pmc2c_orig on master (for the icu fixes) and maybe I can fix more pmc2c stuff, and then you can rebase on mine. 18:49
Chirag ok .. 18:50
rurban_ git fetch origin; git rebase rurban/pmc2c_orig
Chirag but there might be a lot of conflicts
rurban_ but not yet/ I'll tell you (in ~ 5 minutes)
Chirag ok
rurban_ don't think so
Should I rebase it for you? You need to improve your commit messages anyway 18:51
Chirag alright.. 18:52
rurban_ I'm always running a fulltest before committing. (i.e. all optimizations and codingstd_tests)
Chirag is merging my branch to yours the same thing? 18:53
rurban_ That's my test script: gist.github.com/rurban/6c7fbaf2f30c7e42dec6 18:54
yes
Chirag i ll use this script from now on 18:56
rurban_ But you need to tune it. It's only for my system
e.g. the /usr/local/lib/perl5/5.14.4/x86_64-linux/CORE, make-4.0 and so on
Chirag i ll change that 18:57
rurban_ only debian testing make is already at 4.0
Chirag i use ubuntu .. 18:58
so will check for that 18:59
dalek parrot/rurban/pmc2c_orig: 481d8e5 | rurban++ | / (49 files):
parrot/rurban/pmc2c_orig: pmc2c: inline gc write barrier into vtable methods
parrot/rurban/pmc2c_orig:
parrot/rurban/pmc2c_orig: removed wrong UNUSED(INTERP) and UNUSED(SELF)
parrot/rurban/pmc2c_orig: some methods with return values are marked TODO, need to add the write barriers manually.
parrot/rurban/pmc2c_orig:
parrot/rurban/pmc2c_orig: A missing write barrier caused one error:
parrot/rurban/pmc2c_orig: t/examples/shootout.t: 16 examples/shootout/regexdna.pir SEGV
parrot/rurban/pmc2c_orig:
parrot/rurban/pmc2c_orig: TODO GC write barrier to:
parrot/rurban/pmc2c_orig: default.pop_float
parrot/rurban/pmc2c_orig: default.pop_integer
parrot/rurban/pmc2c_orig: default.pop_pmc
parrot/rurban/pmc2c_orig: default.pop_string
parrot/rurban/pmc2c_orig: default.shift_float
parrot/rurban/pmc2c_orig: default.shift_integer
rurban_ make 3.8 is still not perfect for massive parallel builds
dalek parrot/rurban/pmc2c_orig: default.shift_pmc
parrot/rurban/pmc2c_orig: default.shift_string
parrot/rurban/pmc2c_orig: CallContext.shift_pmc
parrot/rurban/pmc2c_orig: CallContext.shift_string
parrot/rurban/pmc2c_orig: Key.shift_pmc
parrot/rurban/pmc2c_orig: ArrayIterator.pop_float
parrot/rurban/pmc2c_orig: ArrayIterator.pop_integer
parrot/rurban/pmc2c_orig: ArrayIterator.pop_pmc
parrot/rurban/pmc2c_orig: ArrayIterator.pop_string 19:00
parrot/rurban/pmc2c_orig: ArrayIterator.shift_float
parrot/rurban/pmc2c_orig: ArrayIterator.shift_integer
parrot/rurban/pmc2c_orig: ArrayIterator.shift_pmc
parrot/rurban/pmc2c_orig: ArrayIterator.shift_string
parrot/rurban/pmc2c_orig: Task.pop_pmc
parrot/rurban/pmc2c_orig: Capture.pop_float
parrot/rurban/pmc2c_orig: Capture.pop_integer
parrot/rurban/pmc2c_orig: Capture.pop_pmc
parrot/rurban/pmc2c_orig: Capture.pop_string
parrot/rurban/pmc2c_orig: Capture.shift_float
parrot/rurban/pmc2c_orig: Capture.shift_integer
parrot/rurban/pmc2c_orig: Capture.shift_pmc
parrot/rurban/pmc2c_orig: Capture.shift_string
parrot/rurban/pmc2c_orig: HashIterator.shift_integer
parrot/rurban/pmc2c_orig: HashIterator.shift_pmc
parrot/rurban/pmc2c_orig: HashIterator.shift_string
parrot/rurban/pmc2c_orig: ImageIOThaw.shift_float
parrot/rurban/pmc2c_orig: ImageIOThaw.shift_integer
parrot/rurban/pmc2c_orig: ImageIOThaw.shift_pmc
parrot/rurban/pmc2c_orig: ImageIOThaw.shift_string
parrot/rurban/pmc2c_orig: ResizablePMCArray.pop_float
parrot/rurban/pmc2c_orig: ResizablePMCArray.pop_integer
parrot/rurban/pmc2c_orig: ResizablePMCArray.pop_pmc
parrot/rurban/pmc2c_orig: ResizablePMCArray.pop_string
parrot/rurban/pmc2c_orig: ResizablePMCArray.shift_float
parrot/rurban/pmc2c_orig: ResizablePMCArray.shift_integer
parrot/rurban/pmc2c_orig: ResizablePMCArray.shift_pmc
parrot/rurban/pmc2c_orig: ResizablePMCArray.shift_string
parrot/rurban/pmc2c_orig: Object.pop_float
parrot/rurban/pmc2c_orig: Object.pop_integer
parrot/rurban/pmc2c_orig: Object.pop_pmc
parrot/rurban/pmc2c_orig: Object.pop_string
parrot/rurban/pmc2c_orig: Object.shift_float
parrot/rurban/pmc2c_orig: Object.shift_integer
parrot/rurban/pmc2c_orig: Object.shift_pmc
parrot/rurban/pmc2c_orig: Object.shift_string
parrot/rurban/pmc2c_orig: OrderedHashIterator.pop_pmc
parrot/rurban/pmc2c_orig: OrderedHashIterator.shift_pmc
parrot/rurban/pmc2c_orig: OrderedHashIterator.shift_string
parrot/rurban/pmc2c_orig: PMCList.pop_pmc
parrot/rurban/pmc2c_orig: PMCList.shift_pmc
19:02 dalek joined
rurban_ Ouch, overlong commit msg 19:07
dalek rrot/ZYROz/pmc2_orig2-gh1069: c45fa9b | ZYROz++ | / (2 files):
[pmc] GSOC start. arrayiterator :no_wb, removed unnecessary :manual_wb

Start of GSOC 2014 work. Task 1: improve GC write barriers. See GH issue #1069
19:08
rrot/ZYROz/pmc2_orig2-gh1069: 1d8b9be | ZYROz++ | src/pmc/callcontext.pmc:
[pmc] callcontext: manual WBs for shift_pmc & shift_string
rrot/ZYROz/pmc2_orig2-gh1069: eb4e321 | ZYROz++ | src/pmc/ (2 files):
[pmc] key, task: manual WBs for shift_*, pop_*
rrot/ZYROz/pmc2_orig2-gh1069: 7238378 | ZYROz++ | src/pmc/ (2 files):
[pmc] callcontext :no_wb and :manual_wb
rrot/ZYROz/pmc2_orig2-gh1069: 963edde | ZYROz++ | src/pmc/key.pmc:
[pmc] key WBs
rrot/ZYROz/pmc2_orig2-gh1069: f39953b | ZYROz++ | src/pmc/ (4 files):
[pmc] arrayiterator, callcontext, key, task: WBs
rrot/ZYROz/pmc2_orig2-gh1069: 29feb94 | ZYROz++ | src/pmc/ (3 files):
[pmc] capture, HashIterator, ImageIoThaw: WBs
rrot/ZYROz/pmc2_orig2-gh1069: 354d48f | ZYROz++ | src/pmc/ (5 files):
[pmc] default, object, orderedHashIterator, pmcList, resizablePmcArray: WBs
rrot/ZYROz/pmc2_orig2-gh1069: e93456a | ZYROz++ | src/pmc/ (8 files):
[pmc] fix some mixed c99 declarations with generated WBs

DEBUGGED - ISO C90 forbids mixed declarations = Solved by adding WB after declarations ; expected declaration specifiers before ‘:’ token Solved by removing :no_wb attributes for the flagged functions
rrot/ZYROz/pmc2_orig2-gh1069: 7093908 | ZYROz++ | src/pmc/task.pmc:
[pmc] task: WB related errors
rurban_ I rebased it for you and improved the messages. fetch from origin and git reset --hard to origin/ZYROz/pmc2_orig2-gh1069
Chirag will do
rurban_ but we will squash all manual + no_wb stuff in the pmc's into one commit 19:10
Chirag yes.. that will make more sense
rurban_ first we need to fix it 19:11
Today is the last Cannes day, tomorrow will only be the main prizes. So I got more time 19:13
Chirag no problem.. we can continue tomorrow if you like
one quick question .. my branch still shows my old commit messages .. 19:17
rurban_ alias g=git; g fetch origin; g co ZYROz/pmc2_orig2-gh1069; g reset --hard origin/ZYROz/pmc2_orig2-gh1069 19:20
co alias for checkout
Chirag yes thats what I did and it said "HEAD is now at 4e90274 DEBUGGED - WB related errors" 19:23
rurban_ hmm, git show origin/ZYROz/pmc2_orig2-gh1069 shows me [pmc] task: WB related errors 19:28
Chirag do i need to rebase it and then push it? 19:29
rurban_ This is already rebased 19:32
c45fa9b372d4a1ab has a wrong .project file included 19:33
and there's a lot of wrong ending whitespace 19:34
Chirag sorry but I am new to github .. How to fix it? 19:37
rurban_ I fix it in my editor 19:39
in emacs cperl-mode it is even highlighted 19:40
relevant test: prove t/codingstd/trailing_space.t 20:23
21:05 sorear joined 21:14 sorear joined