On f31 and f30, similar .gnu.build.attributes-related error messages are causing an elfutils COPR build to fail. On f31, this is observed with the 2.32-29 binutils version (with the note-merging fix); on f30, the same fix is not yet in the buildroot due to bodhi just pushing it. But we have the same apparent failure, both with and without this .gnu.build.attributes-related fix. https://copr.fedorainfracloud.org/coprs/fche/elfutils/build/1123340/
Hi Frank, > On f31 and f30, similar .gnu.build.attributes-related error messages are > causing an elfutils COPR build to fail Just to be clear, it is error messages from the elfutils tests that are blocking the build from completing right ? The actual build of the elfutils does succeed. The issue is that the build is using glibc-2.30-7.fc31 which has corrupted notes in the crti.o and crtn.o object files. What we need is a rebuild of glibc. This will fix the notes and then the problem should go away. I have pinged the Fedora glibc maintainers and requested just such a thing. Cheers Nick
(In reply to Nick Clifton from comment #1) > Just to be clear, it is error messages from the elfutils tests that are > blocking the build from completing right ? The actual build of the > elfutils does succeed. The elfutils build as a whole fails, because it expects the testsuite to be zero fail. But yes, the build itself "succeeds" but various (self) tests fail because they encounter corrupt ELF notes. > The issue is that the build is using glibc-2.30-7.fc31 which has corrupted > notes in the crti.o and crtn.o object files. What we need is a rebuild of > glibc. This will fix the notes and then the problem should go away. I > have pinged the Fedora glibc maintainers and requested just such a thing. Eep. That would indeed explain it. This is pretty bad, because crti.o and crtn.o are basically included into every binary.
FEDORA-2019-46ef941af9 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-46ef941af9
...and here's the Fedora 30 update for glibc: https://bodhi.fedoraproject.org/updates/FEDORA-2019-7153dc69ea
glibc-2.30-8.fc31 has been pushed to the Fedora 31 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-46ef941af9
glibc-2.29-27.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-7153dc69ea
For the record I have seen golang tests(cgoshared, cgo dynamic linking, in notes section parsing test) failures with glibc glibc-2.30-7 on most of the 64bit arches. Latest build in glibc-2.30-8.fc31 seems to fix this issue.
glibc-2.30-8.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.
glibc-2.29-27.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.
Has this issue been addressed by now? Thanks.
I have since done a success elfutils koji build on f30, f31 and rawhide (testsuite all green, including the self tests). So I believe it has been resolved. But I don't know about copr.
I am going to close this as resolved then, since I think that there is nothing left that we need to do.