This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: 19990117 snapshot bootstrap dies in libstdc++ HPUX10.20
- To: "Jerry Quinn" <jquinn at nortelnetworks dot com>
- Subject: Re: PATCH: 19990117 snapshot bootstrap dies in libstdc++ HPUX10.20
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sat, 23 Jan 1999 02:08:11 -0700
- cc: egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
In message <36A8A5C5.7AD85143@americasm01.nt.com>you write:
> I'm trying to bootstrap the latest snapshot on hppa2.0-hp-hpux10.20. I
> get the following problem with cmath in libstdc++. Adding
> MATH_H_INLINES=1 to G_CONFIG_ARGS in libio/config/hpux.mt fixes it for
> me. Does this sound reasonable? I've included the error and a patch.
Odd. I built on hpux10.20 just the other day and didn't run into these
problems.
> ../../../../src/libstdc++/cmath:42: redefinition of `double abs(double)'
> /usr/include/math.h:482: `double abs(double)' previously defined here
Hmmm, something wrong here since you should be getting a fixed math.h from
the gcc/include directory, not /usr/include/math.h.
I think that's the real problem we need to look at -- why aren't you getting
the right math.h file.
jeff