[Bug ld/26815] Unnecessary error on linking STV_PROTECTED library: relocation R_X86_64_PC32 against protected symbol `f' can not be used when making a shared object

2022-05-24 Thread thiago at kde dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26815 --- Comment #10 from Thiago Macieira --- (In reply to H.J. Lu from comment #9) > Should this be closed by -mno-direct-extern-access change in GCC? Yes. making that the default and getting rid of copy relocations would be better, though. --

[Bug ld/26815] Unnecessary error on linking STV_PROTECTED library: relocation R_X86_64_PC32 against protected symbol `f' can not be used when making a shared object

2022-05-24 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26815 --- Comment #9 from H.J. Lu --- Should this be closed by -mno-direct-extern-access change in GCC? -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/29149] spidermonkey-91 fails to link with: ../12.1.0/include/g++-v12/typeinfo:115: undefined reference to `std::type_info::operator==(std::type_info const&) const'

2022-05-24 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29149 --- Comment #3 from Alan Modra --- The first thing I'd be verifying is that you are linking against the correct libstdc++. Try adding -Wl,-t to the link command line, then examine the libstdc++.so shown. -- You are receiving this mail becau