|
From: | hjl.tools at gmail dot com |
Subject: | [Bug ld/19073] S/390: ld: Segmentation fault building Glibc |
Date: | Mon, 12 Oct 2015 13:24:01 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19073 --- Comment #14 from H.J. Lu <hjl.tools at gmail dot com> --- (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 crash. > > I agree that this does not look correct but it is similiar to e.g. setjmp on > x86_64: > > readelf -s libc.so.6 | grep " setjmp" > 622: 0000000000032ce0 10 FUNC GLOBAL DEFAULT 13 > setjmp@@GLIBC_2.2.5 > 6015: 0000000000032ce0 10 FUNC GLOBAL DEFAULT 13 setjmp This is expected. > One difference appears to be that the symbol without version information is > weak on s390. I was referring to the input object files, not output shared libraries. There is no need to define both getcontext@@GLIBC_2.2 and getcontext in sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |