From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29969 invoked by alias); 2 Mar 2015 11:08:33 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 29922 invoked by uid 48); 2 Mar 2015 11:08:29 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/17841] Build failure if compiler defaults to PIE Date: Mon, 02 Mar 2015 11:08:00 -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.21 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-03/txt/msg00008.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17841 --- Comment #1 from Andreas Schwab --- On armv7l it also fails: gcc -nostdlib -nostartfiles -static -o /home/abuild/rpmbuild/BUILD/glibc-2.21/cc-base/elf/sln /home/abuild/rpmbuild/BUILD/glibc-2.21/cc-base/csu/crt1.o /home/abuild/rpmbuild/BUILD/glibc-2.21/cc-base/csu/crti.o `gcc --print-file-name=crtbeginT.o` /home/abuild/rpmbuild/BUILD/glibc-2.21/cc-base/elf/sln.o /home/abuild/rpmbuild/BUILD/glibc-2.21/cc-base/elf/static-stubs.o -Wl,--start-group /home/abuild/rpmbuild/BUILD/glibc-2.21/cc-base/libc.a -lgcc /home/abuild/rpmbuild/BUILD/glibc-2.21/cc-base/elf/libgcc-stubs.a -Wl,--end-group `gcc --print-file-name=crtend.o` /home/abuild/rpmbuild/BUILD/glibc-2.21/cc-base/csu/crtn.o /home/abuild/rpmbuild/BUILD/glibc-2.21/cc-base/libc.a(setjmp.o): In function `.L992': (.rodata.cst4+0x0): undefined reference to `_rtld_global_ro' /home/abuild/rpmbuild/BUILD/glibc-2.21/cc-base/libc.a(__longjmp.o): In function `.L992': (.rodata.cst4+0x0): undefined reference to `_rtld_global_ro' collect2: error: ld returned 1 exit status -- You are receiving this mail because: You are on the CC list for the bug.