This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-2.95.3, but not gcc-2.95.2, requires gas on hppa2.0-hp-hpux10.20
- To: martin at xemacs dot org (Martin Buchholz)
- Subject: Re: gcc-2.95.3, but not gcc-2.95.2, requires gas on hppa2.0-hp-hpux10.20
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Tue, 23 Jan 2001 01:31:05 -0500 (EST)
- Cc: gcc-bugs at gcc dot gnu dot org, bernds at redhat dot com
> Dave> My first guess would be a mismatch in bison version.
>
> It is a gcc release engineering bug if bison (or yacc) is ever invoked
> when building the release tarball (as opposed to CVS extracts.) The
> architecture-independent bison output should be pre-built.
Agreed. However, this wouldn't be the first time that there were problems
with timestamps.
> Dave> I recommend the latest binutils for the assembler (configure
> Dave> with --with-gnu-as).
>
> I reran the build. Here is what I get this time:
>
> make[3]: Entering directory `/usr/local/xemacs/gcc-2.95.3/gcc'
> ./xgcc -B/usr/local/hppa2.0-hp-hpux10.20/bin/ -B./ -I/usr/local/hppa2.0-hp-hpux10.20/include -O2 -DIN_GCC -DHAIFA -O2 -O2 -I./include -fPIC -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -O2 -I. -I/project/xemacs/import/gcc-2.95.3.test2/gcc -I/project/xemacs/import/gcc-2.95.3.test2/gcc/config -I/project/xemacs/import/gcc-2.95.3.test2/gcc/../include \
> -c /project/xemacs/import/gcc-2.95.3.test2/gcc/cp/tinfo.cc
> cc1plus: warning: -g is only supported when using GAS on this processor,
> cc1plus: warning: -g option disabled.
> as: error 7403: undefined label - L$0175 (7403)
>
> It does seem like a gasism has infected the generated assembler code.
It should be relatively simple to find out what is wrong here. Generate
the assembler code and see what has caused the undefined label.
> To test this hypothesis, I built a binutils-2.10 for my
> hppa2.0-hp-hpux10.20 system, and then retried bootstrapping
> gcc-2.95.3.test2 again, adding --with-as=/path/to/as to the
> configure command.
There are issues with weak support in binutils-2.10. This may affect
g++.
> In any case, if HP-UX as is not supported, configure should let the
> user know.
HP as is supposed to be ok but clearly more testing is needed.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)