This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, IA64] Fix building a bare-metal ia64 compiler
- From: Bernd Schmidt <bschmidt at redhat dot com>
- To: Bernd Edlinger <bernd dot edlinger at hotmail dot de>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: Steve Ellcey <sellcey at imgtec dot com>, Ian Lance Taylor <ian at airs dot com>
- Date: Wed, 16 Dec 2015 00:55:27 +0100
- Subject: Re: [PATCH, IA64] Fix building a bare-metal ia64 compiler
- Authentication-results: sourceware.org; auth=none
- References: <HE1PR07MB09059C5F30955C086E3B3333E4EE0 at HE1PR07MB0905 dot eurprd07 dot prod dot outlook dot com>
On 12/15/2015 10:13 PM, Bernd Edlinger wrote:
due to recent discussion on the basic asm, and the special handling
of ASM_INPUT in ia64, I tried to build a bare-metal cross-compiler
for ia64, but that did not work, because it seems to be impossible to
build it without having a stdlib.h.
Actually David Howells has complained to me about this as well, it seems
to be a problem when building a toolchain for kernel compilation.
With the attached patch, I was finally able to build the cross
compiler, by declaring abort in the way as it is done already in many
other places at libgcc.
Can you just use __builtin_abort ()? Ok with that change.
Bernd