[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/25589] LTO parallel build fails with "/usr/bin/ld: cannot
From: |
amodra at gmail dot com |
Subject: |
[Bug binutils/25589] LTO parallel build fails with "/usr/bin/ld: cannot find <foo>.lto.o: No such file or directory" |
Date: |
Thu, 05 Mar 2020 06:39:04 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25589
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amodra at gmail dot com
--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
Hmm, I see this in glib sources:
~/src/glib$ find . -name properties.c
./tests/refcount/properties.c
./gobject/tests/properties.c
~/src/glib$ find . -name signals.c
./tests/gobject/signals.c
./tests/refcount/signals.c
./gobject/tests/signals.c
So there are multiple files with the same name in the testsuite. I wonder if
one test is using the same temporary files as another? (Note that -pipe does
not prevent use of temporary files with -flto.)
I'm suspicious of what you have in
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld. Perhaps that doesn't work with
-flto and make -j? Also, files with the suffix .lto.o are not created by ld
but rather by lto-wrapper, part of gcc. So you should probably report this bug
to redhat in the first instance, and perhaps then to the gcc project.
--
You are receiving this mail because:
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug binutils/25589] LTO parallel build fails with "/usr/bin/ld: cannot find <foo>.lto.o: No such file or directory",
amodra at gmail dot com <=