I more suspect gcc-4.1.1. I currently build perl on HP-UX 11.23/pa with gcc-4.2.1 (when building with gcc).

The perl from which the -V is shown is a 32bit perl. I agree that -e should not fail, but it means that you cannot address the region beyond 2G unless you're reding it as a stream. Offsets to seek () and such still are 32bit only. I see more and more use for 64bit perls on 11i v2 all along the line. I only use 64bit perl on 11i v1 and up (still on 32bit perl on 10.20 and 11.00)

Do not build 64bit perl with gcc-4 on 11.11. Maybe 4.2.1 has the issues fixed by now, but otherwise you are heading for trouble.

The 64bit perl I have running on 11.23/pa does not have -D_FILE_OFFSET_BITS=64 defined, but I build with HP C-ANSI-C and -Ae


Enjoy, Have FUN! H.Merijn

In reply to Re^4: File test (-e) fails on files > 2G, uselargefiles=define by Tux
in thread File test (-e) fails on files > 2G, uselargefiles=define by perlofwisdom

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.