Camelia, the Perl 6 bug

IRC log for #parrot, 2009-12-28

Parrot | source cross referenced

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:08 poet what confuses me is why g++ is giving the error message as opposed to gcc
00:21 Coke PerlJam++
00:22 Coke poet: my mac is dead atm, sorry, cannot verify.
00:23 poet Coke: That's ok.  I tried on the latest from SVN as well with the same results.  I'll boot up a VM until I can figure out what the problem is
00:31 Coke hurm. is "assert.h" a parrot file or an OS one?
00:31 davidfetter joined #parrot
00:34 cotto Coke, it seems to be an os file.
00:35 Coke k
00:37 payload joined #parrot
01:04 bacek joined #parrot
01:12 dalek parrot: r43267 | coke++ | trunk/src/gc/malloc_trace.c:
01:12 dalek parrot: This .h file doesn't exist.
01:12 dalek parrot: (assuming malloc_trace isn't built by default or this would have been noticed before)
01:12 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43267/
01:12 dalek parrot: r43268 | coke++ | trunk/compilers/pirc/src/piremit.c:
01:12 dalek parrot: Switch to <> include to simplify our dep checking.
01:12 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43268/
01:28 zak_ joined #parrot
01:51 lucian joined #parrot
02:15 eternaleye joined #parrot
02:32 JimmyZ joined #parrot
02:35 bacek joined #parrot
02:51 dalek TT #1395 created by jimmy++: [patch]various minor change to parrot
02:51 dalek TT #1396 created by jimmy++: [patch]changed two PMCs to use GET_ATTR syntax
03:06 dalek parrot: r43269 | coke++ | trunk/tools/dev/checkdepend.pl:
03:06 dalek parrot: Fix include dep-checking so it works regardless of directory.
03:06 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43269/
03:06 dalek parrot: r43270 | coke++ | trunk/config/gen/makefiles/root.in:
03:06 dalek parrot: Pass latest tools/dev/checkdepend.pl
03:06 dalek parrot: (mainly imcc/pirc updates)
03:06 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43270/
03:07 dalek TT #1397 created by jimmy++: [patch]changed ATTR n_regs_used[4] to use UINTVAL type in sub.pmc
04:07 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#31345), fulltest) at r43270 - Ubuntu 9.10 amd64 (g++ with --optimize)
04:07 mikehh had to run make -j corevm twice though
04:50 Coke mikehh: ORLY?
04:50 purl YA RLY.
04:50 Coke when you get a make -j run that fails to complete, I need to see the build log so I can figure out what dep is missing.
04:50 Coke (and then fix checkdepend.pl to catch it.)
04:52 Coke (and failures due to "resource not available" are not our problem. =-)
05:00 dalek parrot: r43271 | coke++ | trunk/config/gen/makefiles/root.in:
05:00 dalek parrot: Don't bother trying to delete files that are no longer created.
05:00 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43271/
05:02 bacek joined #parrot
05:16 dalek parrot: r43272 | coke++ | trunk/config/gen/makefiles/root.in:
05:16 dalek parrot: Remove historically amusing comment.
05:16 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43272/
05:16 dalek parrot: r43273 | coke++ | trunk/compilers/pirc/src/bcgen.h:
05:16 dalek parrot: 'make headerizer' run.
05:16 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43273/
07:20 jjore joined #parrot
08:30 cotto Coke, make headerizer is known to break the pirc build.  Did you test that change?
08:35 iblechbot joined #parrot
08:50 eiro_ joined #parrot
09:21 bacek joined #parrot
09:26 fperrad joined #parrot
10:45 hejki joined #parrot
10:45 hejki ahoy there. i noticed there isn't ISLNK for stat(). any other ways around this?
11:03 bacek joined #parrot
11:04 szabgab_ joined #parrot
11:05 szabgab joined #parrot
11:45 bacek aloha
11:47 hejki ahoi. happen to have any ideas how-to figure out whether a dir is indeed a link?
11:54 masak joined #parrot
11:57 bacek hejki, hm... Os.stat?
12:13 ruoso joined #parrot
12:18 dalek parrot: r43274 | bacek++ | trunk/src/pmc/os.pmc:
12:18 dalek parrot: [cage] Use INTERP instead of interp in Os PMC
12:18 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43274/
12:45 bluescreen joined #parrot
12:45 hejki bacek: i'm looking into it.. looks ok this far. i just have issues with my PIR "skills" :)
12:47 bacek hejki, check t/pmc/os.t for samples
12:48 hejki sure
12:48 hejki i'm just wondering why i still keep getting same return values for links and dirs :P
12:48 hejki (i'm returning [2] from the FixedPMCArray Os.stat returns)
12:49 hejki the modes are correctly mirrored but somehow dir and link with same perms give same return code
12:50 bacek Os.stat is just wrapper around system's stat.
12:50 hejki but that gives separate retvals for links and dirs with similar permissions
12:50 hejki mode from stat() should include both file type and perms
12:51 hejki ?
12:52 bacek yes, according to man page.
12:53 bacek But anyway, S_ISLNK isn't exposed into PIR.
12:53 bacek So, feel free to open trac ticket for it :)
12:56 payload joined #parrot
12:57 hejki hmm.. stat doesn't actually make a difference in mode-number between dirs and links :O
12:58 * hejki wonders how the S_ISLNK is implemented
13:00 bacek system depended I think.
13:00 hejki i should be on a POSIX-compliant one
13:17 hejki heh.. by a quick glimpse it seems that my original idea of implementing S_ISLNK into parrot seems to have loads of work to do.. i guess i'm better off filing a ticket :>
13:25 hejki hmm.. there seems to be METHOD is_link(STRING *path) in pmc/file.pmc tho which uses S_ISLINK
13:25 hejki s/LINK/LNK/;
13:25 cybertom joined #parrot
13:32 Coke cotto : nope. just ran it blindly!
13:33 Coke (testing now)
13:39 cybertom left #parrot
13:42 Coke msg cotto: reverted. cotto++
13:42 purl Message for cotto stored.
13:55 dalek parrot: r43275 | coke++ | trunk/compilers/pirc/src/bcgen.h:
13:55 dalek parrot: Revert r43273 -
13:55 dalek parrot: This change broke pirc. (Need to fix either pirc or headerizer so this doesn't happen.)
13:55 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43275/
14:03 JimmyZ joined #parrot
14:12 dalek parrot: r43276 | coke++ | trunk/config/gen/makefiles/nqp-rx.in:
14:12 dalek parrot: nqp-rx has no tests, don't offer to run any.
14:12 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43276/
14:16 mikehh joined #parrot
14:27 Coke pbc_to_exe seems to have an undocumented -o option that doesn't work.
14:33 JimmyZ good evening, #parrot
14:33 Coke ~~
14:34 Coke JimmyZ: I'll re-raise your commit bit question in PS tomorrow.
14:37 patspam joined #parrot
14:37 JimmyZ Coke, thanks
14:47 Coke bah. I tried to move nqp-rx's build into root.in as part of my makefile consolidation strategy. Get it 99% there... it depends on PCT, which is in a separate makefile.
14:51 dalek TT #1398 created by coke++: pbc_to_exe should be able to specify the output files.
14:55 hejki i can't compile Rakudo anymore as of yesterday. i'm getting: http://pastie.org/758753 also when i'm compiling Parrot i get a bunch of "ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored." error messages. Parrot doesn't fail to compile tho. Any ideas/pointers?
15:09 masak I have this build problem too. it seems to have surfaced when I updated to the latest Parrot.
15:12 jan joined #parrot
15:14 bubaflub joined #parrot
15:16 Coke ... libfakeroot?
15:16 Coke fakeroot doesn't appear anywhere in parrot's src.
15:16 hejki wot :D
15:16 Coke what does your LD_PRELOAD eval to?
15:17 * Coke again finds a wish for parrot on git.
15:17 Coke (but without git-svn or the unofficial mirror.)
15:18 bubaflub i'm with ya Coke, i'm more comfortable with git. esp. branching and working out-of-sync with others
15:18 Coke I am newly converted.
15:19 Coke Right now, I just want to snapshot my work in progress so I can continue to break things.
15:19 bubaflub I had been using SVN for a few years but my current job used git
15:19 bubaflub so i had to pick it up.  it's been less than a year but i'm definitely converted.
15:24 bubaflub i can't speak for hg or bzr but distributed is definitely the way to go if there are more than a handful of developers working on something
15:34 dalek parrot: r43277 | coke++ | branches/one_make:
15:35 dalek parrot: Reduce the number of separate top level makefiles in the project.
15:35 dalek parrot: See:
15:35 dalek parrot: �http://groups.google.com/group/parrot-dev/browse​_thread/thread/a2118b1fbbb58df0/897e9a7ee0374b77
15:35 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43277/
15:35 dalek parrot: r43278 | coke++ | branches/one_make (6 files):
15:35 dalek parrot: Eliminate nqp-rx's Makefile, avoid unnecessary copying of PBCs.
15:35 dalek parrot: NQP-rx depends on PCT, however, so parrot-nqp still depends on a dummy target.
15:35 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43278/
15:40 dalek TT #231 closed by coke++: make -j2 test fails
15:40 masak <Coke> fakeroot doesn't appear anywhere in parrot's src.
15:41 masak Coke: so, what does that mean for the Rakudo build error that hejki and I are currently experiencing?
15:42 hejki masak: which distro you're on?
15:42 Coke masak: ... that it's not parrot's fault?
15:42 hejki :D
15:43 Coke does your LD_PRELOAD include "fakeroot" ?
15:43 Coke ah.
15:43 * Coke googles for fakeroot.
15:43 masak what's LD_PRELOAD? it doesn't seem to be an environment variable.
15:43 hejki archlinux uses fakeroot for building stuff.. so i'm looking for possible similarities between me and masak :>
15:44 masak hejki: I'm on Darwin.
15:44 hejki ok
15:44 Coke darwin uses different varnames for LOADING than other osen.
15:45 Coke man dyld, iirc, to find them.
15:45 Coke but I have never heard of using fakeroot on darwin until just now. =-)
15:45 masak I could build Rakudo until just now. :)
15:46 hejki same
15:46 masak I find nothing in `man dyld` containing the word PRELOAD.
15:46 masak there's DYLD_LIBRARY_PATH, though.
15:47 masak oh, oh. I'm not getting the fakeroot errors. those are from hejki's Parrot build process only.
15:48 masak but I am getting the same Rakudo build error, and for code that built yesterday with an earlier Parrot version.
15:48 hejki (which might actually be caused by my distro (archlinux) using fakeroot for building)
15:50 Coke masak - did rakudo just update it's parrot dep revision?
15:50 Coke *its
15:50 masak Coke: I'm not running against Rakudo's recommended Parrot revisions. I always run against the latest Parrot.
15:51 masak also known as "that might indeed be the reason".
15:51 masak if it helps, I could downgrade Parrot to the recommended version and rebuild.
15:52 masak Rakudo recommends Parrot r43076. I'm running Parrot r43275.
15:53 hejki i'm on  43276 :)
15:54 JimmyZ /me couldn't open http://groups.google.com/group/parrot-dev/browse​_thread/thread/a2118b1fbbb58df0/897e9a7ee0374b77
15:54 masak still doesn't explain why a newer Parrot makes some Rakudo .c file not compile anymore...
15:54 hejki ye
15:55 hejki masak: in case you gain success with the preferred Parrot, lemme know about it so i can start testing out with the
15:55 hejki S_ISLNK-macro*
15:55 hejki i'm writing improper multiline
15:56 masak hejki: I will.
15:56 dalek TT #1343 closed by coke++: parrot's Test::More's is(PMC,Float), with precision
15:56 ash_ joined #parrot
15:57 Psyche^ joined #parrot
16:01 masak hejki: yes. that worked.
16:02 hejki nice
16:03 hejki now i just need to do some SVN-hackery and see if my patches are still applicable :P
16:04 masak svn up -r43076
16:05 hejki ye
16:08 hejki ah.. patches went all ok
16:08 * hejki crosses fingers
16:08 hejki let's see what happens for my rakudo now :)
16:12 Coke msg jimmyz I can open that fine here; GFWoC issue?
16:12 purl Message for jimmyz stored.
16:12 Coke msg jimmyz it was the 'makefile thoughts' thread on list.
16:12 purl Message for jimmyz stored.
16:13 Coke masak: if you could do a bisect to figure out the issue, that would help.
16:14 Coke *the revision that caused the issue.
16:14 masak Coke: ooh, good idea.
16:14 purl masak: Good Idea: Tossing a penny into a fountain to make a wish. Bad Idea: Tossing your cousin Penny into a fountain to make a wish.
16:14 masak purl: you're a ceaseless fount of inanity.
16:14 purl masak: i'm not following you...
16:15 masak Coke: I'm kinda just leaving, but I'll get to it later today or tomorrow.
16:15 Coke hokay. I recommend infinoid's "svn-bisect" tool.
16:15 Coke (from cpan)
16:15 * masak googles it
16:15 masak got it.
16:15 Coke svn-bisect?
16:15 purl svn-bisect is interactive and modeled closely after git-bisect (and is written by infinoid). the other is intended to be run on autopilot.
16:16 Coke svn-bisect is also http://search.cpan.org/search?​query=svn-bisect&amp;mode=all
16:16 purl okay, Coke.
16:21 masak Infinoid: http://search.cpan.org/dist/App-​SVN-Bisect/lib/App/SVN/Bisect.pm -- I'm reading the synopsis and the documentation of the C<new> method. still not too clear on what to give as a value for $actions.
16:22 masak hm, the ACTION METHODS section below that mostly cleared it up...
16:23 masak still, there is some confusion in the Pod between Action, $action, and %actions.
16:24 hejki i'm trying to implement the stat(2) S_ISLNK-macro in parrot. i've added it in include/parrot/stat.h http://heikki.mehtanen.fi/parrot_patch/patch2.txt and in config/gen/platform/generic/stat.h http://heikki.mehtanen.fi/parrot_patch/patch1.txt i get no errors, but calling stat filename, 4 doesn't WAI. what am i missing here?
16:28 Coke masak; why read the docs of the module and not the command line util?
16:28 Coke (the one just exists to support the other)
16:29 Coke msg masak why read the docs of the module and not the command line util itself (for svn-bisect) (the one just exists to support the other)
16:29 purl Message for masak stored.
17:12 dalek parrot: r43279 | coke++ | trunk/PLATFORMS:
17:12 dalek parrot: Fix typo in filename.
17:12 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43279/
17:21 Coke hejki: sorry, no clue here.
17:38 theory joined #parrot
17:44 davidfetter joined #parrot
18:07 joeri joined #parrot
18:40 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#31355), fulltest) at r43279 - Ubuntu 9.10 i386 (gcc with --optimize)
18:43 Zak joined #parrot
18:50 iblechbot joined #parrot
19:19 mikehh joined #parrot
19:29 bacek joined #parrot
19:38 mariano__ joined #parrot
19:53 cotto good morning
19:57 bacek cotto :)
19:57 mikehh joined #parrot
19:58 masak joined #parrot
20:06 bacek Ooookey... Current GC design is terribly awfully bad.
20:09 Coke don't mince words, bacek. What do you really think?
20:10 bacek Coke, I'm thinking about plugging Boehm GC.
20:10 bacek And current design enforces usage of Fixed_Pool, manual separation of "constant" PMC, etc.
20:11 dalek parrot: r43280 | bacek++ | branches/boehm_gc:
20:11 dalek parrot: Branch for pluggin in Boehm GC
20:11 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43280/
20:14 Coke bacek: good luck. =-)
20:14 bacek Coke, I don't need luck.  I need time :)
20:15 cotto good time then
20:39 * Coke rereads "recursive make considered harmful" and chuckles at the memory limits of current machines at the time.
20:42 Coke (heck, many machine even have > 100MB!)
20:43 dalek parrot: r43281 | bacek++ | branches/boehm_gc (3 files):
20:43 dalek parrot: Stub for detecting Boehm GC in Configure.pl
20:43 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43281/
20:53 ash_ Coke: but what if i want to build on my iPhone, it only has 256MB of ram, and i need part of that to keep my music player going /sarcasm
21:02 Tene h8 recursive make
21:02 Coke Tene: I'm killing it.
21:04 payload joined #parrot
21:06 payload joined #parrot
21:07 payload joined #parrot
21:15 mj41_ joined #parrot
21:20 payload joined #parrot
21:31 mj41_ joined #parrot
21:34 Coke are $%, $@, $<, etc. available in all the makes we're using?
21:34 Coke I see we're using them in a few places already, so I'm guessing "yes"
21:44 GeJ Good morning everyone.
21:48 Coke anyone on atm that uses nmake to build parrot?
21:48 Coke hurm. nevermind, I'm not ready.
21:53 mj41_ joined #parrot
22:11 bacek *incoming*
22:12 bacek Ok, major GC problem is Pools. It should be other way around. GC use Pools for allocating objects. Not Pools use GC...
22:19 cognominal joined #parrot
22:21 dalek parrot: r43282 | bacek++ | branches/boehm_gc/config/auto/boehm.pm:
22:21 dalek parrot: Set HAS_BOEHM_GC flag in auto::boehm.
22:21 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43282/
22:21 dalek parrot: r43283 | bacek++ | branches/boehm_gc (3 files):
22:21 dalek parrot: Almost blindly copy gc_inf into gc_boehm.
22:21 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43283/
22:22 dalek parrot: r43284 | bacek++ | branches/boehm_gc/src/gc/gc_boehm.c:
22:22 dalek parrot: Actually build with Boehm GC.
22:22 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43284/
22:22 dalek parrot: r43285 | bacek++ | branches/boehm_gc/src/gc/gc_private.h:
22:22 dalek parrot: Add BOEHM_GC as available GC subsystem.
22:22 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43285/
22:22 dalek parrot: r43286 | bacek++ | branches/boehm_gc (2 files):
22:22 dalek parrot: Add Parrot_gc_switch function to switch GC in "run-time"
22:22 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43286/
22:22 dalek parrot: r43287 | bacek++ | branches/boehm_gc/compilers/imcc/main.c:
22:22 dalek parrot: Implement parsing --gc CLI option and switching GC.
22:22 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43287/
22:22 dalek parrot: r43288 | bacek++ | branches/boehm_gc/src/gc/gc_boehm.c:
22:22 dalek parrot: Use GC_FREE instead of system's free in gc_boehm.
22:22 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43288/
22:22 dalek parrot: r43289 | bacek++ | branches/boehm_gc/src/gc/api.c:
22:22 dalek parrot: Reinitialize pools in Parrot_gc_switch.
22:22 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43289/
22:26 Tene bacek: is that branch "runs and passes some tests" or "omg experimental"?
22:26 bacek Tene, it crashes badly atm.
22:27 Tene Okay, thx
22:29 mj41_ joined #parrot
22:30 nopaste "bacek" at 122.110.43.111 pasted "Interesting. Boehm GC is slower with naive implementation..." (13 lines) at http://nopaste.snit.ch/19178
22:38 dalek parrot: r43290 | bacek++ | branches/boehm_gc/compilers/imcc (3 files):
22:38 dalek parrot: Fix IMCC to use mem_sys_free
22:38 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43290/
22:38 dalek parrot: r43291 | bacek++ | branches/boehm_gc/src/gc/gc_boehm.c:
22:38 dalek parrot: Enable incremental GC
22:38 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43291/
22:38 dalek parrot: r43292 | bacek++ | branches/boehm_gc/src/gc/alloc_memory.c:
22:38 dalek parrot: Use Boehm GC in mem_sys_* functions
22:38 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43292/
22:40 mikehh joined #parrot
22:46 mj41_ joined #parrot
22:48 ttbot joined #parrot
22:51 solarion joined #parrot
23:01 bacek joined #parrot
23:04 cotto joined #parrot
23:21 kid51 joined #parrot
23:28 Zak joined #parrot
23:31 dalek tracwiki: v120 | fperrad++ | Languages
23:31 dalek tracwiki: update Forth
23:31 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=120&amp;action=diff
23:46 davidfetter joined #parrot
23:59 dalek parrot: r43293 | plobsing++ | branches/pmc_freeze_cleanup/src/pmc_freeze.c:
23:59 dalek parrot: reuse id_list on thaw for finish_list, reducing garbage created during thaw
23:59 dalek parrot: except: also includes workaround for GC bug revealed by this change
23:59 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43293/

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

Parrot | source cross referenced