Bug#178511: mklibs: Misses some symbols?
Package: mklibs
Version: 0.1.8
Severity: important
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This is executing against libraries generated by mklibs:
# /usr/lib/cgi-bin/login.cgi
/usr/lib/cgi-bin/login.cgi: relocation error: /usr/lib/cgi-bin/login.cgi: symbol _ZTIPKc, version GLIBCPP_3.2 not defined in file libstdc++.so.5 with link time reference
login.cgi was part of the mklibs invocation.
On an unstripped version:
anthony@bohr:web$ nm cgi/login.cgi | grep _ZTIPKc
0804a5a0 V _ZTIPKc@@GLIBCPP_3.2
On the stripped version:
anthony@bohr:web$ objdump -T out/usr/lib/cgi-bin/login.cgi | grep _ZTIPKc
0804a5a0 w DO .bss 00000010 GLIBCPP_3.2 _ZTIPKc
anthony@bohr:web$ objdump --demangle -T out/usr/lib/cgi-bin/login.cgi | grep 0804a5a0
0804a5a0 w DO .bss 00000010 GLIBCPP_3.2 typeinfo for char const*
And again, with readelf:
anthony@bohr:web$ readelf -s -W out/usr/lib/cgi-bin/login.cgi | grep _ZTIPKc
19: 0804a5a0 16 OBJECT WEAK DEFAULT 24 _ZTIPKc@GLIBCPP_3.2 (4)
- -- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux bohr 2.4.16 #2 SMP Wed Nov 28 05:25:00 EST 2001 i686
Locale: LANG=en_US, LC_CTYPE=en_US
Versions of packages mklibs depends on:
ii binutils 2.13.90.0.10-1 The GNU assembler, linker and bina
ii gcc [c-compiler] 2:2.95.4-17 The GNU C compiler.
ii gcc-2.95 [c-compiler] 1:2.95.4-11 The GNU C compiler.
ii gcc-3.0 [c-compiler] 1:3.0.4-7 The GNU C compiler.
ii gcc-3.2 [c-compiler] 1:3.2.1-0pre3 The GNU C compiler.
ii libc6-pic 2.2.5-14.3 GNU C Library: PIC archive library
ii python 2.1.3-4 An interactive object-oriented scr
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iD8DBQE+NDlo+z+IwlXqWf4RAkiOAJ4mugj99KC7nYH2LG26n/9tWEp7DgCbBh0/
LtJF48fSEXNRDGFBfZmPSrE=
=tEpb
-----END PGP SIGNATURE-----
Reply to: