Hi, I have tried using SVN lld to link a simple C++ file compiled with clang -target i686-pc-mingw32 but failed with an assert Assertion failed: ret, file ..\..\..\..\..\..\tools\lld\lib\ReaderWriter\PECOFF\ReaderCOFF.cpp, line 706 Is this supposed to work? What can SVN lld link on Windows 32/64 bit? Yaron -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131216/4580f7b0/attachment.html>
Rui has reported that he can successfully self-link lld on Windows, but I believe he is using cl.exe as the compiler. On Mon, Dec 16, 2013 at 1:47 PM, Yaron Keren <yaron.keren at gmail.com> wrote:> Hi, > > I have tried using SVN lld to link a simple C++ file compiled with > clang -target i686-pc-mingw32 but failed with an assert > > Assertion failed: ret, file > ..\..\..\..\..\..\tools\lld\lib\ReaderWriter\PECOFF\ReaderCOFF.cpp, line 706 > > Is this supposed to work? > > What can SVN lld link on Windows 32/64 bit? > > Yaron > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131216/e8cec70f/attachment.html>
That's right. LLD is now able to link itself on Windows 32 bit but I used cl.exe as the compiler. I usually build LLD normally and replace the final linker command line by s/link/lld -flavor link/. On Tue, Dec 17, 2013 at 6:55 AM, Reid Kleckner <rnk at google.com> wrote:> Rui has reported that he can successfully self-link lld on Windows, but I > believe he is using cl.exe as the compiler. > > > On Mon, Dec 16, 2013 at 1:47 PM, Yaron Keren <yaron.keren at gmail.com>wrote: > >> Hi, >> >> I have tried using SVN lld to link a simple C++ file compiled with >> clang -target i686-pc-mingw32 but failed with an assert >> >> Assertion failed: ret, file >> ..\..\..\..\..\..\tools\lld\lib\ReaderWriter\PECOFF\ReaderCOFF.cpp, line 706 >> >> Is this supposed to work? >> >> What can SVN lld link on Windows 32/64 bit? >> >> Yaron >> >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >> >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131217/78536614/attachment.html>
Seemingly Similar Threads
- [LLVMdev] [lld] What can SVN lld link on Windows?
- SmallString + raw_svector_ostream combination should be more efficient
- [LLVMdev] Size limitations in MCJIT / ELF Dynamic Linker/ ELF codegen?
- [LLVMdev] Size limitations in MCJIT / ELF Dynamic Linker/ ELF codegen?
- [LLVMdev] Size limitations in MCJIT / ELF Dynamic Linker/ ELF codegen?