i change the external abi a little bit and export any symbols. i just applied the following patch to the versions script (it just move any internal symbol to GLIBC_PRIVATE). the linked lib crashes like any reduces version even if it is linked with --whole-archive. bastian -- Immortality consists largely of boredom. -- Zefrem Cochrane, "Metamorphosis", stardate 3219.8
--- /usr/lib/libc_pic.map 2003-08-19 22:43:24.000000000 +0200
+++ lib/libc_pic.map 2003-08-23 12:39:14.000000000 +0200
@@ -434,8 +434,6 @@
xdr_void; xdr_wrapstring; xdrmem_create; xdrrec_create;
xdrrec_endofrecord; xdrrec_eof; xdrrec_skiprecord; xdrstdio_create;
xencrypt; xprt_register; xprt_unregister;
- local:
- *;
};
GLIBC_2.1 {
global:
@@ -790,6 +788,7 @@
_dl_sym; _dl_vsym;
_itoa_lower_digits; _itoa_upper_digits;
_nss_files_parse_grent; _nss_files_parse_pwent; _nss_files_parse_spent;
+ *;
} GLIBC_2.3.3;
GCC_3.0 {
global:
Attachment:
pgpef9RDH3tif.pgp
Description: PGP signature