[LLVMdev] Using non-system compiler to build llvm and llvm-gcc front end
baldrick at free.fr
Tue May 5 23:33:20 PDT 2009
> On Tue, May 5, 2009 at 12:26 PM, Duncan Sands <baldrick at free.fr> wrote:
> > this is indeed a miscompilation by your system compiler. However so many
> > compilers miscompiled this that a workaround was committed to svn. So you
> > may want to check out llvm and llvm-gcc from svn. Alternatively, maybe
> > the patch applies to llvm 2.5 too. I've attached it.
> I will try the latest from svn... but quick follow up question: If it
> looks like a miscompilation by my system compiler (gcc 4.1.2), why
> wasn't gcc-4.2.4 used? Did I make a mistake in configuration? Maybe I
> am misunderstanding the build process.
some versions of gcc 4.2 also miscompile this on 64 bit platforms...
By the way, I attached the wrong patch. Try this new one instead!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2384 bytes
Desc: not available
More information about the llvm-dev