[LLVMdev] Building on x86-64

David Greene dag at cray.com
Mon Sep 24 07:51:50 PDT 2007


On Friday 21 September 2007 09:57, David Greene wrote:

> I just tried to libtoolize to 1.5.24 but I'm still seeing the same problem.
>  I will continue to investigate.

Ugh.  I hate libtool.

Here's what I've been able to glean so far.  libtool uses the output of 
gcc -print-search-dirs to populate its library search path.  On our
x86_64-unknown-linux-gnu gcc, this output doesn't include /usr/lib64.
Figuring this was a configuration problem, I rebuilt the compiler.  No
such luck.  The new compiler has the same problem.

This is with gcc 4.1.2.  gcc.  gcc 4.2.1 works fine and correctly includes
/usr/lib64.  I configured both compilers with the same options.

This appears to be a gcc 4.1.2 bug.  Anyone else know anything about this?
Perhaps we should add 4.1.2 to the buggy compilers list with an explanation
that llvm can't be built on multilib machines with it unless /usr/lib links to
/usr/lib64.

                                             -Dave



More information about the llvm-dev mailing list