diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2025-08-19 15:38:55 +0200 |
---|---|---|
committer | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2025-08-19 15:38:55 +0200 |
commit | 1bf1357c6827961386ef13462aed9d41221d5911 (patch) | |
tree | 5f4b47fd1f228ba98ccd9fc9477dbc588378d571 /gdb/python | |
parent | b662ab305c3b83acc1f6f63be9703efadc7185b7 (diff) | |
download | binutils-1bf1357c6827961386ef13462aed9d41221d5911.zip binutils-1bf1357c6827961386ef13462aed9d41221d5911.tar.gz binutils-1bf1357c6827961386ef13462aed9d41221d5911.tar.bz2 |
ld: testsuite: Mark vers26b3 unsupported on x86_64
After enabling the ld-elfvers tests on Solaris/x86, one of them FAILs on
Solaris/amd64 only:
FAIL: vers26b3
/ld-new: tmpdir/vers26b3.o: relocation R_X86_64_32 against symbol `foo' can not be used when making a shared object; recompile with -fPIC
./ld-new: failed to set dynamic section sizes: bad value
The error is strange: vers26b3.o *was* compiled with -fPIC and repeating
the link with /bin/ld just works. However, the resulting vers26b3.so
fails to load:
$ ldd -r tmpdir/vers26b3.so
[...]
ld.so.1: vers26b3.so.ld: fatal: relocation error: R_AMD64_32: file tmpdir/vers26b3.so.ld: symbol foo: value 0x7fff34d00830 does not fit
When running the test on Linux/x86_64, it fails with the same ld message
as above, so the test is marked unsupported for both Linux/x86_64 and
Solaris/amd64.
Tested on {amd64,i386}-pc-solaris2.11 and {x86_64,i686}-pc-linux-gnu.
2025-07-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
ld:
* testsuite/ld-elfvers/vers.exp (vers26b3): Mark unsupported on
Linux/x86_64 and Solaris/amd64.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions