[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/31100] [2.42 Regression] pr18841 test failures on riscv64-linux-
From: |
sam at gentoo dot org |
Subject: |
[Bug ld/31100] [2.42 Regression] pr18841 test failures on riscv64-linux-gnu |
Date: |
Wed, 25 Dec 2024 07:28:46 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=31100
--- Comment #4 from Sam James <sam at gentoo dot org> ---
Created attachment 15858
--> https://sourceware.org/bugzilla/attachment.cgi?id=15858&action=edit
pr31100.sh
$ gcc --version | head -1 ; ld --version | head -1
gcc (Gentoo Hardened 15.0.9999 p, commit
01d33f6be28d09edb2e9aaa66feab7a1b359aa60) 15.0.0 20241222 (experimental)
cf59bf844037ae952f5058d0fd49e1f4f0cf907e
GNU ld (Gentoo 9999 p1) 2.43.50.20241223
$ ./pr31100.sh
+ : gcc
+ cat
+ cat
+ test
+ rm pr18841a.o pr18841c.o libpr18841c.so pr18841c
+ gcc -fno-PIE pr18841a.c -c -o pr18841a.o
+ gcc -fPIC pr18841c.c -c -o pr18841c.o
+ gcc -shared pr18841c.o -o libpr18841c.so
+ gcc -no-pie pr18841a.o libpr18841c.so -o pr18841c
+ LD_LIBRARY_PATH=.
+ ./pr18841c
./pr31100.sh: line 40: 1244135 Segmentation fault (core dumped)
LD_LIBRARY_PATH=. ./pr18841c
$ readelf libpr18841c.so -r
Relocation section '.rela.dyn' at offset 0x370 contains 9 entries:
Offset Info Type Sym. Value Sym. Name +
Addend
000000001e30 000000000003 R_RISCV_RELATIVE 4ce
000000001e38 000000000003 R_RISCV_RELATIVE 496
000000002000 000000000003 R_RISCV_RELATIVE 2000
000000001fd8 000200000002 R_RISCV_64 0000000000000000
_ITM_deregisterTM[...] + 0
000000001fe0 000800000002 R_RISCV_64 0000000000002008 pz + 0
000000001fe8 000400000002 R_RISCV_64 0000000000000000
__cxa_finalize@GLIBC_2.27 + 0
000000001ff0 000500000002 R_RISCV_64 0000000000000000
_ITM_registerTMCl[...] + 0
000000001ff8 000600000002 R_RISCV_64 foo() foo + 0
000000002008 000300000002 R_RISCV_64 0000000000000000 zoo + 0
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/31100] [2.42 Regression] pr18841 test failures on riscv64-linux-gnu, sam at gentoo dot org, 2024/12/24
- [Bug ld/31100] [2.42 Regression] pr18841 test failures on riscv64-linux-gnu, sam at gentoo dot org, 2024/12/25
- [Bug ld/31100] [2.42 Regression] pr18841 test failures on riscv64-linux-gnu, sam at gentoo dot org, 2024/12/25
- [Bug ld/31100] [2.42 Regression] pr18841 test failures on riscv64-linux-gnu, sam at gentoo dot org, 2024/12/25
- [Bug ld/31100] [2.42 Regression] pr18841 test failures on riscv64-linux-gnu,
sam at gentoo dot org <=
- [Bug ld/31100] [2.42 Regression] pr18841 test failures on riscv64-linux-gnu, sam at gentoo dot org, 2024/12/25
- [Bug ld/31100] [2.42 Regression] pr18841 test failures on riscv64-linux-gnu, sam at gentoo dot org, 2024/12/25
- [Bug ld/31100] [2.42 Regression] pr18841 test failures on riscv64-linux-gnu, sam at gentoo dot org, 2024/12/25