From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7EE5A388F400; Tue, 5 May 2020 21:16:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7EE5A388F400 From: "joseph at codesourcery dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25920] cross-compiling for ARM target fails at linking ld.so.new if THUMB used Date: Tue, 05 May 2020 21:16:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 21:16:57 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D25920 --- Comment #10 from joseph at codesourcery dot com --- On Tue, 5 May 2020, piotr.oniszczuk at gmail dot com via Glibc-bugs wrote: > https://sourceware.org/bugzilla/show_bug.cgi?id=3D25920 >=20 > --- Comment #9 from Piotr Oniszczuk --- > (In reply to joseph@codesourcery.com from comment #8) > > On Tue, 5 May 2020, piotr.oniszczuk at gmail dot com via Glibc-bugs wro= te: > >=20 > > > Ok. So when you are writing: "Options wanted for all languages should= go in CC" > > > - what exactly do you mean in terms of configure supplied params? > >=20 > > CC=3D"-gcc -mthumb -march=3Darmv7 -mfloat-abi=3Dsoft", for exam= ple. >=20 > Ah yes! I already tries exactly this and this makes glibc build failing q= uite > early at assembling with assembler :-( So look at that failure, because putting the options in CC is the right=20 way to build glibc with custom compiler options. One other thing to note: you have to use armv7-a, not armv7; v7-R and v7-M= =20 aren't supported for normal GNU/Linux (with MMU) userspace. --=20 You are receiving this mail because: You are on the CC list for the bug.=