This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/17841] Build failure if compiler defaults to PIE


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]