This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-971127 hppa1.1-hp-hpux9.01 results
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: egcs-971127 hppa1.1-hp-hpux9.01 results
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 30 Nov 1997 19:27:27 -0700
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
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