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: egcs-971127 hppa1.1-hp-hpux9.01 results



  In message <199711291709.MAA28369@caip.rutgers.edu>you write:
  > PS:     I think at least some (many?) of the "make check" errors for
  > libio, libstdc++ and g++ are due to the testsuite passing -g and
  > getting a warning "cc1plus: warning: -g is only supported when using
  > GAS on this processor".
And here's the appropriate magic to add to target.exp to filter out
those warnings too.

    # When using the HP assembler, -g isn't supported.
    regsub -all "(^|\n)(cc1: warning: -g is only supported when using GAS on this processor\[^\n\]*\ncc1: warning:\[^\n\]*\n?)+" $text "\\1" text
    regsub -all "(^|\n)(cc1plus: warning: -g is only supported when using GAS on this processor\[^\n\]*\ncc1plus: warning:\[^\n\]*\n?)+" $text "\\1" text


However, to get accurate g++ results (or even a g++ compiler that
works) you're going to need to add -fexceptions to the command
line because of the dumb linker on hpux9 core dumping on having a
local label in a .word pseudo-op.

At this point I'm not sure what else can be done to make the hpux9
toolchain happy when using the HP assembler.


jeff


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