[Patch] Fix libstdc++/12778
Paolo Carlini
pcarlini@suse.de
Sun Oct 26 14:47:00 GMT 2003
Hi,
currently, we really support LFS only for glibc: the latter makes
everything *so* simple, since _GNU_SOURCE, defined anyway, implicitly
makes 64 bit operations visible. HP-UX actually has fopen64 and lseek64
in its libc but would need appropriate defines (i.e., _FILE_OFFSET_BITS=64)
which currently we are not prepared to pass.
The autoconf test had an error in it: it was using the C compiler instead
of the C++ compiler and HP-UX had _GLIBCXX_USE_LFS defined my mistake,
thus leading to a bootstrap error when fopen64 and lseek64 tourned out
to be not really visible at build time.
I'm quite confident that the below is the right fix, but would appreciate
if Rodney could bootstrap it.
Tested x86-linux.
Paolo.
//////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_12778
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20031026/08e025aa/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_12778
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20031026/08e025aa/attachment-0001.ksh>
More information about the Libstdc++
mailing list