cross question on egcs pre-1.1 testing
Ralf Corsepius
corsepiu@faw.uni-ulm.de
Fri Aug 28 09:56:00 GMT 1998
Ralf Corsepius wrote:
> joel@OARcorp.com wrote:
>
> > On Thu, 27 Aug 1998, Ralf Corsepius wrote:
> >
> > > Jeffrey A Law wrote:
> > >
> > > > In message < Pine.LNX.3.96.980824141127.12612m-100000@oar3remote.oarcorp.com >you write:
> > > >
> > > > > I am in the process now of building all the RTEMS configurations using
> > > > > egcs-19980816 for C and C++. If they all build without problems, I
> > > > > am thinking about doing it again and include the other languages.
> > > > Cool.
> > >
> > > It will fail for the SH, while building for the SH3E:
> >
> > This is the only failure for any of the *-rtems configurations in
> > egcs-19980816.
>
> Try to enable the networking code or posix-support in rtems and you will get even more
> compiliation break-downs caused by egcs-bugs, even for the SH1.
>
> IMO, egcs/gcc's backend for the SH contains some severe bugs. However, I've not yet been able
> to build isolated test cases to demonstrate these bugs. I guess there is something strange going
> on in the backend if egcs/gcc fails to find free, unused registers.
To follow up my own post:
egcs-980824 fails to compile rtems' c/src/lib/libnetworking/netinet/if_input.c for the SH1 (!!) if
trying to compile it with -O2 or greater:
/opt/gnu/bin/sh-rtems-gcc --pipe -m1 -Wall -ansi -fasm -g
-B/lfs/poseidon/users/rtems/build/sh-rtems/gensh1/lib/ -specs bsp_specs -qrtems
-I/lfs/poseidon/users/rtems/build/sh-rtems/gensh1/lib/include/networking -D_COMPILING_BSD_KERNEL_
-DKERNEL -DINET -DNFS -DDIAGNOSTIC -DBOOTP_COMPAT -O2 -Wno-unused -qrtems_debug -c -o
o-gensh1-debug/ip_input.o /users/rtems/src/rtems-980824/c/src/lib/libnetworking/netinet/ip_input.c
cpp: output pipe has been closed
{standard input}: Assembler messages:
{standard input}:2367: Warning: end of file not at end of a line; newline inserted
sh-rtems-gcc: Internal compiler error: program cc1 got fatal signal 11
make[2]: *** [o-gensh1-debug/ip_input.o] Error 1
make[1]: *** [debug] Error 2
make: *** [debug] Error 1
{standard input}:3916: Error: Unknown pseudo-op: `.lo'
Ralf
--
Ralf Corsepius
Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung (FAW)
Helmholtzstr. 16, 89081 Ulm, Germany Tel: +49/731/501-8690
mailto:corsepiu@faw.uni-ulm.de FAX: +49/731/501-999
http://www.faw.uni-ulm.de
More information about the Gcc
mailing list