This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: FAIL: Build pr22983 (both x86-64 and aarch64, Gentoo)
- From: Alan Modra <amodra at gmail dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: "Andreas K. Huettel" <dilfridge at gentoo dot org>, binutils at sourceware dot org
- Date: Thu, 14 Jun 2018 10:02:49 +0930
- Subject: Re: FAIL: Build pr22983 (both x86-64 and aarch64, Gentoo)
- References: <2219867.r4AeEGVMB2@pinacolada> <2428282.NpoMclkeLB@pinacolada> <6a222f63-e995-20ce-2eaa-b95123e96641@redhat.com> <4420554.udT5k24jnU@pinacolada> <17ca6fc1-9695-6d26-14ec-159d74e121d4@redhat.com>
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