[Parrot-users] Optimized Builds WAS: Re: Compiling Parrot 1.4.0

Dwight Schauer dschauer at gmail.com
Mon Nov 30 04:05:29 UTC 2009


On Sun, Nov 29, 2009 at 8:44 PM, Andy Dougherty <doughera at lafayette.edu>wrote:

> 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
>

I use gcc with amd64. Everything builds/tests fine for me though with the
default settings.. I'll look into playing with the optimization and seeing
what breaks.

Dwight
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.parrot.org/pipermail/parrot-users/attachments/20091129/d8f66982/attachment.htm>


More information about the Parrot-users mailing list