[Bug lto/88422] collect2.exe: fatal error: lto-wrapper returned 1 exit status: file not recognized: file truncated
wilson at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Dec 9 23:13:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88422
Jim Wilson <wilson at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wilson at gcc dot gnu.org
--- Comment #2 from Jim Wilson <wilson at gcc dot gnu.org> ---
I've reproduced this problem with a RISC-V gcc-8.x compiler, and tracked it
down to the first patch for bug 81968, in comment #60. With the patch
reverted, the testcase works.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81968#c60
The RISC-V testcase works with Linux hosted and Cygwin hosted toolchains, and
only fails for mingw32 hosted toolchains. Maybe an LLP64 problem with the
patch? I didn't see any obvious type error in the patch though.
I had to borrow a windows machine from our IT group to look at this, and they
have since taken the loaner back, so I don't have a machine at work I can use
to debug this at present.
More information about the Gcc-bugs
mailing list