This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, IA64] Fix building a bare-metal ia64 compiler


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]