[Bug target/47091] non-elf arm targets fail to build

joseph at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Wed Dec 29 11:20:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47091

--- Comment #2 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2010-12-29 11:20:39 UTC ---
arm-netbsd appears unmaintained.  Apart from the desirability of moving 
NetBSD to EABI, there's a clear bogosity in arm/netbsd.h I noticed a while 
back:

/* Although not normally relevant (since by default, all aggregates
   are returned in memory) compiling some parts of libc requires
   non-APCS style struct returns.  */
#undef TARGET_RETURN_IN_MEMORY

That's a target hook, not a macro.  The #define is in arm.c; the #undef 
has no effect.  Presumably a broken conversion from macros to hooks, not 
noticed for lack of anyone using recent GCC for this target.



More information about the Gcc-bugs mailing list