[Patch draft] Fix libstdc++/8610

Paolo Carlini pcarlini@unitus.it
Tue Oct 21 12:49:00 GMT 2003


Andreas Jaeger wrote:

>Non-glibc platforms, e.g. AIX, Solaris, or platforms using newlib.
>
I see... Therefore, if I understand you remark, for those platforms
it can happen (in principle) that the implicit -D_GNU_SOURCE doesn't
suffice to make the compilation of the autoconf test for lseek64
succeed and LFS would be disabled...

I think we can live with that, for the time being...

As a second step, we can make sure lseek64 is properly recognized
also on all the non-glibc platforms. Probably, this implies building
the whole library -D_LARGEFILE64_SOURCE, perhaps, making also sure
that, implicitly or explicitly, the user too passes
-D_LARGEFILE64_SOURCE...

Paolo.



More information about the Libstdc++ mailing list