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

Emmanuel Anne emmanuel.anne at gmail.com
Sat Jul 9 23:07:38 UTC 2011


Hi !

I hope it's the right place to post this.
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]

Finally I found the crash is because of my locale (LANG=fr_FR at euro).
Seting LANG=C fixes the problem.
Except that once built, perl6 can't be launched with LANG=fr_FR at euro (gets
the same crash).
Really annoying...
Actually LANG=fr_FR and LANG=fr_FR.UTF-8 both work, it's specific to
fr_FR at euro apparently (it doesn't like the @ sign maybe ?).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.parrot.org/pipermail/parrot-dev/attachments/20110710/f7ad3b1a/attachment.html>


More information about the parrot-dev mailing list