bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libtool 2.2] testsuite: 19 64 failed [GNU/Linux IA-32]


From: Peter O'Gorman
Subject: Re: [libtool 2.2] testsuite: 19 64 failed [GNU/Linux IA-32]
Date: Thu, 06 Mar 2008 20:45:51 -0600
User-agent: Thunderbird 2.0.0.9 (X11/20071115)

Nelson H. F. Beebe wrote:
>>> Re: [libtool 2.2] testsuite: 19 64 failed [GNU/Linux IA-32]
>>> Hmm. Does the gcj on this system add -liconv at link time, but somehow
>>> not add it to the rpath?
> 

Thank you for the response.

> The separate need for -Wl,-rpath,/path/to/something or
> -R/path/to/something in addition to -L/path/to/something is common on
> many Unix flavors if executables are to run without an environment
> variable like LD_LIBRARY_PATH having to be set.  We don't use the
> ld.so.conf feature on GNU/Linux, because we found that it broke too
> many gnome packages.

The gcj in /usr/local/bin does indeed add -liconv, thank you for
confirming my suspicion.

Ralf has already checked in a workaround for gcj being unable to create
objects/executables. I guess I will add to that so it tests that an
executable created by the compiler will actually run.


> 
>>> What does:
>>>
>>> gcj -### -o /dev/null /dev/null
>>>
>>> show?
> 
> I have two versions of gcj on this system:
> 
> % \which -a gcj
> /usr/local/bin/gcj
> /usr/bin/gcj
> 
> % /usr/bin/gcj --version
> gcj (GCC) 3.4.6 20060404 (Red Hat 3.4.6-9)
> 
> % /usr/local/bin/gcj --version
> gcj (GCC) 3.4.3
> 
> % /usr/bin/gcj -### -o /dev/null /dev/null
> Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs
> Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/libgcj.spec
> rename spec lib to liborig
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
> --infodir=/u
> sr/share/info --enable-shared --enable-threads=posix --disable-checking 
> --with-s
> ystem-zlib --enable-__cxa_atexit --disable-libunwind-exceptions 
> --enable-java-aw
> t=gtk --host=i386-redhat-linux
> Thread model: posix
> gcc version 3.4.6 20060404 (Red Hat 3.4.6-9)
>  "/usr/libexec/gcc/i386-redhat-linux/3.4.6/collect2" "--eh-frame-hdr" "-m" 
> "elf_
> i386" "-dynamic-linker" "/lib/ld-linux.so.2" "-o" "/dev/null" 
> "/usr/lib/gcc/i386
> -redhat-linux/3.4.6/../../../crt1.o" 
> "/usr/lib/gcc/i386-redhat-linux/3.4.6/../..
> /../crti.o" "/usr/lib/gcc/i386-redhat-linux/3.4.6/crtbegin.o" 
> "-L/usr/local/sys/
> FortranPlus/fplus_55h/lib" "-L/usr/lib/gcc/i386-redhat-linux/3.4.6" 
> "-L/usr/lib/
> gcc/i386-redhat-linux/3.4.6" 
> "-L/usr/lib/gcc/i386-redhat-linux/3.4.6/../../.." "
> /dev/null" "-lgcc_s" "-lgcc" "-lgcj" "-lm" "-lpthread" "-lz" "-ldl" "-lgcc_s" 
> "-
> lgcc" "-lc" "-lgcc_s" "-lgcc" "/usr/lib/gcc/i386-redhat-linux
> 
> % /usr/local/bin/gcj -### -o /dev/null /dev/null
> Reading specs from 
> /export/local/i386-linux/bin/../lib/gcc/i686-pc-linux-gnu/3.4
> .3/specs
> Reading specs from 
> /export/local/i386-linux/bin/../lib/gcc/i686-pc-linux-gnu/3.4
> .3/../../../libgcj.spec
> rename spec lib to liborig
> Configured with: ../gcc-3.4.3/configure 
> Thread model: posix
> gcc version 3.4.3
>  
> "/export/local/i386-linux/bin/../libexec/gcc/i686-pc-linux-gnu/3.4.3/collect2"
>  
> "--eh-frame-hdr" "-m" "elf_i386" "-dynamic-linker" "/lib/ld-linux.so.2" "-o" 
> "/d
> ev/null" "/usr/lib/crt1.o" "/usr/lib/crti.o" 
> "/export/local/i386-linux/bin/../li
> b/gcc/i686-pc-linux-gnu/3.4.3/crtbegin.o" 
> "-L/export/local/i386-linux/bin/../lib
> /gcc/i686-pc-linux-gnu/3.4.3" "-L/export/local/i386-linux/bin/../lib/gcc" 
> "-L/us
> r/local/sys/FortranPlus/fplus_55h/lib" 
> "-L/usr/local/lib/gcc/i686-pc-linux-gnu/3
> .4.3" 
> "-L/export/local/i386-linux/bin/../lib/gcc/i686-pc-linux-gnu/3.4.3/../../.
> ./../i686-pc-linux-gnu/lib" 
> "-L/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../
> ../../i686-pc-linux-gnu/lib" 
> "-L/export/local/i386-linux/bin/../lib/gcc/i686-pc-
> linux-gnu/3.4.3/../../.." 
> "-L/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../..
> " "/dev/null" "-lgcc_s" "-lgcc" "-lgcj" "-lm" "-liconv" "-lpthread" "-ldl" 
> "-lgc
> c_s" "-lgcc" "-lc" "-lgcc_s" "-lgcc" 
> "/export/local/i386-linux/bin/../lib/gcc/i6
> 86-pc-linux-gnu/3.4.3/crtend.o" "/usr/lib/crtn.o"

Thank you.
Peter
-- 
Peter O'Gorman
http://pogma.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]