gcc in rawhide doesn't build anymore, as it is stuck in attr-ifunc-4.c test taking forever. Previously, the test has been just failing (usually segfault) in f29 and f30, but not in f28. The test is: #include <stdio.h> static int implementation (void) { printf ("'ere I am JH\n"); return 0; } static __typeof__ (implementation)* resolver (void) { return implementation; } static int magic (void) __attribute__ ((ifunc ("resolver"))); int main () { return magic () != 0; } compiled with -O0 on ppc64le. Florian found https://sourceware.org/bugzilla/show_bug.cgi?id=23937 which says the IRELATIVE relocation should not use the .localentry address, but it is still happening: gcc -o attr-ifunc-4 attr-ifunc-4.c; rpm -q binutils; readelf -Wa attr-ifunc-4 | grep 'IRELATIVE\|resolver\|magic' binutils-2.31.1-22.fc30.ppc64le 0000000010020028 00000000000000f8 R_PPC64_IRELATIVE 10000698 58: 0000000010000690 56 FUNC LOCAL DEFAULT 12 resolver [<localentry>: 8] 59: 0000000010000690 56 IFUNC LOCAL DEFAULT 12 magic [<localentry>: 8] So, is the sw#23937 bugfix in our binutils, or what is going on? This is quite a blocker for gcc in rawhide.
Our binutils is based on 2.31.1, which predates the fix on the upstream 2.31 release branch.
Fixed in binutils-2.31.1-24.fc30 and binutils-2.31.1-29.fc29. Rawhide does not need a fix as it has been rebased to the 2.32 sources.
Nick, please make updates for the new builds in https://bodhi.fedoraproject.org/
binutils-2.31.1-29.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-0bd13cd694
binutils-2.31.1-24.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-8c479311d9
Done.
binutils-2.31.1-24.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-8c479311d9
binutils-2.31.1-29.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-0bd13cd694
binutils-2.31.1-24.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.
binutils-2.31.1-29.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.