[Fwd: Re: Switch SPARC GNU coreutils+bash from 32 to 64bit [PSARC/2008/351]

I. Szczesniak iszczesniak at gmail.com
Mon Jun 2 12:09:23 PDT 2008


On 6/2/08, James Carlson <james.d.carlson at sun.com> wrote:
> Alan Coopersmith writes:
>  > Richard L. Hamilton wrote:
>  > >> I can think of three main categories of capacity limits on 32-bit that
>  > >> might
>  > >> be higher on 64-bit:
>  > >> * file size max of 2GB
>  > >> * register size and usage
>  > >> * available address space, and therefore amount that can be mmap()'d
>  > >> at once
>  > >> (Also, IIRC stdio is supposed to handle > 256 file pointers on 64-bit.)
>  >
>  > Yes, the 256 FILE stdio limit is lifted in 64-bit.   The other main
>
>
> It's also lifted if you call enable_extended_FILE_stdio(3C), use the
>  extendedFILE.so.1 preload, or 'F' is used as the last character in the
>  fopen(3C) mode string.

FYI, enable_extended_FILE_stdio(3C) is incompatible to many
applications, including coreutil. Using a FD > 256 crashes such
applications.

Irek



More information about the opensolaris-arc mailing list