in reply to large .so sizes under x86_64
I can't confirm your observation, i.e. my 64-bit HiRes.so (for example) is just 35k.
Maybe you've somehow managed to statically link in libc (which is roughly 2 MB)? What does ldd say? Mine says:
$ ldd /usr/local/lib/perl5/5.12.2/x86_64-linux-thread-multi/auto/Time/ +HiRes/HiRes.so linux-vdso.so.1 => (0x00007fff399fe000) librt.so.1 => /lib/librt.so.1 (0x00007f2e314fe000) libc.so.6 => /lib/libc.so.6 (0x00007f2e3119c000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007f2e30f7f000) /lib64/ld-linux-x86-64.so.2 (0x00007f2e31911000)
(the entry libc.so.6 => ... would be missing if linked statically)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: large .so sizes under x86_64
by perl5ever (Pilgrim) on Apr 08, 2011 at 20:45 UTC | |
by Eliya (Vicar) on Apr 08, 2011 at 22:55 UTC |