public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/17841] New: Build failure if compiler defaults to PIE
@ 2015-01-14 16:39 hjl.tools at gmail dot com
  2015-03-02 11:08 ` [Bug libc/17841] " schwab@linux-m68k.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: hjl.tools at gmail dot com @ 2015-01-14 16:39 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17841

            Bug ID: 17841
           Summary: Build failure if compiler defaults to PIE
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
                CC: drepper.fsp at gmail dot com

If compiler defaults to PIE, build fails with

/export/build/gnu/gcc-pie/release/usr/gcc-5.0.0/bin/gcc -nostdlib -nostartfiles
-o /export/build/gnu/glibc-pie/build-x86_64-linux/io/pwd    -Wl,-z,combreloc
-Wl,-z,relro -Wl,--hash-style=both
/export/build/gnu/glibc-pie/build-x86_64-linux/csu/crt1.o
/export/build/gnu/glibc-pie/build-x86_64-linux/csu/crti.o
`/export/build/gnu/gcc-pie/release/usr/gcc-5.0.0/bin/gcc 
--print-file-name=crtbegin.o`
/export/build/gnu/glibc-pie/build-x86_64-linux/io/pwd.o 
-Wl,-dynamic-linker=/lib64/ld-linux-x86-64.so.2
-Wl,-rpath-link=/export/build/gnu/glibc-pie/build-x86_64-linux:/export/build/gnu/glibc-pie/build-x86_64-linux/math:/export/build/gnu/glibc-pie/build-x86_64-linux/elf:/export/build/gnu/glibc-pie/build-x86_64-linux/dlfcn:/export/build/gnu/glibc-pie/build-x86_64-linux/nss:/export/build/gnu/glibc-pie/build-x86_64-linux/nis:/export/build/gnu/glibc-pie/build-x86_64-linux/rt:/export/build/gnu/glibc-pie/build-x86_64-linux/resolv:/export/build/gnu/glibc-pie/build-x86_64-linux/crypt:/export/build/gnu/glibc-pie/build-x86_64-linux/nptl
/export/build/gnu/glibc-pie/build-x86_64-linux/libc.so.6
/export/build/gnu/glibc-pie/build-x86_64-linux/libc_nonshared.a -Wl,--as-needed
/export/build/gnu/glibc-pie/build-x86_64-linux/elf/ld.so -Wl,--no-as-needed
-lgcc  `/export/build/gnu/gcc-pie/release/usr/gcc-5.0.0/bin/gcc 
--print-file-name=crtend.o`
/export/build/gnu/glibc-pie/build-x86_64-linux/csu/crtn.o
/usr/local/bin/ld: /export/build/gnu/glibc-pie/build-x86_64-linux/csu/crt1.o:
relocation R_X86_64_32S against `__libc_csu_fini' can not be used when making a
shared object; recompile with -fPIC
/export/build/gnu/glibc-pie/build-x86_64-linux/csu/crt1.o: error adding
symbols: Bad value
collect2: error: ld returned 1 exit status

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-06-25  9:51 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-14 16:39 [Bug libc/17841] New: Build failure if compiler defaults to PIE hjl.tools at gmail dot com
2015-03-02 11:08 ` [Bug libc/17841] " schwab@linux-m68k.org
2015-03-03 16:30 ` cvs-commit at gcc dot gnu.org
2015-03-06 16:53 ` cvs-commit at gcc dot gnu.org
2015-03-06 21:30 ` cvs-commit at gcc dot gnu.org
2015-03-06 23:49 ` cvs-commit at gcc dot gnu.org
2015-03-06 23:56 ` cvs-commit at gcc dot gnu.org
2015-03-07  1:10 ` cvs-commit at gcc dot gnu.org
2015-03-07 14:04 ` cvs-commit at gcc dot gnu.org
2015-03-07 14:26 ` cvs-commit at gcc dot gnu.org
2015-05-28 13:11 ` cvs-commit at gcc dot gnu.org
2015-05-28 15:02 ` vapier at gentoo dot org
2015-06-25  9:51 ` cvs-commit at gcc dot gnu.org
2015-06-25  9:51 ` hjl.tools at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).