[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/19073] S/390: ld: Segmentation fault building Glibc
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug ld/19073] S/390: ld: Segmentation fault building Glibc |
Date: |
Mon, 12 Oct 2015 11:02:33 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19073
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-10-12
Assignee|unassigned at sourceware dot org |hjl.tools at gmail dot
com
Ever confirmed|0 |1
--- Comment #10 from H.J. Lu <hjl.tools at gmail dot com> ---
(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
> > only cross binutils.
>
> The testcase I've attached fails the same way with cross binutils:
>
> install-s390x/bin/s390x-ibm-linux-ld -melf64_s390 b.os
> Segmentation fault (core dumped)
address@hidden pr19073]$ cat xxx.c
void
__foo ()
{
}
asm (".weak foo_v1");
asm (".globl foo_v1");
asm (".set foo_v1, __foo");
asm (".weak foo_v2");
asm (".globl foo_v2");
asm (".set foo_v2, __foo");
asm (".symver foo_v2,address@hidden");
asm (".symver foo_v1,foo@@VERS.1");
asm (".globl foo");
asm (".weak foo");
asm (".set foo, __foo");
address@hidden pr19073]$ make libfoo.so
gcc -B./ -fPIC -c -o xxx.o xxx.c
./ld -o foo.o -r xxx.o
./ld -o libfoo.so -shared foo.o --version-script foo.v
Makefile:12: recipe for target 'libfoo.so' failed
make: *** [libfoo.so] Segmentation fault
make: *** Deleting file 'libfoo.so'
address@hidden pr19073]$
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 crash.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/19073] S/390: ld: Segmentation fault building Glibc, (continued)
- [Bug ld/19073] S/390: ld: Segmentation fault building Glibc, krebbel at linux dot vnet.ibm.com, 2015/10/08
- [Bug ld/19073] S/390: ld: Segmentation fault building Glibc, krebbel at linux dot vnet.ibm.com, 2015/10/08
- [Bug ld/19073] ld: Segmentation fault building Glibc, krebbel at linux dot vnet.ibm.com, 2015/10/08
- [Bug ld/19073] S/390: ld: Segmentation fault building Glibc, hjl.tools at gmail dot com, 2015/10/08
- [Bug ld/19073] S/390: ld: Segmentation fault building Glibc, krebbel at linux dot vnet.ibm.com, 2015/10/09
- [Bug ld/19073] S/390: ld: Segmentation fault building Glibc, hjl.tools at gmail dot com, 2015/10/09
- [Bug ld/19073] S/390: ld: Segmentation fault building Glibc, hjl.tools at gmail dot com, 2015/10/10
- [Bug ld/19073] S/390: ld: Segmentation fault building Glibc, krebbel at linux dot vnet.ibm.com, 2015/10/10
- [Bug ld/19073] S/390: ld: Segmentation fault building Glibc, krebbel at linux dot vnet.ibm.com, 2015/10/12
- [Bug ld/19073] S/390: ld: Segmentation fault building Glibc, krebbel at linux dot vnet.ibm.com, 2015/10/12
- [Bug ld/19073] S/390: ld: Segmentation fault building Glibc,
hjl.tools at gmail dot com <=
- [Bug ld/19073] S/390: ld: Segmentation fault building Glibc, hjl.tools at gmail dot com, 2015/10/12
- [Bug ld/19073] S/390: ld: Segmentation fault building Glibc, krebbel at linux dot vnet.ibm.com, 2015/10/12
- [Bug ld/19073] S/390: ld: Segmentation fault building Glibc, cvs-commit at gcc dot gnu.org, 2015/10/15
- [Bug ld/19073] S/390: ld: Segmentation fault building Glibc, hjl.tools at gmail dot com, 2015/10/15