Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 681930

Summary: sys-libs/glibc-2.29-r1 - ld: /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/crtbegin.o: relocation R_X86_64_32 against hidden symbol `__TMC_END__' can not be used when making a PIE object
Product: Gentoo Linux Reporter: Helmut Jarausch <jarausch>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log xz-compressed
emerge --info

Description Helmut Jarausch 2019-03-28 14:48:42 UTC
Created attachment 571044 [details]
build log  xz-compressed

Building glibc-2.29-r1 fails due to
ld: /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/crtbegin.o: relocation R_X86_64_32 against hidden symbol `__TMC_END__' can not be used when making a PIE object
Comment 1 Helmut Jarausch 2019-03-28 14:49:27 UTC
Created attachment 571046 [details]
emerge --info
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2019-03-28 23:02:16 UTC
This is a result of adding -fPIC into CFLAGS. It's not a safe flag to add (especially to glibc).

*** This bug has been marked as a duplicate of bug 664340 ***