From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19940 invoked by alias); 29 Dec 2010 11:20:52 -0000 Received: (qmail 19932 invoked by uid 22791); 29 Dec 2010 11:20:52 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 29 Dec 2010 11:20:48 +0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/47091] non-elf arm targets fail to build X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 29 Dec 2010 11:20:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-12/txt/msg02846.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47091 --- Comment #2 from 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.