[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86
From: |
nickc at redhat dot com |
Subject: |
[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86 |
Date: |
Mon, 07 Aug 2017 09:15:26 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=21884
--- Comment #25 from Nick Clifton <nickc at redhat dot com> ---
Hi Guys,
I was able to reproduce the problem. The issue is that
elf_i386_link_setup_gnu_properties was selecting a non-ELF format bfd to hold
the linker created GOT sections. The problem did not happen with the x86_64
target because that used the bfd returned by
_bfd_elf_link_setup_gnu_properties.
I have applied a patch that updates the i386 version so that it too will use
the bfd returned by _bfd_elf_link_setup_gnu_properties, if there is one. If
not, it will scan the input bfds like before, but it will skip any non-ELF
format ones.
(I am not sure if this scan will ever be needed now, but better to be safe than
sorry).
Likewise, the patch updates the x86_64 version so that if it does have to
perform its own scan of the input bfds, non-ELF format ones are ignored.
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86, (continued)
- [Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86, doko at debian dot org, 2017/08/04
- [Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86, doko at debian dot org, 2017/08/04
- [Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86, hjl.tools at gmail dot com, 2017/08/04
- [Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86, doko at debian dot org, 2017/08/04
- [Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86, doko at debian dot org, 2017/08/04
- [Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86, doko at debian dot org, 2017/08/04
- [Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86, hjl.tools at gmail dot com, 2017/08/04
- [Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86, doko at debian dot org, 2017/08/04
- [Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86, hjl.tools at gmail dot com, 2017/08/04
- [Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86, cvs-commit at gcc dot gnu.org, 2017/08/07
- [Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86,
nickc at redhat dot com <=
- [Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86, hjl.tools at gmail dot com, 2017/08/07
- [Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86, nickc at redhat dot com, 2017/08/08
- [Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86, matz at suse dot de, 2017/08/11
- [Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86, matz at suse dot de, 2017/08/11
- [Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86, cvs-commit at gcc dot gnu.org, 2017/08/11
- [Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86, cvs-commit at gcc dot gnu.org, 2017/08/11
- [Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86, hjl.tools at gmail dot com, 2017/08/11
- [Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86, cvs-commit at gcc dot gnu.org, 2017/08/13
- [Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86, cvs-commit at gcc dot gnu.org, 2017/08/22