[Ace-users] [ace-users] Large File Support with Solaris
Johnny Willemsen
jwillemsen at remedy.nl
Mon Dec 3 12:55:05 CST 2007
Hi,
When you build ACE you should also enabled large file support.
Regards,
Johnny Willemsen
Remedy IT
Postbus 101
2650 AC Berkel en Rodenrijs
The Netherlands
www.theaceorb.nl / www.remedy.nl
*** Integrated compile and test statistics see
http://scoreboard.theaceorb.nl ***
*** Commercial service and support for ACE/TAO/CIAO ***
*** See http://www.theaceorb.nl/en/support.html ***
<joeymink at gmail.com> wrote in message
news:<eb20fad3-cfb4-4cea-9f78-4a19fe4917c8 at i12g2000prf.googlegroups.com>...
>
> ACE VERSION: 5.5.7
>
> HOST MACHINE and OPERATING SYSTEM:
> x86 Sun Solaris 5.8
>
> TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
> COMPILER NAME AND VERSION (AND PATCHLEVEL):
> gcc/g++ 4.1.2
>
> THE $ACE_ROOT/ace/config.h FILE:
> auto-generated config script
>
> THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE
> auto-generated config script
>
> CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/
> default.features:
>
> AREA/CLASS/EXAMPLE AFFECTED:
> ACE File IO wrappers.
>
> DOES THE PROBLEM AFFECT:
> COMPILATION? no
> LINKING? no
> EXECUTION? yes
>
> SYNOPSIS:
> Our ACE-dependent application opens an output file stream using the
> ACE file i/o wrappers, and when we try to write a file greater than 2
> Gb, we get errno 27 (which implies that the size of the file is too
> large).
>
> DESCRIPTION:
> We believe it's the application's lack of large file support. Is it
> necessary to configure/compile ACE to explicitly support large files
> on this platform? I believe we need to set the -D_LARGEFILE_SOURCE
> and -D_FILE_OFFSET_BITS=64 when we compile our app. But we wanted to
> be sure that ACE didn't need any particular settings as well.
>
> REPEAT BY:
> Simply opened a new file and wrote until the offset neared 2
> gigabytes.
>
> SAMPLE FIX/WORKAROUND:
> None yet...
>
> Thanks in advance for any replies.
More information about the Ace-users
mailing list