https://sourceware.org/bugzilla/show_bug.cgi?id=26928
Bug ID: 26928 Summary: [2.35 regression] -Bsymbolic-functions --dynamic-list does not imply --dynamic-list-data any more Product: binutils Version: 2.36 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: binutils-972305 at jspam dot de Target Milestone: --- Created attachment 12988 --> https://sourceware.org/bugzilla/attachment.cgi?id=12988&action=edit test.cpp, reduced from Qt qbytearray.cpp Since the following commit: commit bb68f22c8e648032a0d1c1d17353eec599ff5e6a Author: Fangrui Song <mask...@google.com> Date: Wed May 20 18:31:39 2020 -0700 ld: Handle --dynamic-list* before -Bsymbolic -Bsymbolic-functions there has been a behavior change when linking with "-Bsymbolic-functions --dynamic-list" To reproduce, use the attached test.cpp and dummy.dynlist and run: g++-9 -fPIC test.cpp -shared -Wl,-Bsymbolic-functions -Wl,--dynamic-list dummy.dynlist && objdump -R a.out | grep 'R_X86_64_GLOB_DAT.*_ZN1A10sharedDataE@@Base' ld before the change (309cae1f7b): match ld HEAD (abd20cb637): no match gold HEAD (abd20cb637): match ld HEAD (abd20cb637) when additionally specifying --dynamic-list-data: match -> It seems that -Bsymbolic-functions used to imply --dynamic-list-data, but after the change does not any more. The change was found when debugging a regression when compiling Qt 4 (qbytearray.cpp). -- You are receiving this mail because: You are on the CC list for the bug.