From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32008 invoked by alias); 18 Sep 2012 23:30:40 -0000 Received: (qmail 31998 invoked by uid 22791); 18 Sep 2012 23:30:39 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED 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; Tue, 18 Sep 2012 23:30:26 +0000 From: "hp at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/54584] m68k-uclinux error: Link tests are not allowed after GCC_NO_EXECUTABLES Date: Tue, 18 Sep 2012 23:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: hp at gcc dot gnu.org 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 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: 2012-09/txt/msg01376.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54584 --- Comment #5 from Hans-Peter Nilsson 2012-09-18 23:30:23 UTC --- This seems to be just a problem with flawed elf2flt linker placement of orphaned sections. But, I can't find where -elf2flt is handled in FSF binutils; you need to talk to whomever is in charge of the local uclinux linker patches. For a linker fix, either add a "${RELOCATING+*(.tm_clone_table)}" in the .text or .data output section of the default linker script or improve the elf2flt orphaned section placement, similar to what I did in as a partial fix for PR54373. (It fixes the main problem, but I found others.) Generic ELF already has good enough orphaned-section placement that no real ELF target has any problem with .tm_clone_table actually being an orphaned section for all targets. Of course, an alternative is to cover up by disabling transactional memory, likely the most pragmatic solution; I'm guessing TM is of little interest to uclinux targets. :)