This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/17841] Build failure if compiler defaults to PIE
- From: "schwab at linux-m68k dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 02 Mar 2015 11:08:28 +0000
- Subject: [Bug libc/17841] Build failure if compiler defaults to PIE
- Auto-submitted: auto-generated
- References: <bug-17841-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17841
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
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.