bug-libtool
[Top][All Lists]
Advanced

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

Re: libtool-1.5: build feedback


From: Robert Boehne
Subject: Re: libtool-1.5: build feedback
Date: Fri, 18 Apr 2003 18:11:35 -0500

Nelson,

First off, thanks for the feedback, it helps us quite a bit to see
so many test suite results.  Secondly, I think there are a few things
that might help these tests pass, or things to consider.
1) OS/X Darwin 5.x works as best it can, the system tools aren't very
good
and if you had 6.x you probably wouldn't have any failures.
2) Some tools require -rpath /usr/bla to be passed as -Wl,-rpath
-Wl,/usr/bla
that might explain why the second part was discarded on a few platforms.
3) AIX 4.2 is not 100% ported, without -brtl in LDFLAGS you'll build
AIX style libraries.  Ltdl doesn't compute the right string to dlopen
this type of library.  It should use:
"/usr/foo/lib/libfoo.a(libfoo.so.1)" or similar.
4) I'm not sure all the compilers you're using are supported.
5) Under some versions of Solaris, hardcode.test seems to fail almost
at random.  Similar machines & compilers will pass, some will fail.
I haven't been able to track this down, but then again I haven't spent
that much time on it.

If you care to look into the rpath question a bit further, I'd be
willing
to work with you to eliminate some of these other failures.

Thanks again for the feedback,

Robert

"Nelson H. F. Beebe" wrote:
> 
> Yesterday, I did builds of libtool-1.5 in 41 different compilation
> environments on 16 different flavors of Unix.  These builds are done
> in parallel using an automated process that has been used for scores
> of other packages, so that build environments are consistent and
> reproducible, and have been used successfully for other packages.
> 
> ------------------------------------------------------------------------
> 
> Five of these builds reported "All 105 tests passed":
> 
> Machinetype:            Intel Pentium III (600 MHz);    FreeBSD 5.0
> Configure environment:  CC=gcc CXX=g++ LDFLAGS=-Wl,-rpath,/usr/local/lib
> 
> Machinetype:            DEC Alpha 4100-5/466 (4 CPUs, 466 MHz, 2GB RAM);      
>     OSF/1 4.0F
> Configure environment:  CC=cc CXX=cxx LDFLAGS=-Wl,-rpath,/usr/local/lib
> 
> Machinetype:            DEC Alpha 4100-5/466 (4 CPUs, 466 MHz, 2GB RAM);      
>     OSF/1 4.0F
> Configure environment:  CC=c89 CXX=cxx LDFLAGS=-Wl,-rpath,/usr/local/lib
> 
> Machinetype:            DEC Alpha 4100-5/466 (4 CPUs, 466 MHz, 2GB RAM);      
>     OSF/1 4.0F
> Configure environment:  CC=gcc CXX=g++ LDFLAGS=-Wl,-rpath,/usr/local/lib
> 
> Machinetype:            Intel Pentium III (600 MHz);    NetBSD 1.6 (GENERIC)
> Configure environment:  CC=gcc CXX=g++ LDFLAGS=-Wl,-rpath,/usr/local/lib
> 
> ------------------------------------------------------------------------
> 
> Most of the others had only a few failing tests:
> 
> Machinetype:            Sun Sun Blade 100 (UltraSPARC IIi 650 MHz); Solaris 
> 2.9
> Configure environment:  CC=c89 CFLAGS="-xO5 -dalign -xlibmil -xcg92 
> -xsafe=mem" CXX=CC CXXFLAGS=-xO5 LDFLAGS=-R/usr/local/lib
> FAIL: demo-make.test
> 
> Machinetype:            Sun Sun Blade 100 (UltraSPARC IIi 650 MHz); Solaris 
> 2.9
> Configure environment:  CC=cc CFLAGS="-xO5 -dalign -xlibmil -xcg92 
> -xsafe=mem" CXX=CC CXXFLAGS="-xO5 -dalign -xlibmil -xcg92 -xsafe=mem" 
> LDFLAGS=-R/usr/local/lib
> FAIL: demo-make.test
> 
> Machinetype:            Sun Sun Blade 100 (UltraSPARC IIi 650 MHz); Solaris 
> 2.9
> Configure environment:  CC=cc CFLAGS="-xc99" CXX=CC LDFLAGS=-R/usr/local/lib
> FAIL: demo-make.test
> 
> Machinetype:            Sun Sun Blade 100 (UltraSPARC IIi 650 MHz); Solaris 
> 2.9
> Configure environment:  CC=cc CFLAGS="-xc99 -xO5 -dalign -xlibmil -xcg92 
> -xsafe=mem" CXX=CC CXXFLAGS="-xO5 -dalign -xlibmil -xcg92 -xsafe=mem" 
> LDFLAGS=-R/usr/local/lib
> FAIL: demo-make.test
> 
> Machinetype:            IBM RS6000 43P-132 (133 MHz);  AIX 4.2
> Configure environment:  CC=gcc CXX=g++ LDFLAGS=-Wl,-L/usr/local/lib
> FAIL: mdemo-inst.test
> FAIL: mdemo-inst.test
> FAIL: tagdemo-make.test
> FAIL: tagdemo-make.test
> 
> Machinetype:            SGI Origin/200-4 (180 MHz) (4 CPUs); IRIX 6.5
> Configure environment:  CC=c89 CXX=CC LDFLAGS=-Wl,-rpath,/usr/local/libn32
> FAIL: hardcode.test
> FAIL: build-relink2.test
> 
> Machinetype:            SGI Origin/200-4 (180 MHz) (4 CPUs); IRIX 6.5
> Configure environment:  CC=cc CXX=CC LDFLAGS=-Wl,-rpath,/usr/local/lib
> FAIL: hardcode.test
> FAIL: build-relink2.test
> 
> Machinetype:            SGI Origin/200-4 (180 MHz) (4 CPUs); IRIX 6.5
> Configure environment:  CC=cc CXX=CC CXXFLAGS=-LANG:std 
> LDFLAGS=-Wl,-rpath,/usr/local/lib
> FAIL: hardcode.test
> FAIL: build-relink2.test
> 
> Machinetype:            SGI Origin/200-4 (180 MHz) (4 CPUs); IRIX 6.5
> Configure environment:
> FAIL: hardcode.test
> FAIL: build-relink2.test
> 
> Machinetype:            SGI Origin/200-4 (180 MHz) (4 CPUs); IRIX 6.5
> Configure environment:  CC=gcc CXX=g++ LDFLAGS=-Wl,-rpath,/usr/local/libn32
> FAIL: hardcode.test
> FAIL: build-relink2.test
> 
> Machinetype:            Apple PowerMac G4 (787 MHz, 256MB RAM);    Darwin 5.4
> Configure environment:
> FAIL: quote.test
> 
> Machinetype:            Sun Ultra Enterprise 450/400 (4 400 MHz CPUs);  
> Solaris 2.7
> Configure environment:  CC=c89 CXX=CC LDFLAGS=-R/usr/local/lib
> FAIL: demo-make.test
> FAIL: hardcode.test
> FAIL: quote.test
> 
> Machinetype:            Sun Ultra Enterprise 450/400 (4 400 MHz CPUs);  
> Solaris 2.7
> Configure environment:  CC=cc CXX=CC LDFLAGS=-R/usr/local/lib
> FAIL: demo-make.test
> FAIL: hardcode.test
> FAIL: quote.test
> 
> Machinetype:            Intel Pentium III (600 MHz);    OpenBSD 3.2 
> GENERIC#25 i386
> Configure environment:  CC=gcc CXX=g++ LDFLAGS=-Wl,-rpath,/usr/local/lib
> FAIL: depdemo-exec.test
> FAIL: depdemo-exec.test
> FAIL: depdemo-exec.test
> FAIL: build-relink2.test
> FAIL: f77demo-make.test
> 
> Machinetype:            Compaq AlphaServer DS20 Sierra/667 (2 EV67 21264 
> CPUs, 667 MHz, 1MB RAM); OSF/1 5.1
> Configure environment:  CC=c89 CXX=cxx 
> LDFLAGS=-Wl,-rpath,/uufs/inscc.utah.edu/common/home/mthnhb/alpha/local/lib
> FAIL: demo-make.test
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: tagdemo-make.test
> FAIL: tagdemo-make.test
> FAIL: f77demo-make.test
> FAIL: f77demo-exec.test
> 
> Machinetype:            Compaq AlphaServer DS20 Sierra/667 (2 EV67 21264 
> CPUs, 667 MHz, 1MB RAM); OSF/1 5.1
> Configure environment:  CC=gcc CXX=g++ 
> LDFLAGS=-Wl,-rpath,/uufs/inscc.utah.edu/common/home/mthnhb/alpha/local/lib
> FAIL: demo-make.test
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: tagdemo-make.test
> FAIL: tagdemo-make.test
> FAIL: f77demo-make.test
> 
> Machinetype:            Intel Pentium III (600 MHz);    Solaris 2.9
> Configure environment:  CC=cc CXX=CC LDFLAGS=-R/usr/local/lib
> FAIL: demo-make.test
> FAIL: hardcode.test
> 
> Machinetype:            Intel Pentium III (600 MHz);    Solaris 2.9
> Configure environment:  CC=c89 CXX=CC LDFLAGS=-R/usr/local/lib
> FAIL: demo-make.test
> FAIL: hardcode.test
> 
> Machinetype:            Intel Pentium III (600 MHz);    Solaris 2.9
> Configure environment:  CC=cc CFLAGS="-xc99" CXX=CC LDFLAGS=-R/usr/local/lib
> FAIL: demo-make.test
> 
> Machinetype:            Intel Pentium III (600 MHz);    Solaris 2.9
> Configure environment:  CC=gcc CXX=g++ LDFLAGS=-R/usr/local/lib
> FAIL: demo-make.test
> 
> Machinetype:            Sun Ultra Enterprise 5500 (4 CPUs);     Solaris 2.8
> Configure environment:  CC=c89 CXX=CC LDFLAGS=-R/usr/local/lib
> FAIL: demo-make.test
> FAIL: hardcode.test
> FAIL: tagdemo-make.test
> FAIL: tagdemo-make.test
> FAIL: tagdemo-make.test
> 
> Machinetype:            Sun Ultra Enterprise 5500 (4 CPUs);     Solaris 2.8
> Configure environment:  CC=cc CXX=CC LDFLAGS=-R/usr/local/lib
> FAIL: demo-make.test
> FAIL: hardcode.test
> FAIL: tagdemo-make.test
> FAIL: tagdemo-make.test
> FAIL: tagdemo-make.test
> 
> Machinetype:            Sun Ultra Enterprise 5500 (4 CPUs);     Solaris 2.8
> Configure environment:  CC=gcc CXX=g++ LDFLAGS=-R/usr/local/lib
> FAIL: demo-make.test
> FAIL: tagdemo-make.test
> FAIL: tagdemo-make.test
> FAIL: tagdemo-make.test
> 
> Machinetype:            HP/Intel Itanium 2 (2CPUs, 1GHz, 8GB RAM, 36GB disk): 
> GNU/Linux 2.4.18-e.12smp [Red Hat Linux Advanced Server release 2.1AS (Derry)]
> Configure environment:  CONFIG_SITE=$HOME/.autoconf.config.site CC=gcc 
> CXX=g++ LDFLAGS="-Wl,-rpath,/usr/local/lib 
> -Wl,-rpath,/home/beebe/ia64/local/lib"
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: mdemo-exec.test
> FAIL: mdemo-inst.test
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: mdemo-exec.test
> FAIL: mdemo-inst.test
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: demo-exec.test
> FAIL: demo-exec.test
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: pdemo-exec.test
> FAIL: pdemo-inst.test
> FAIL: tagdemo-make.test
> FAIL: tagdemo-make.test
> 
> Machinetype:            HP/Intel Itanium 2 (2CPUs, 1GHz, 8GB RAM, 36GB disk): 
> GNU/Linux 2.4.18-e.12smp [Red Hat Linux Advanced Server release 2.1AS (Derry)]
> Configure environment:  CONFIG_SITE=$HOME/.autoconf.config.site CC=ecc 
> CXX=ecc CXXFLAGS="-Kc++" LDFLAGS="-Wl,-rpath,/usr/local/lib 
> -Wl,-rpath,/home/beebe/ia64/local/lib"
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: mdemo-exec.test
> FAIL: mdemo-inst.test
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: mdemo-exec.test
> FAIL: mdemo-inst.test
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: demo-exec.test
> FAIL: demo-exec.test
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: mdemo-exec.test
> FAIL: mdemo-inst.test
> FAIL: pdemo-exec.test
> FAIL: pdemo-inst.test
> FAIL: tagdemo-make.test
> FAIL: tagdemo-make.test
> 
> Machinetype:            HP/Intel Itanium 2 (2CPUs, 1GHz, 8GB RAM, 36GB disk): 
> GNU/Linux 2.4.18-e.12smp [Red Hat Linux Advanced Server release 2.1AS (Derry)]
> Configure environment:  CONFIG_SITE=$HOME/.autoconf.config.site CC=ecc 
> CFLAGS="-c99" CXX=ecc CXXFLAGS="-Kc++" LDFLAGS="-Wl,-rpath,/usr/local/lib 
> -Wl,-rpath,/home/beebe/ia64/local/lib"
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: mdemo-exec.test
> FAIL: mdemo-inst.test
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: mdemo-exec.test
> FAIL: mdemo-inst.test
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: demo-exec.test
> FAIL: demo-exec.test
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: mdemo-exec.test
> FAIL: mdemo-inst.test
> FAIL: pdemo-exec.test
> FAIL: pdemo-inst.test
> FAIL: tagdemo-make.test
> FAIL: tagdemo-make.test
> 
> Machinetype:            HP/Intel Itanium 2 (2CPUs, 1GHz, 8GB RAM, 36GB disk): 
> GNU/Linux 2.4.18-e.12smp [Red Hat Linux Advanced Server release 2.1AS (Derry)]
> Configure environment:  CONFIG_SITE=$HOME/.autoconf.config.site CC=ecc 
> CFLAGS="-O3" CXX=ecc CXXFLAGS="-Kc++ -O3" LDFLAGS="-Wl,-rpath,/usr/local/lib 
> -Wl,-rpath,/home/beebe/ia64/local/lib"
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: mdemo-exec.test
> FAIL: mdemo-inst.test
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: mdemo-exec.test
> FAIL: mdemo-inst.test
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: demo-exec.test
> FAIL: demo-exec.test
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: mdemo-exec.test
> FAIL: mdemo-inst.test
> FAIL: pdemo-exec.test
> FAIL: pdemo-inst.test
> FAIL: tagdemo-make.test
> FAIL: tagdemo-make.test
> 
> Machinetype:            HP/Intel Itanium 2 (2CPUs, 1GHz, 8GB RAM, 36GB disk): 
> GNU/Linux 2.4.18-e.12smp [Red Hat Linux Advanced Server release 2.1AS (Derry)]
> Configure environment:  CONFIG_SITE=$HOME/.autoconf.config.site CC=gcc3 
> CXX=g++3 LDFLAGS="-Wl,-rpath,/usr/local/lib 
> -Wl,-rpath,/home/beebe/ia64/local/lib"
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: mdemo-exec.test
> FAIL: mdemo-inst.test
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: mdemo-exec.test
> FAIL: mdemo-inst.test
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: demo-exec.test
> FAIL: demo-exec.test
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: pdemo-exec.test
> FAIL: pdemo-inst.test
> 
> Machinetype:            HP/Intel Itanium 2 (2CPUs, 1GHz, 8GB RAM, 36GB disk): 
> GNU/Linux 2.4.18-e.12smp [Red Hat Linux Advanced Server release 2.1AS (Derry)]
> Configure environment:  CONFIG_SITE=$HOME/.autoconf.config.site CC=gcc3 
> CFLAGS="-std=c99" CXX=g++3 LDFLAGS="-Wl,-rpath,/usr/local/lib 
> -Wl,-rpath,/home/beebe/ia64/local/lib"
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: mdemo-exec.test
> FAIL: mdemo-inst.test
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: mdemo-exec.test
> FAIL: mdemo-inst.test
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: demo-exec.test
> FAIL: demo-exec.test
> FAIL: demo-exec.test
> FAIL: demo-inst.test
> FAIL: pdemo-exec.test
> FAIL: pdemo-inst.test
> 
> ------------------------------------------------------------------------
> 
> There were five builds that failed before the "make check" stage was
> reached: three of them appear to be confused by a space in the LDFLAGS
> setting.
> 
> Machinetype:            Intel Pentium III (600 MHz);    GNU/Linux 2.4.9-31smp 
> (Red Hat 7.2 (Enigma))
> Configure environment:  CC=gcc CXX=g++ LDFLAGS="-Wl,-rpath /usr/local/lib"
> 
>         gcc -shared  .libs/ltdl.o  -ldl  -Wl,-rpath -Wl,-soname 
> -Wl,libltdl.so.3 -o .libs/libltdl.so.3.1.0
>         
> /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld:
>  cannot open libltdl.so.3: No such file or directory
>         collect2: ld returned 1 exit status
> 
> I have seen similar errors on other packages and other systems: there
> is a missing library path in the -Wl,-rpath option, even though it was
> explicitly set in the initial LDFLAGS.  Some linkers seem to require a
> space after -rpath, while others expect a comma.
> 
> Machinetype:            Intel Pentium III (600 MHz);    GNU/Linux 
> 2.4.18-26.8.0smp (Red Hat 8.0 (Psyche))
> Configure environment:  CC=pgcc CXX=pgCC LDFLAGS=-R/usr/local/lib
> 
>         pgcc -DHAVE_CONFIG_H -I. -I. -I. -g -c ltdl.c -o ltdl.o >/dev/null 
> 2>&1
>         /bin/sh ./libtool --mode=link pgcc  -g  -R/usr/local/lib -o 
> libltdl.la -rpath /usr/local/lib -no-undefined -version-info 4:0:1 ltdl.lo 
> -ldl
>         pgcc -shared  .libs/ltdl.o  --rpath /usr/local/lib -ldl -lc  -soname 
> libltdl.so.3 -o .libs/libltdl.so.3.1.0
>         pgcc-Warning-Unknown switch: --rpath
>         pgcc-Warning-Unknown switch: -soname
>         File with unknown suffix passed to linker: /usr/local/lib
>         File with unknown suffix passed to linker: libltdl.so.3
>         /usr/local/lib: file not recognized: Is a directory
>         make[2]: *** [libltdl.la] Error 2
> 
> Machinetype:            Intel Pentium III (600 MHz);    GNU/Linux 
> 2.4.18-26.8.0smp (Red Hat 8.0 (Psyche))
> Configure environment:  CC=gcc CFLAGS="-std=c99" CXX=g++ LDFLAGS="-Wl,-rpath 
> /usr/local/lib"
> 
>         gcc -shared  .libs/ltdl.o  -ldl  -Wl,-rpath -Wl,-soname 
> -Wl,libltdl.so.3 -o .libs/libltdl.so.3.1.0
>         
> /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld:
>  cannot open libltdl.so.3: No such file or directory
>         collect2: ld returned 1 exit status
>         make[2]: *** [libltdl.la] Error 1
> 
> Machinetype:            Intel Pentium III (600 MHz);    GNU/Linux 
> 2.4.18-26.8.0smp (Red Hat 8.0 (Psyche))
> Configure environment:  CC=icc CXX=icc LDFLAGS="-Wl,-rpath,/usr/local/lib"
> 
>         /bin/sh ./libtool --mode=link icc  -g  -Wl,-rpath,/usr/local/lib -o 
> libltdl.la -rpath /usr/local/lib -no-undefined -version-info 4:0:1 ltdl.lo 
> -ldl
>         icc -shared  .libs/ltdl.o  -ldl -lc  -Wl,-rpath -Wl,/usr/local/lib 
> -Wl,-soname -Wl,libltdl.so.3 -o .libs/libltdl.so.3.1.0
>         ld: .libs/libltdl.so.3.1.0: undefined versioned symbol name 
> __register_frame_info@@GLIBC_2.0
>         ld: failed to set dynamic section sizes: Bad value
>         make[2]: *** [libltdl.la] Error 1
> 
> Machinetype:            Sun SPARC 10/51;               GNU/Linux 2.2.19-6.2.1 
> (Red Hat 6.2)
> Configure environment:  CC=gcc CXX=g++ LDFLAGS="-Wl,-rpath /usr/local/lib"
> 
>         gcc -shared  .libs/ltdl.o  -ldl  -Wl,-rpath -Wl,-soname 
> -Wl,libltdl.so.3 -o .libs/libltdl.so.3.1.0
>         
> /usr/local/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.2/../../../../sparc-unknown-linux-gnu/bin/ld:
>  cannot open libltdl.so.3: No such file or directory
>         collect2: ld returned 1 exit status
> 
> -------------------------------------------------------------------------------
> - Nelson H. F. Beebe                    Tel: +1 801 581 5254                  
> -
> - Center for Scientific Computing       FAX: +1 801 581 4148                  
> -
> - University of Utah                    Internet e-mail: address@hidden  -
> - Department of Mathematics, 110 LCB        address@hidden  address@hidden -
> - 155 S 1400 E RM 233                       address@hidden                    
> -
> - Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  
> -
> -------------------------------------------------------------------------------
> 
> _______________________________________________
> Bug-libtool mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-libtool




reply via email to

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