This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FAIL: Build pr22983 (both x86-64 and aarch64, Gentoo)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]