This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: 19990117 snapshot bootstrap dies in libstdc++ HPUX10.20



  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]