Description of problem:
On a certain condition, it fails to call as from binutils 2.31.1:
| Assembler messages:
| Fatal error: The input and output files must be distinct
It has been fixed in upstream:
Would you like to cherry-pick the commit? Thanks.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Steps to reproduce:
1 boot a Fedora 29 docker image, and mount /tmp with tmpfs for convenient:
$ docker run -it --mount type=tmpfs,destination=/tmp fedora:29 /bin/bash
2 check inode of /dev/null
$ stat -c %i /dev/null
and then create files under /tmp and make the biggest inode of files is 5.
$ stat -c %i `ls -t /tmp/* | head -1`
3 compile any assembly file with redirect output to /dev/null:
$ gcc -c -o /dev/null foo.S
Fatal error: The input and output files must be distinct
Any update? We have a work-around for Yocot/oe-core but it would be nice to pull in the upstream commit and fix the issue for others. Should we keep checking on the defect or will it only be resolved when binutils is updated for new releases of Fedora?
binutils-2.31.1-17.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-ba3cbcfd20
Sorry - this one slipped my queue. I have now backported the patch to F29 and F30.
Fixed in: binutils-2.31.1-17.fc29 binutils-2.31.1-20.fc30
I have submitted a bodhi update request for this new version:
binutils-2.31.1-17.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-ba3cbcfd20
binutils-2.31.1-17.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-17 works for me. This defect could be closed. Thanks.