[llvm-commits] CVS: llvm/Makefile.rules

Reid Spencer reid at x10sys.com
Wed May 24 16:49:30 PDT 2006


Okay, that makes sense now :)

Reid.

On Wed, 2006-05-24 at 18:37 -0500, Chris Lattner wrote:
> On Wed, 24 May 2006, Reid Spencer wrote:
> >> +# this can be overridden on the make command line.
> >> +OPTIMIZE_OPTION := -O3
> >
> > Yuck! :)
> >
> > That means anyone not using a compiler that understands -O3 will have to
> > put that on every make command line. I assume this is a temporary
> > situation. What we ought to do is put the value into Makefile.config.in
> > and have configure deduce it when it determines the kind of compiler
> > we'll be using.  If that makes sense, can you file a bug and I'll get to
> > it eventually?
> 
> That's not the intention of this option.  The specific situation I have is 
> that some versions of GCC crash when compiling some of the LLVM sources as 
> -O3.  As a temporary work around, I'm forcing -O2 to be used: ugly but 
> effective.  The only way to check for this in an autoconf check would be 
> to compile all of llvm with -O3 :)
> 
> I don't think the LLVM build systems are well suited for compilers that 
> don't grok -O3, but this patch doesn't change that...
> 
> -Chris
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20060524/6d01f0cc/attachment.sig>


More information about the llvm-commits mailing list