parrot build fails on linux amd64 from version 3.0.0 to 3.5.0 included

NotFound julian.notfound at gmail.com
Sun Jul 10 01:10:15 UTC 2011


Hello

> Tonight I was curious to test the last rakudo-star on amd64, and discovered
> that parrot build failed.
> After taking the git tree and checking many versions, I found the last
> version working is the 2.11.0 for me.
>
> It's tested with gcc-4.6 and gcc-4.4, same result.
> The error looks like this :
> ./miniparrot -Iruntime/parrot/include config_lib.pir >
> runtime/parrot/include/config.fpmc
> src/call/context_accessors.c:580: failed assertion 'ctx'
> Backtrace - Obtained 12 stack frames (max trace depth is 32).
> /home/manu/parrot/blib/lib/libparrot.so.3.0.0(+0x180506) [0x2b99f17cd506]
> /home/manu/parrot/blib/lib/libparrot.so.3.0.0(Parrot_confess+0x8a)
> [0x2b99f17cd4da]
> /home/manu/parrot/blib/lib/libparrot.so.3.0.0(Parrot_pcc_warnings_test_func+0x33)
> [0x2b99f17f18e3]
> /home/manu/parrot/blib/lib/libparrot.so.3.0.0(Parrot_warn+0xcb)
> [0x2b99f18380bb]
> /home/manu/parrot/blib/lib/libparrot.so.3.0.0(+0x1d7831) [0x2b99f1824831]
> /home/manu/parrot/blib/lib/libparrot.so.3.0.0(Parrot_encodings_init+0x102)
> [0x2b99f17cc312]
> /home/manu/parrot/blib/lib/libparrot.so.3.0.0(Parrot_str_init+0x12a)
> [0x2b99f177078a]
> /home/manu/parrot/blib/lib/libparrot.so.3.0.0(initialize_interpreter+0xd4)
> [0x2b99f17edb74]
> /home/manu/parrot/blib/lib/libparrot.so.3.0.0(Parrot_api_make_interpreter+0x120)
> [0x2b99f17c4fd0]
> ./miniparrot() [0x401501]

The segfault should be fixed in master by the commit e1483aaf3c

Attached the diff, you can try to patch with it if you want to use the
parrot provided by rakudo-star.

-- 
Salu2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: euro.patch
Type: text/x-diff
Size: 956 bytes
Desc: not available
URL: <http://lists.parrot.org/pipermail/parrot-dev/attachments/20110710/30986783/attachment.bin>


More information about the parrot-dev mailing list