Description of problem: A build working on F-28 is failing on F-29. I do not know if it is a gcc or gold bug. Version-Release number of selected component (if applicable): gcc-8.2.1-5.fc29.x86_64 binutils-2.31.1-13.fc29.x86_64 How reproducible: Always. Steps to Reproduce: echo -e '#include <stdlib.h>\nint main(){malloc(1);}'|g++ -fkeep-inline-functions -fsanitize=undefined -Wl,--fatal-warnings -fuse-ld=gold -static-libubsan -x c++ - Actual results: /usr/bin/ld.gold: warning: discarding version information for __libc_stack_end.5, defined in unused shared library /lib64/ld-linux-x86-64.so.2 (linked with --as-needed) /usr/bin/ld.gold: error: treating warnings as errors collect2: error: ld returned 1 exit status Expected results: Built a.out. Additional info:
This is a manifestation of: https://sourceware.org/bugzilla/show_bug.cgi?id=23455
Fixed in: binutils-2.31.1-15.fc29 binutils-2.31.1-17.fc30
Confirming this build fixes it even in the real build, thanks. Although why it does not have a Bodhi update? https://bodhi.fedoraproject.org/updates/?packages=binutils
binutils-2.31.1-15.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-6e6f28f90e
(In reply to Jan Kratochvil from comment #3) > Although why it does not have a Bodhi update? My bad - it slipped my mind. I have now created the update request.
binutils-2.31.1-15.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-2018-6e6f28f90e
binutils-2.31.1-15.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.