https://sourceware.org/bugzilla/show_bug.cgi?id=18636
Bug ID: 18636 Summary: Relocation agains protected symbol can not be used when making a shared object Product: binutils Version: 2.26 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: dilyan.palauzov at aegee dot org Target Milestone: --- Created attachment 8419 --> https://sourceware.org/bugzilla/attachment.cgi?id=8419&action=edit The environment, where the linking fails. When I unpack the attached file, and do make, I get the error: relocation R_X86_64_PC32 against protected symbol `_ULx86_64_local_addr_space' can not be used when making a shared object I use ld 2.25.51.20150707, gcc 4.9.3, CFLAGS=-O3 -flto -pipe -fno-fat-lto-objects, LDFLAGS=-Wl,-s -Wl,z,relro -Wl,-O1 . LTO, or libunwind? gold from today links without problems. That's why I think the problem is not in LTO, GCC or libunwind. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils