FAIL: Build pr22983 (both x86-64 and aarch64, Gentoo)
Alan Modra
amodra@gmail.com
Thu Jun 14 00:32:00 GMT 2018
On Tue, Jun 12, 2018 at 01:26:57PM +0100, Nick Clifton wrote:
> PR 22983
> * testsuite/ld-plugin/lto.exp: Use individual tests to check for
> the presence of each expected symbol.
> * testsuite/ld-plugin/pr22983.1.d: New file.
> * testsuite/ld-plugin/pr22983.2.d: New file.
> * testsuite/ld-plugin/pr22983.3.d: New file.
> * testsuite/ld-plugin/pr22983.4.d: New file.
We are likely going to see more of this sort of problem. The order of
symbols in .dynsym depends on a hash table traversal over the main
linker symbol table. (See _bfd_elf_link_renumber_dynsyms.) Since the
table entry occupied by a symbol depends on its hash and the table
size, the order can change with different symbol versions (not the
case here as we aren't testing libc symbols) or when the table is
resized. I suspect the latter has occurred due to changes in the
system libraries.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list