[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/13671] gld creates i386 relocations not supported by Solaris ld.
From: |
ro at CeBiTec dot Uni-Bielefeld.DE |
Subject: |
[Bug ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1 |
Date: |
Thu, 08 Feb 2018 12:40:33 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=13671
--- Comment #7 from Rainer Orth <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
[...]
> Please provide one separate testcase in assembly code for each instance
> where ld creates dynamic relocs Solaris ld.so.1 cannot handle.
I'm trying, but I have a hard time even for the case at hand:
There's not only one, but a couple of those relocs in cc1:
Relocation Section: .rel.dyn
index type offset value section symbol
[...]
[189] R_386_UNKNOWN37 0x9c79cf4 0 .got __gmpfr_emin
[390] R_386_UNKNOWN37 0x9c7a01c 0 .got
__gmpfr_default_rounding_mode
[430] R_386_UNKNOWN37 0x9c7a0bc 0 .got
__gmpfr_cache_const_log2
[432] R_386_UNKNOWN37 0x9c7a0c4 0 .got __gmpfr_flags
[546] R_386_UNKNOWN37 0x9c7a28c 0 .got
__gmpfr_cache_const_catalan
[1069] R_386_UNKNOWN37 0x9c7aab8 0 .got
__gmpfr_cache_const_euler
[1225] R_386_UNKNOWN37 0x9c7ad28 0 .got __gmpfr_emax
[1330] R_386_UNKNOWN37 0x9c7aecc 0 .got
__gmpfr_default_fp_bit_precision
[1467] R_386_UNKNOWN37 0x9c7b0f0 0 .got
__gmpfr_cache_const_pi
The definitions are from libmpfr.a (built with --disable-shared
--with-pic), e.g.
[22] 0 0x4 TLS GLOB D 0 .tbss __gmpfr_flags
In the gld-linked cc1, I find
Symbol Table Section: .dynsym
[5850] 0x6c 0x4 TLS GLOB D 1 .tbss __gmpfr_flags
Global Offset Table Section: .got
[584] 0x9c7a0c4 0 R_386_UNKNOWN37 __gmpfr_flags
Relocation Section: .rel.dyn
[432] R_386_UNKNOWN37 0x9c7a0c4 0 .got __gmpfr_flags
while in the ld-linked cc1, there is only:
Symbol Table Section: .dynsym
[14735] 0x6c 0x4 TLS GLOB D 1 .tbss __gmpfr_flags
The toolchains are otherwise identical, both using gas 2.30 with either
Solaris ld or gld 2.30, both trees configured with --enable-host-shared,
no (relevant) differences in auto-host.h.
In the ld-linked cc1, there are no got entries for __gmpfr_* symbols at
all.
So far, I've not managed to create a testcase from this.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1, ro at gcc dot gnu.org, 2018/02/07
- [Bug ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1, hjl.tools at gmail dot com, 2018/02/07
- [Bug ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1, ro at CeBiTec dot Uni-Bielefeld.DE, 2018/02/07
- [Bug ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1, hjl.tools at gmail dot com, 2018/02/07
- [Bug ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1, ro at CeBiTec dot Uni-Bielefeld.DE, 2018/02/07
- [Bug ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1, hjl.tools at gmail dot com, 2018/02/07
- [Bug ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1,
ro at CeBiTec dot Uni-Bielefeld.DE <=
- [Bug ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1, hjl.tools at gmail dot com, 2018/02/08
- [Bug ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1, hjl.tools at gmail dot com, 2018/02/08
- [Bug ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1, ro at CeBiTec dot Uni-Bielefeld.DE, 2018/02/09
- [Bug ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1, hjl.tools at gmail dot com, 2018/02/10
- [Bug ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1, ro at CeBiTec dot Uni-Bielefeld.DE, 2018/02/11
- [Bug ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1, ro at gcc dot gnu.org, 2018/02/11
- [Bug ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1, hjl.tools at gmail dot com, 2018/02/11
- [Bug ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1, ro at CeBiTec dot Uni-Bielefeld.DE, 2018/02/12
- [Bug ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1, hjl.tools at gmail dot com, 2018/02/12
- [Bug ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1, hjl.tools at gmail dot com, 2018/02/12