[llvm-bugs] [Bug 42135] Support linker script as input file on MinGW
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jun 5 23:30:45 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=42135
orgads at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|WONTFIX |---
--- Comment #6 from orgads at gmail.com ---
Ok, the response file doesn't work for me. Reported also here:
https://bugs.llvm.org/show_bug.cgi?id=42121
$ g++ -fuse-ld=lld -o test.exe test.o
$ cat test.res
test.o
$ g++ -fuse-ld=lld -o test.exe @test.res
ld.lld: error: --plugin-opt: ld.lld.exe: Unknown command line argument
'F:/git-sdk-64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.1.0/lto-wrapper.exe'.
Try: 'F:\git-sdk-64\mingw32\bin\ld.lld.exe -help'
ld.lld: error: unknown emulation: i386pe
ld.lld: error:
F:/git-sdk-64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.1.0/../../../../i686-w64-mingw32/lib/../lib/crt2.o:
unknown file type
ld.lld: error:
F:/git-sdk-64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.1.0/crtbegin.o: unknown
file type
ld.lld: error: test.o: unknown file type
ld.lld: error:
F:/git-sdk-64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.1.0/../../../../i686-w64-mingw32/lib/../lib/default-manifest.o:
unknown file type
ld.lld: error:
F:/git-sdk-64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.1.0/crtend.o: unknown
file type
collect2.exe: error: ld returned 1 exit status
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190606/58c40b12/attachment-0001.html>
More information about the llvm-bugs
mailing list