[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-22 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #33 from cvs-commit at gcc dot gnu.org --- The binutils-2_29-branch branch has been updated by Alan Modra :

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-13 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #33 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=34c4758cc210e2ca042b0373938e57fd6844f89d commit

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-11 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 H.J. Lu changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-11 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #31 from cvs-commit at gcc dot gnu.org --- The binutils-2_29-branch branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4a1c35c0165f9cbcc63d3af93574b2f6c4544eb7

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-11 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #30 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9593aade74f0da0c08a4ab55e4c59173b07b1f63 commit

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-11 Thread matz at suse dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #29 from Michael Matz --- And commit b7a18930 from Nick fixed it on master for a x86_64 hosted binutils (I'm qualifying this because I haven't checked a i586 hosted binutils yet). So at the very minimum this patch needs to be on

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-11 Thread matz at suse dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 Michael Matz changed: What|Removed |Added Status|RESOLVED|REOPENED CC|

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-08 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #27 from Nick Clifton --- (In reply to H.J. Lu from comment #26) > Can you show me how to reproduce the issue? No. :-( I tried reverting my patch and the reproducing the failure, but I could not. It was very strange. So I

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-07 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #26 from H.J. Lu --- (In reply to Nick Clifton from comment #25) > 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

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-07 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #25 from Nick Clifton --- 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

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-07 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #24 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b7a18930e3925c4092bd975e95bc3603aa1418d9 commit

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-04 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 H.J. Lu changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-04 Thread doko at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #22 from Matthias Klose --- same with today's trunk 20170804. binutils is configured with --with-sysroot=/ --enable-shared --enable-plugins --enable-threads --with-system-zlib --prefix=/usr --enable-deterministic-archives

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-04 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 H.J. Lu changed: What|Removed |Added Status|REOPENED|WAITING --- Comment #19 from H.J. Lu ---

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-04 Thread doko at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #16 from Matthias Klose --- Created attachment 10314 --> https://sourceware.org/bugzilla/attachment.cgi?id=10314=edit test case 2 -- 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

2017-08-04 Thread doko at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 Matthias Klose changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-04 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #21 from H.J. Lu --- (In reply to Matthias Klose from comment #20) > hmm, I still can reproduce this with a plain build from the 2.29 branch. Please try master branch and download the testcase from Bugzilla to reproduce it. BTW,

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-04 Thread doko at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #18 from Matthias Klose --- Created attachment 10315 --> https://sourceware.org/bugzilla/attachment.cgi?id=10315=edit complete 2nd test case -- 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

2017-08-04 Thread doko at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #20 from Matthias Klose --- hmm, I still can reproduce this with a plain build from the 2.29 branch. -- 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

2017-08-03 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #14 from Nick Clifton --- Hi Guys, It turns out that there are several other targets that do not support changing the output format whilst linking. In fact two of them - AVR and M68HC1x - trigger seg-faults if this is

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-03 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #13 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=fd9770d81fba7ad860e8bcfbc13c77f21041f1f3 commit

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-03 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #12 from cvs-commit at gcc dot gnu.org --- The binutils-2_29-branch branch has been updated by Alan Modra :

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-03 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #11 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Alan Modra : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2e9246e077cdbbff0a56a810c5750cc895382ba3 commit

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-02 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #10 from cvs-commit at gcc dot gnu.org --- The binutils-2_29-branch branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a388b7afeffad6411686d39dc1c62294da48a814

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-02 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #8 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=db99ecc08f5b66fbe9cb72e90352c7f77ec71a6e commit

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-02 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #7 from Nick Clifton --- Hi H.J., > I prefer a different patch in comment 5, which also includes a testcase. > There is no need to check ELF section header at all if output isn't ELF. That makes sense. I have approved your

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-02 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #6 from H.J. Lu --- (In reply to Nick Clifton from comment #4) > Hi Matthias, > > Thanks for reporting this problem. I have checked in a patch to fix the > issue - the orphan section placement code was assuming that it was >

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-02 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #5 from H.J. Lu --- Created attachment 10310 --> https://sourceware.org/bugzilla/attachment.cgi?id=10310=edit A patch -- 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

2017-08-02 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 Nick Clifton changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-02 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #3 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ddff3d84be42fa80c2c9aaa635f2b9269e74e4f9 commit

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-02 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #2 from H.J. Lu --- [hjl@gnu-tools-1 pr21884]$ cat x.t OUTPUT_FORMAT("binary") ENTRY(_main); SECTIONS { . = 0; .setup : { *(.setup) } } [hjl@gnu-tools-1 pr21884]$ cat x.s .text .globl _main

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-02 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 H.J. Lu changed: What|Removed |Added CC|hjl at sourceware dot org |hjl.tools at gmail dot com -- You

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-02 Thread doko at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 --- Comment #1 from Matthias Klose --- Program received signal SIGSEGV, Segmentation fault. 0x5558d9c9 in gldelf_x86_64_place_orphan (s=0x558c73d0, secname=0x558c72f3 ".text", constraint=382) at eelf_x86_64.c:1991 1991

[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-02 Thread doko at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21884 Matthias Klose changed: What|Removed |Added CC||hjl at sourceware dot org -- You