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)


In reply to Re: large .so sizes under x86_64 by Eliya
in thread large .so sizes under x86_64 by perl5ever

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.