From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26515 invoked by alias); 29 Mar 2011 15:23:28 -0000 Received: (qmail 26503 invoked by uid 22791); 29 Mar 2011 15:23:27 -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; Tue, 29 Mar 2011 15:23:23 +0000 From: "ibolton at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/48308] crosscompiling to arm fails with assembler: can't resolve '.LC4' {.rodata.str1.1 section} - '.LPIC4' {*UND* section} X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: assemble-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: ibolton at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Last reconfirmed CC Known to work Ever Confirmed Known to fail 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: Tue, 29 Mar 2011 15:44: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: 2011-03/txt/msg03025.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48308 Ian Bolton changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2011.03.29 15:23:12 CC| |ibolton at gcc dot gnu.org Known to work| |4.4.5, 4.5.2 Ever Confirmed|0 |1 Known to fail| |4.6.0, 4.7.0 --- Comment #6 from Ian Bolton 2011-03-29 15:23:12 UTC --- Using trunk, r171422, I have compiled the reduced test case as follows: arm-none-linux-gnueabi-gcc -fPIC -Os -c pr48308.c -mcpu=arm9tdmi -marm pr48308.s: Assembler messages: pr48308.s:97: Error: can't resolve `.LC4' {.rodata.str1.1 section} - `.LPIC4' {*UND* section} With --save-temps, you can see the missing .LPIC4 in the .s. This is therefore confirmed in trunk as well. FYI: the problem doesn't happen with -mthumb.