[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Libtool 1.3e on i586-sco-sysv5uw7.1.1 FIX
From: |
Peter Eisentraut |
Subject: |
Libtool 1.3e on i586-sco-sysv5uw7.1.1 FIX |
Date: |
Tue, 24 Apr 2001 20:29:10 +0200 (CEST) |
No wonder that it didn't work on Unixware; someone changed the
config.guess tuple under us.
With the attached patch I get
====================
2 of 78 tests failed
====================
on
i586-sco-sysv5uw7.1.1
(UDK 7.1.1b)
(Recall before 20 of 83 failed.)
The failures are depdemo-make.test:
[...]
=== Running depdemo-make.test
+ test -f ../depdemo/Makefile
+ :
+ cd ../depdemo
+ echo Making in ../depdemo
Making in ../depdemo
+ make
Making all in l1
Making all in l2
Making all in l3
Making all in l4
/bin/sh ./libtool --mode=link cc -g -o depdemo main.o ./l1/libl1.la
./l2/libl2.la ./l4/libl4.la
LD_RUN_PATH="/home/peter_e/libtool-1.3e/tests/_inst/lib:/home/peter_e/libtool-1.3e/tests/_inst/lib/extra:$LD_RUN_PATH"
\
cc -g -o .libs/depdemo main.o ./l1/.libs/libl1.so ./l2/.libs/libl2.so
./l4/.libs/libl4.so \
/home/peter_e/libtool-1.3e/depdemo/l3/.libs/libl3.so \
/home/peter_e/libtool-1.3e/depdemo/l2/.libs/libl2.so \
/home/peter_e/libtool-1.3e/depdemo/l1/.libs/libl1.so -lm
UX:ld: ERROR: library libl1.so.0, which is NEEDED by libl2.so.0, is not found
[Formatted for readability.]
Any idea? Looks like it could be a generic symptom with a preexisting
flag to fix it.
2001-04-24 Peter Eisentraut <address@hidden>
* libtool.m4: Change unixware*) to sysv5uw7*) to reflect
config.guess change. Use compiler driver, not linker, for linking
shared libraries.
*** libtool.m4.orig Tue Apr 24 12:30:41 2001
--- libtool.m4 Tue Apr 24 12:39:17 2001
***************
*** 1691,1696 ****
--- 1695,1711 ----
export_dynamic_flag_spec='-Bexport'
;;
+ sysv5uw7*)
+ no_undefined_flag='${wl}-z ${wl}text'
+ if test "$GCC" = yes; then
+ archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs
$deplibs $compiler_flags'
+ else
+ archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs
$compiler_flags'
+ fi
+ runpath_var='LD_RUN_PATH'
+ hardcode_shlibpath_var=no
+ ;;
+
sysv5*)
***************
*** 1734,1745 ****
runpath_var=LD_RUN_PATH
;;
- unixware7*)
- archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- runpath_var='LD_RUN_PATH'
- hardcode_shlibpath_var=no
- ;;
-
*)
ld_shlibs=no
;;
===snip
--
Peter Eisentraut address@hidden http://funkturm.homeip.net/~peter
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Libtool 1.3e on i586-sco-sysv5uw7.1.1 FIX,
Peter Eisentraut <=