This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] Fix libstdc++/12778
- From: rdbrown at mira dot net
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Tue, 28 Oct 2003 10:00:49 +1100
- Subject: Re: [Patch] Fix libstdc++/12778
- References: <3F9BDEA0.2070101@suse.de>
On Sun, Oct 26, 2003 at 03:48:00PM +0100, Paolo Carlini wrote:
> 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.
Bootstrapped hppa2.0n-hp-hpux11.00 without problems, testsuite now running.
Thanks.
> Tested x86-linux.
> Paolo.
> //////////
> 2003-10-26 Paolo Carlini <pcarlini@suse.de>
> PR libstdc++/12778
> * acinclude.m4 (GLIBCXX_CHECK_LFS): Use the C++ compiler.
> * aclocal.m4: Regenerate.
> * configure: Regenerate.