[Bug bootstrap/12022] arm-coff build is broken: dies on crtstuff.c with #error
wilson at specifixinc dot com
gcc-bugzilla@gcc.gnu.org
Tue Oct 14 01:59:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12022
------- Additional Comments From wilson at specifixinc dot com 2003-10-14 01:59 -------
Subject: Re: arm-coff build is broken: dies on crtstuff.c
with #error
pinskia at gcc dot gnu dot org wrote:
> Both INIT_SECTION_ASM_OP and HAS_INIT_SECTION are not defined which means it should not be
> building crtstuff.c at all.
gcc/config/arm/t-arm-coff has the line
EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o
which is bogus. We don't build these for coff targets.
This looks like some kind of merging or cut&paste error. The
gcc-patches message from Richard Earnshaw mentions that this came from
merging in the new arm/thumb port in Apr 2000.
The problem wasn't noticed at the time because the #error in crstuff.c
was added in Aug 2001.
The same problem was in the t-xscale-coff file, which Nick Clifton fixed
in Dec 2001.
This should be fixed simply by deleting the EXTRA_MULTILIB_PARTS line.
I see that the t-strongarm-pe file has the same line. I suspect that
one is also broken in the same way, and needs the same fix.
More information about the Gcc-bugs
mailing list