[Bug lto/88422] collect2.exe: fatal error: lto-wrapper returned 1 exit status: file not recognized: file truncated

2019-01-22 Thread nidal.faour at wdc dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88422 --- Comment #6 from Nidal Faour --- Andrew Pinski is right, after chasing this bug with the help of Andrew Burgess in the file simple-object.c, calling the creat outfd = creat (dest, 00777); the creat function wraps the open function but do

[Bug lto/88422] collect2.exe: fatal error: lto-wrapper returned 1 exit status: file not recognized: file truncated

2018-12-16 Thread nidal.faour at wdc dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88422 --- Comment #5 from Nidal Faour --- i've used the RV gcc official toolchain and reverted the patch as Jim did. and it passed in the test case, but when i moved to a bigger code, i failed again to build. and it turned out that it passed only if i

[Bug c/88422] New: collect2.exe: fatal error: lto-wrapper returned 1 exit status: file not recognized: file truncated

2018-12-09 Thread nidal.faour at wdc dot com
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: nidal.faour at wdc dot com Target Milestone: --- Created attachment 45192 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45192=edit test c