[Bug ld/19073] S/390: ld: Segmentation fault building Glibc

2015-10-12 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19073 --- Comment #14 from H.J. Lu --- (In reply to Andreas Krebbel from comment #13) > > There is a bug in sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S > > which defines both getcontext@@GLIBC_2.2 and getcontext. But linker > > shouldn't cras

[Bug ld/19073] S/390: ld: Segmentation fault building Glibc

2015-10-12 Thread krebbel at linux dot vnet.ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=19073 --- Comment #13 from Andreas Krebbel --- (In reply to H.J. Lu from comment #10) > (In reply to Andreas Krebbel from comment #8) > > (In reply to H.J. Lu from comment #7) > > > Please provide a testcase I can reproduce it on x86-64 with > > > o

[Bug ld/19073] S/390: ld: Segmentation fault building Glibc

2015-10-12 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19073 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ld/19073] S/390: ld: Segmentation fault building Glibc

2015-10-12 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=19073 --- Comment #11 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=4373f8af3ddbc301227e883d5cbed8302c107e59 commit 4373f8af3ddbc301227e883d5cbed83

[Bug ld/19073] S/390: ld: Segmentation fault building Glibc

2015-10-12 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19073 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ld/19073] S/390: ld: Segmentation fault building Glibc

2015-10-12 Thread krebbel at linux dot vnet.ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=19073 --- Comment #9 from Andreas Krebbel --- The problem is that when processing "getcontext" in elf_link_add_object_symbols it is matched by the hash entry for "getcontext@@GLIBC_2.2" here: /* We need to make sure that indirect symbol dynam

[Bug ld/19073] S/390: ld: Segmentation fault building Glibc

2015-10-11 Thread krebbel at linux dot vnet.ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=19073 --- Comment #8 from Andreas Krebbel --- (In reply to H.J. Lu from comment #7) > Please provide a testcase I can reproduce it on x86-64 with > only cross binutils. The testcase I've attached fails the same way with cross binutils: install-s39

[Bug ld/19073] S/390: ld: Segmentation fault building Glibc

2015-10-09 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19073 H.J. Lu changed: What|Removed |Added Target Milestone|--- |2.26 --- Comment #7 from H.J. Lu --- Pleas

[Bug ld/19073] S/390: ld: Segmentation fault building Glibc

2015-10-09 Thread krebbel at linux dot vnet.ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=19073 --- Comment #6 from Andreas Krebbel --- Created attachment 8701 --> https://sourceware.org/bugzilla/attachment.cgi?id=8701&action=edit Testcase - reduced input file from glibc With this testcase the failing symbol is getcontext: 16488: 00

[Bug ld/19073] S/390: ld: Segmentation fault building Glibc

2015-10-08 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19073 --- Comment #5 from H.J. Lu --- (In reply to Andreas Krebbel from comment #4) > > The problem is that there might be symbols marked as versioned but without > having @ in its names. p is NULL then. > > We have that with setjmp in Glibc: > 23

[Bug ld/19073] S/390: ld: Segmentation fault building Glibc

2015-10-08 Thread krebbel at linux dot vnet.ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=19073 --- Comment #4 from Andreas Krebbel --- (gdb) p name $1 = 0x8024eab7 "setjmp" (gdb) p shortname $2 = 0x3ff77b15020 "setjmp" (gdb) p shortlen $3 = 18446744071559648585 (gdb) l 1722 1723 shortlen = p - name; 1724 shortname = (char *) b

[Bug ld/19073] S/390: ld: Segmentation fault building Glibc

2015-10-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19073 --- Comment #3 from H.J. Lu --- What went wrong? -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.or

[Bug ld/19073] S/390: ld: Segmentation fault building Glibc

2015-10-06 Thread krebbel at linux dot vnet.ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=19073 Andreas Krebbel changed: What|Removed |Added Status|WAITING |UNCONFIRMED Ever confirmed|1

[Bug ld/19073] S/390: ld: Segmentation fault building Glibc

2015-10-06 Thread krebbel at linux dot vnet.ibm.com
https://sourceware.org/bugzilla/show_bug.cgi?id=19073 Andreas Krebbel changed: What|Removed |Added Summary|ld: Segmentation fault |S/390: ld: Segmentation