Hi, since Debian sid is supposed to be "prelink ready" (is it ?) I decided to give it a try. I looked at Christopher's prelink page, but it does not (yet) offer a prebuild package. So I downloaded prelink-20021002.tar.bz2 and compiled it.
Unfortunately, it does not pass its self tests: * with gcc/g++ 2.95.4 # make check [...] make[2]: Entering directory `/root/prelink/testsuite' PASS: reloc1.sh PASS: reloc2.sh PASS: reloc3.sh PASS: reloc6.sh PASS: reloc7.sh PASS: reloc8.sh PASS: reloc9.sh PASS: shuffle1.sh PASS: shuffle2.sh PASS: shuffle3.sh PASS: shuffle4.sh PASS: shuffle5.sh PASS: layout1.sh ./layout2.sh: line 15: 23639 Aborted (core dumped) $PRELINK -vR ./layout2 >>layout2.log 2>&1 FAIL: layout2.sh PASS: undosyslibs.sh ==================== 1 of 15 tests failed ==================== make[2]: *** [check-TESTS] Error 1 So where is the problem: - in prelink ? - in binutils ? - do I need a patch in glibc ? * with gcc/g++ 3.2.2 (latest in sid) I get 2 failures: layout1lib10.so: undefined reference to `vtable for __cxxabiv1::__class_type_info' collect2: ld returned 1 exit status cp: cannot stat `layout1': No such file or directory FAIL: layout1.sh layout2lib1.so: undefined reference to `vtable for __cxxabiv1::__class_type_info' collect2: ld returned 1 exit status cp: cannot stat `layout2': No such file or directory FAIL: layout2.sh

