On Sun May 17 12:16:57 2009, heidnes wrote: > 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... > Yup, and there's no obvious workaround we can do in the code. So, going to close this ticket as resolved since we have a good enough workaround, and I did add to the Get Rakudo page at: http://www.rakudo.org/how-to-get-rakudo Where hopefully people will notice it and be able to work around it.
Thanks, Jonathan