https://sourceware.org/bugzilla/show_bug.cgi?id=33209
Bug ID: 33209 Summary: Additional GLIBC_2.36 reference in glibc built objects with binutils 2.45 Product: binutils Version: 2.45 Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: carlos at redhat dot com Target Milestone: --- 1. Build binutils master branch, and install locally. 2. Build glibc master branch with binutils build from step 1. 3. Inspect nptl_db/libthread_db.so.1 and notice the following: (a) It has a GLIBC_2.36 reference. Version needs section '.gnu.version_r' contains 1 entry: Addr: 0x0000000000001030 Offset: 0x00001030 Link: 5 (.dynstr) 000000: Version: 1 File: libc.so.6 Cnt: 2 0x0010: Name: GLIBC_2.36 Flags: none Version: 6 0x0020: Name: GLIBC_2.2.5 Flags: none Version: 5 (b) None of the objects involved in the link referenced any symbols from GLIBC_2.36. (c) Walking the list of all objects used in the link shows none of them have GLIBC_2.36 references. I can't find any reference to GLIBC_2.36. This spruious GLIBC_2.36 reference also shows up in: * locale/libBrokenLocale.so.1 Version needs section '.gnu.version_r' contains 1 entry: Addr: 0x0000000000000570 Offset: 0x00000570 Link: 5 (.dynstr) 000000: Version: 1 File: libc.so.6 Cnt: 3 0x0010: Name: GLIBC_2.36 Flags: none Version: 5 0x0020: Name: GLIBC_ABI_DT_RELR Flags: none Version: 4 0x0030: Name: GLIBC_2.2.5 Flags: none Version: 3 * Iconv converters e.g. iconvdata/UTF-16.so Version needs section '.gnu.version_r' contains 1 entry: Addr: 0x0000000000000628 Offset: 0x00000628 Link: 5 (.dynstr) 000000: Version: 1 File: libc.so.6 Cnt: 4 0x0010: Name: GLIBC_2.36 Flags: none Version: 5 0x0020: Name: GLIBC_ABI_DT_RELR Flags: none Version: 4 0x0030: Name: GLIBC_PRIVATE Flags: none Version: 3 0x0040: Name: GLIBC_2.2.5 Flags: none Version: 2 In discussing this with Nick Clifton he noted that removing `-Wl,-z,mark-plt` removes the GLIBC_2.36 reference. Next steps would be to review why that option makes a difference here. -- You are receiving this mail because: You are on the CC list for the bug.