This is the mail archive of the gcc@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: OSR 5 bootstrap fails.



This is what Robert Lipe's and my earlier emails were about.
I have now disabled the hpux8_bogus_inlines hackery for SCO only.
I strongly believe that it is more appropriate to constrain
this fix to HPUX.  The text in question is this:

  sed = "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@";
  sed = "s@inline double abs(double [a-z][a-z]*) {.*}@@";
  sed = "s@inline int sqr(int [a-z][a-z]*) {.*}@@";
  sed = "s@inline double sqr(double [a-z][a-z]*) {.*}@@";

This deletes the inline code for all /usr/include/math.h headers.
There is apparently some problem with these definitions
for HPUX, but it is not clear why it is necessary to make
all other installations suffer the consequences.  For the
moment, I have added:

  bypass   = 'The Santa Cruz Operation';

Which means our stuff is free from this hack  :-).
Better suggestions are kindly solicited.

Jean-Pierre Radley wrote:
[ a duplicate report - sorry it was necessary ]-:

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