gcc 2.95.3, SGI native ld.
[...]
FAIL: hardcode.test
411202:lt-hell: rld: Error: unresolvable symbol in lt-hell: foo
411202:lt-hell: rld: Error: unresolvable symbol in lt-hell: nothing
411202:lt-hell: rld: Fatal Error: this executable has unresolvable symbols
PASS: build-relink.test
[...]
412530:lt-depdemo: rld: Error: unresolvable symbol in
/afs/ir/src/pubsw/development/libtool/build/@sys/depdemo/l4/.libs/libl4.so.1: var_l3
412530:lt-depdemo: rld: Error: unresolvable symbol in
/afs/ir/src/pubsw/development/libtool/build/@sys/depdemo/l4/.libs/libl4.so.1: func_l3
412530:lt-depdemo: rld: Fatal Error: this executable has unresolvable symbols
PASS: build-relink2.test
[...]
====================
1 of 83 tests failed
====================
Rerunning hardcode.test with VERBOSE=1:
=== Running hardcode.test
= Running make hardcode in ../demo
You may ignore any linking errors from the following command:
gcc -g -O2 -o hc-direct main.o ./.libs/libhello.so -lm -Wl,-rpath
-Wl,/afs/ir/src/pubsw/development/libtool/build/@sys/tests/_inst/lib || echo
unsupported > hc-direct
gcc -g -O2 -o hc-libflag main.o -Wl,-rpath
-Wl,/afs/ir/src/pubsw/development/libtool/build/sgi_65/demo/.libs
-L/afs/ir/src/pubsw/development/libtool/build/@sys/tests/_inst/lib -lhello -lm
You may ignore any linking errors from the following command:
LD_LIBRARYN32_PATH=./.libs gcc -g -O2 -o hc-libpath main.o -lhello -lm -Wl,-rpath
-Wl,/afs/ir/src/pubsw/development/libtool/build/@sys/tests/_inst/lib || echo
unsupported > hc-libpath
ld32: FATAL 9 : I/O error (-lhello): No such file or directory
collect2: ld returned 32 exit status
gcc -g -O2 -o hc-minusL main.o -L./.libs -lhello -lm -Wl,-rpath
-Wl,/afs/ir/src/pubsw/development/libtool/build/@sys/tests/_inst/lib || echo
unsupported > hc-minusL
= Finding libtool.m4's guesses at hardcoding values
= Searching for hardcoded library directories in each program
.libs was not hardcoded in `hc-direct', as libtool expected
.libs was hardcoded in `hc-libflag', as libtool expected
`hc-libpath' was not linked properly, as libtool expected
.libs was hardcoded in `hc-minusL', which fooled libtool
--
Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/>
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool