[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 gcc dot gnu.org |
Subject: |
[Bug ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1 |
Date: |
Wed, 07 Feb 2018 19:49:18 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=13671
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hjl.tools at gmail dot com
Version|2.22 |2.30
--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> ---
I just had the same problem again (this time with gas/gld 2.30) on Solaris
11.4/x86:
I tried to build gcc mainline with --enable-host-shared --enable-languages=jit,
but running cc1 fails:
/var/gcc/regression/trunk/11.4-gcc-gas-gld/build/./gcc/xgcc
-B/var/gcc/regression/trunk/11.4-gcc-gas-gld/build/./gcc/ -xc -nostdinc
/dev/null -S -o /dev/null
-fself-test=/vol/gcc/src/hg/trunk/solaris/gcc/testsuite/selftests
ld.so.1: cc1: fatal: relocation error: R_386_UNKNOWN37: file
/var/gcc/regression/trunk/11.4-gcc-gas-gld/build/gcc/cc1: symbol __gmpfr_emin:
offset size (0 bytes) is not supported
xgcc: fatal error: Killed signal terminated program cc1
compilation terminated.
make[3]: *** [Makefile:1972: s-selftest-c] Error 1
R_386_UNKNOWN37 above is R_386_TLS_TPOFF32, and the current (Solaris 11.4)
<sys/elf_i386.h> has
#define R_386_UNKNOWN24 24
#define R_386_UNKNOWN25 25
#define R_386_UNKNOWN26 26
#define R_386_UNKNOWN27 27
#define R_386_UNKNOWN28 28
#define R_386_UNKNOWN29 29
#define R_386_UNKNOWN30 30
#define R_386_UNKNOWN31 31
#define R_386_UNKNOWN37 37 /* reserved for future expansion */
#define R_386_SIZE32 38 /* reserved for future expansion */
#define R_386_TLS_GOTDESC 39 /* reserved for future expansion */
#define R_386_TLS_DESC_CALL 40 /* reserved for future expansion */
#define R_386_TLS_DESC 41 /* reserved for future expansion */
#define R_386_IRELATIVE 42 /* GNU/Linux specific (STT_GNU_IFUNC)
*/
Rainer
--
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 <=
- [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, 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, 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