[Parrot-users] Optimized Builds WAS: Re: Compiling Parrot 1.4.0
Andy Dougherty
doughera at lafayette.edu
Mon Nov 30 02:44:16 UTC 2009
On Sat, 28 Nov 2009, Andrew Whitworth wrote:
> I agree that compilation with aggressive optimizations should be a
> routine thing in Parrot development. However, there are some cases
> (such as in the GC's stackwalking code) that are very difficult to
> have passed through the optimizer unscathed.
Yes. Narrowing down the offending code would be helpful here.
Fortunately, the original poster has been able to verify that the
problem persists in the current release of parrot with gcc on amd64.
Since this is a very common platform, it should be relatively easy to
determine if the problem is in a particular file.
> Anybody with any expertise in this area should take a look at the
> routines in src/gc/system.c to see what I am talking about. If -O3
> causes errors, I might suggest that this file is a large source of
> them. (I know this is a topic more suitable for the parrot-dev than
> the parrot-users list, just sayin').
If you look at config/gen/makefiles/CFLAGS.in, you'll see that
some time ago I disabled optimization on just this file for just this
reason. I think the problem is probably elsewhere.
--
Andy Dougherty doughera at lafayette.edu
More information about the Parrot-users
mailing list