[LLVMdev] Using non-system compiler to build llvm and llvm-gcc front end
sricketts at maxentric.com
Tue May 5 13:24:18 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.
More information about the llvm-dev