[Bug ld/25501] STT_GNU_IFUNC causes assertion on 64-bit RISC-V

2022-09-05 Thread nelsonc1225 at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25501 Nelson Chu changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug ld/25501] STT_GNU_IFUNC causes assertion on 64-bit RISC-V

2020-03-06 Thread wilson at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25501 --- Comment #9 from Jim Wilson --- The glibc configure script has been fixed so that it no longer tries to use ifunc on targets that don't support it. We still need to add ifunc support to the binutils RISC-V port though. -- You are receivi

[Bug ld/25501] STT_GNU_IFUNC causes assertion on 64-bit RISC-V

2020-02-04 Thread aurelien at aurel32 dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=25501 --- Comment #8 from Aurelien Jarno --- I have opened a bug on the GNU libc side: https://sourceware.org/bugzilla/show_bug.cgi?id=25506 And posted the corresponding patch: https://sourceware.org/ml/libc-alpha/2020-02/msg00084.html -- You a

[Bug ld/25501] STT_GNU_IFUNC causes assertion on 64-bit RISC-V

2020-02-04 Thread aurelien at aurel32 dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=25501 --- Comment #7 from Aurelien Jarno --- It creates a relocation because my GCC defaults to -pie. It is not present when I compile conftest.S with -no-pie. I observe the same behaviour with MIPS, which doesn't support IFUNC. It looks like the G

[Bug ld/25501] STT_GNU_IFUNC causes assertion on 64-bit RISC-V

2020-02-04 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25501 --- Comment #6 from Andreas Schwab --- Then you need to find out why the assembler creates a relocation. That is wrong. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/25501] STT_GNU_IFUNC causes assertion on 64-bit RISC-V

2020-02-04 Thread aurelien at aurel32 dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=25501 --- Comment #5 from Aurelien Jarno --- It does succeed here (glibc 2.30, binutils 2.34, gcc 9.2.1): configure:4009: checking for assembler and linker STT_GNU_IFUNC support Relocation section '.rela.dyn' at offset 0x268 contains 1 entry: Of

[Bug ld/25501] STT_GNU_IFUNC causes assertion on 64-bit RISC-V

2020-02-04 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25501 --- Comment #4 from Andreas Schwab --- The test should not succeed, as there are no relocations reported by readelf: configure:3992: checking for assembler and linker STT_GNU_IFUNC support There are no relocations in this file. configure:402

[Bug ld/25501] STT_GNU_IFUNC causes assertion on 64-bit RISC-V

2020-02-04 Thread aurelien at aurel32 dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=25501 --- Comment #3 from Aurelien Jarno --- Thanks for the fast answer. I understand that the support is missing, and that it might take time to add it. The problem is not directly the missing support, but the fact that basic support is there, whi

[Bug ld/25501] STT_GNU_IFUNC causes assertion on 64-bit RISC-V

2020-02-04 Thread wilson at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25501 Jim Wilson changed: What|Removed |Added CC||wilson at gcc dot gnu.org --- Comment #2

[Bug ld/25501] STT_GNU_IFUNC causes assertion on 64-bit RISC-V

2020-02-04 Thread aurelien at aurel32 dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=25501 --- Comment #1 from Aurelien Jarno --- Note that this is on Debian where GCC default to PIE. You might have to pass -fPIE to be able to reproduce the issue (it is not reproducible with -fno-PIE). -- You are receiving this mail because: You a