This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Largefile problem with gcc3.0.2
- To: wilf at techco dot ab dot ca
- Subject: Re: Largefile problem with gcc3.0.2
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Fri, 2 Nov 2001 16:36:44 -0500
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <3BDF0D3E.81B96FA@techco.ab.ca>
On Tue, Oct 30, 2001 at 01:27:42PM -0700, wilf@techco.ab.ca wrote:
> I commonly access binary data files > 2 Gig's and have been enabling large
> file support using -D_FILE_OFFSET_BITS=64. I've found that if I add the
> line #include <fstream> to a c++ source file, but mix this with a call to
> fopen, largefile support disappears (nm shows fopen being referenced in the
> object rather than fopen64). My operating system is Solaris 2.8.
Yup. Could you please submit a PR into the GNATS database, so that this
won't get lost? You can use the 'gccbug' command to do it via email
(read the manual first), or the web interface at
http://gcc.gnu.org/bugs.html
The category is libstdc++. Because it's a library bug, ignore the
instructions about preprocessed output; give us the straight source code
as it was in your email.
This is a tricky one... I'll add more information as I find it.
Thanks,
Phil
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams