https://sourceware.org/bugzilla/show_bug.cgi?id=22839
Bug ID: 22839 Summary: Several plugin tests FAIL on 32-bit Solaris/SPARC Product: binutils Version: 2.31 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: ro at gcc dot gnu.org Target Milestone: --- Host: sparc-sun-solaris2.11 Target: sparc-sun-solaris2.11 Build: sparc-sun-solaris2.11 When running make check on 32-bit Solaris/SPARC, a couple of plugin tests FAIL: FAIL: load plugin with source FAIL: plugin claimfile lost symbol with source FAIL: plugin claimfile replace symbol with source FAIL: plugin claimfile resolve symbol with source FAIL: plugin claimfile replace file with source FAIL: plugin set symbol visibility with source FAIL: plugin ignore lib with source FAIL: plugin claimfile replace lib with source FAIL: plugin 2 with source lib FAIL: load plugin 2 with source FAIL: load plugin 2 with source and -r FAIL: plugin 3 with source lib FAIL: load plugin 3 with source FAIL: load plugin 3 with source and -r FAIL: PR ld/20070 It's always the same pattern, it seems (for the first one here): Hello from testplugin. tv[0]: LDPT_MESSAGE func@0x1363fc tv[1]: LDPT_API_VERSION value 0x1 (1) tv[2]: LDPT_GNU_LD_VERSION value 0xe6 (230) tv[3]: LDPT_LINKER_OUTPUT value 0x1 (1) tv[4]: LDPT_OUTPUT_NAME 'tmpdir/main.x' tv[5]: LDPT_REGISTER_CLAIM_FILE_HOOK func@0x135d88 tv[6]: LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK func@0x135d48 tv[7]: LDPT_REGISTER_CLEANUP_HOOK func@0x135d08 tv[8]: LDPT_ADD_SYMBOLS func@0x1360c4 tv[9]: LDPT_GET_INPUT_FILE func@0x135c9c tv[10]: LDPT_GET_VIEW func@0x135ef4 tv[11]: LDPT_RELEASE_INPUT_FILE func@0x135c48 tv[12]: LDPT_GET_SYMBOLS func@0x1368d8 tv[13]: LDPT_GET_SYMBOLS_V2 func@0x1368cc tv[14]: LDPT_ADD_INPUT_FILE func@0x135e8c tv[15]: LDPT_ADD_INPUT_LIBRARY func@0x135e24 tv[16]: LDPT_SET_EXTRA_LIBRARY_PATH func@0x135dc8 tv[17]: LDPT_OPTION 'registerclaimfile' tv[18]: LDPT_OPTION 'claim:/vol/src/gnu/binutils/binutils/local/ld/testsuite/ld-plugin/func.c' tv[19]: LDPT_NULL value 0x0 (0) hook called: claim_file tmpdir/main.o [@0/3100] not claimed hook called: claim_file /vol/src/gnu/binutils/binutils/local/ld/testsuite/ld-plugin/func.c [@0/248] CLAIMED /var/gcc/binutils/sparcv7/obj/binutils/ld/ld-new: BFD (GNU Binutils) 2.30.51.20180209 internal error, aborting at /vol/src/gnu/binutils/binutils/local/bfd/elf32-sparc.c:155 in elf32_sparc_final_write_processing /var/gcc/binutils/sparcv7/obj/binutils/ld/ld-new: Please report this bug. At this point, for some reason we have: arch = bfd_arch_unknown, mach = 0, arch_name = 0xef2e0 "unknown", However, when mach is first set, it looks perfectly reasonable: bfd_default_set_arch_mach (abfd=0x21a578, arch=bfd_arch_sparc, mach=1) The same tests all PASS on sparcv9-sun-solaris2.11, btw. Rainer -- 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