bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/22839] New: Several plugin tests FAIL on 32-bit Solaris/SPARC


From: ro at gcc dot gnu.org
Subject: [Bug ld/22839] New: Several plugin tests FAIL on 32-bit Solaris/SPARC
Date: Mon, 12 Feb 2018 15:23:48 +0000

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 address@hidden
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 address@hidden
tv[6]: LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK address@hidden
tv[7]: LDPT_REGISTER_CLEANUP_HOOK address@hidden
tv[8]: LDPT_ADD_SYMBOLS address@hidden
tv[9]: LDPT_GET_INPUT_FILE address@hidden
tv[10]: LDPT_GET_VIEW address@hidden
tv[11]: LDPT_RELEASE_INPUT_FILE address@hidden
tv[12]: LDPT_GET_SYMBOLS address@hidden
tv[13]: LDPT_GET_SYMBOLS_V2 address@hidden
tv[14]: LDPT_ADD_INPUT_FILE address@hidden
tv[15]: LDPT_ADD_INPUT_LIBRARY address@hidden
tv[16]: LDPT_SET_EXTRA_LIBRARY_PATH address@hidden
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 address@hidden/3100] not claimed
hook called: claim_file
/vol/src/gnu/binutils/binutils/local/ld/testsuite/ld-plugin/func.c 
address@hidden/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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]