bug-libtool
[Top][All Lists]
Advanced

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

[libtool 2.2.6b] testsuite: 21 24 38 39 74 failed


From: Stuart Shelton
Subject: [libtool 2.2.6b] testsuite: 21 24 38 39 74 failed
Date: Thu, 18 Mar 2010 16:20:40 +0000
User-agent: Thunderbird 2.0.0.23 (X11/20090918)


Attached is the result of attempting to run the libtool 2.2.6b
test-suite on IRIX/MIPS using the platform MIPSpro compilers.

The main issues encountered in actual use are around the "DESTDIR tests"
results - libtool seems to install libtool-wrapper scripts on the first
installation of any given source, whilst a second install puts the
actual binaries in the right place.

The IRIX linker
(http://docs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?cmd=getdoc&coll=0650&db=man&fname=1%20ld)
seems to support all of the needed options - but I don't know where to
go next in order to get libtool working correctly.

There also appears to be some dead(?) code in libtool which increments
IRIX version numbers with `lt_irix_increment' - which seems to do little
on IRIX 6.5 other than result in all library names containing an
off-by-one version number!

The following patch seems to work:

--- ltmain.sh.dist
+++ ltmain.sh
@@ -6225,7 +6225,6 @@ func_mode_link ()
             current=$func_arith_result
             age="$number_minor"
             revision="$number_minor"
-           lt_irix_increment=no
             ;;
           esac
           ;;
@@ -6297,11 +6296,7 @@ func_mode_link ()
           ;;

         irix | nonstopux)
-         if test "X$lt_irix_increment" = "Xno"; then
-           func_arith $current - $age
-         else
-           func_arith $current - $age + 1
-         fi
+         func_arith $current - $age
           major=$func_arith_result

           case $version_type in


(... although this would likely break nonstopux, if still required.)

For interoperability it's probably not practical, but SGI notes that
best-practise is for libraries to be named only lib<name>.so with no
version number (unless multiple versions are present, which which case a
single-digit version number is suggested), since the version number is
hard-coded into every DSO.

Cheers,

Stuart

Attachment: testsuite.log.bz2
Description: Binary data


reply via email to

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