David Greene wrote:> On Thursday 20 September 2007 16:32, David Greene wrote: > >>> although i would guess that something is wrong with your install >>> because it should find the 64bit libs by default (that is if your on a >>> 64bit system) >> I suspect you are right. > > Ha! We're both wrong! This is a bug in libtool 5.22, which llvm uses: > >>From the libtool 5.24 NEWS file: > > * Search paths with GCC on multilib systems like x86_64 have been fixed.BTW, this probably works for you because you don't have 32-bit libs installed. Do you have a /usr/lib/libltdl*? Apparently some Linux distributions only install 64-bit libs while others install both 64-bit and 32-bit libs. -Dave
No i have multilib configuration (whatever this means on gentoo ;) and there are 32bit libs. Libtool version installed is 1.5.22. Maybe its patched/configured specially by gentoos build system. ls -la /usr/ ... lib -> lib64 lib32 lib64 There is a libltdl.s.3.1.4 in lib32 and lib64. But i have quite the opposite problem: getting 32bit versions of llvm-gcc to build on the 64 bit machine. In order to achieve this i am currently experimenting with a 32bit chroot. gritz arnold On 9/21/07, David A. Greene <greened at obbligato.org> wrote:> >>> although i would guess that something is wrong with your install > >>> because it should find the 64bit libs by default (that is if your on a > >>> 64bit system) > >> I suspect you are right. > > > > Ha! We're both wrong! This is a bug in libtool 5.22, which llvm uses: > > > >>From the libtool 5.24 NEWS file: > > > > * Search paths with GCC on multilib systems like x86_64 have been fixed. > > BTW, this probably works for you because you don't have 32-bit libs > installed. Do you have a /usr/lib/libltdl*? Apparently some Linux > distributions only install 64-bit libs while others install both > 64-bit and 32-bit libs. > > -Dave >
On Friday 21 September 2007 03:28, Arnold Schwaighofer wrote:> No i have multilib configuration (whatever this means on gentoo ;) and > there are 32bit libs. Libtool version installed is 1.5.22. Maybe its > patched/configured specially by gentoos build system. > > ls -la /usr/ > ... > lib -> lib64 > lib32 > lib64 > There is a libltdl.s.3.1.4 in lib32 and lib64.Ah, but /usr/lib links to /usr/lib64 so that saves you. Do a VERBOSE=1 build and see what mklib spits out when doing a link. I'll bet you see /usr/lib/libltdl.a there. I just tried to libtoolize to 1.5.24 but I'm still seeing the same problem. I will continue to investigate. -Dave