This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
BFD internal errors in *_finish_dynamic_symbol
- From: Joseph Myers <joseph at codesourcery dot com>
- To: <binutils at sourceware dot org>
- Cc: <egeyar dot bagcioglu at oracle dot com>, <jiong dot wang at arm dot com>
- Date: Thu, 29 Jun 2017 21:23:54 +0000
- Subject: BFD internal errors in *_finish_dynamic_symbol
- Authentication-results: sourceware.org; auth=none
Building the glibc testsuite, test elf/ifuncmain1staticpie, I see the
following BFD internal errors on AArch64 and SPARC64:
/scratch/jmyers/glibc-bot/install/compilers/aarch64-linux-gnu/lib/gcc/aarch64-glibc-linux-gnu/8.0.0/../../../../aarch64-glibc-linux-gnu/bin/ld:
BFD (GNU Binutils) 2.28.51.20170629 internal error, aborting at
/scratch/jmyers/glibc-bot/src/binutils/bfd/elfnn-aarch64.c:8900 in
elf64_aarch64_finish_dynamic_symbol
/scratch/jmyers/glibc-bot/install/compilers/sparc64-linux-gnu/lib/gcc/sparc64-glibc-linux-gnu/8.0.0/../../../../sparc64-glibc-linux-gnu/bin/ld:
BFD (GNU Binutils) 2.28.51.20170629 internal error, aborting at
/scratch/jmyers/glibc-bot/src/binutils/bfd/elfxx-sparc.c:4510 in
_bfd_sparc_elf_finish_dynamic_symbol
These are caused by the commits:
commit ec1acaba1381d0196c45965a7db9942b67fbd88d
Author: Egeyar Bagcioglu <egeyar.bagcioglu@oracle.com>
Date: Thu Jun 29 04:28:27 2017 -0700
bfd: prevent all but undef weak syms from becoming dynamic in sparc.
commit ff07562f1e369b6e37eafb2a888dc48fa2453e86
Author: Jiong Wang <jiong.wang@arm.com>
Date: Thu Jun 29 11:47:43 2017 +0100
[AArch64] Only override the symbol dynamic decision on undefined weak symbol
(as verified by: building with binutils commit
ec1acaba1381d0196c45965a7db9942b67fbd88d both internal errors appear;
building two commits earlier, commit
2aff25ba76035d2f1f48ea8a6c4b7e498ee31790, neither error occurs).
--
Joseph S. Myers
joseph@codesourcery.com