On Tir. 21. Apr. 2009 07:41:21, PacoLinux wrote:
> Hi:
> 
> I'm having a very weird error while building latest rakudo with parrot
> r38208 (gcc  4.1.3 20070929) :

I'm seeing the same problem with gcc version 4.1.2 20061021 prerelease
(NetBSD nb3 20061125), i.e. the system compiler on NetBSD/i386 4.0.

In my case, I found out that what caused the error was not optimization,
but a lack of optimization -- you'll see that the gcc invocation does
not specify any -O option.  After some hints from the friendly souls on
#parrot, I found out a way to work around this problem:

  perl ./Configure.pl --gen-parrot --gen-parrot-option=--optimize

in the rakudo root directory.  That way, the relevant file gets compiled
with optimization (together with most if not all the others...), and the
build completes and produces a perl6 executable which so far is working
for me (running spectests now).

Yes, this is actually a gcc bug...

Hope this helps,

- HÃ¥vard

Reply via email to