Uh oh!
There was an error while loading. Please reload this page.
MinGW: improve compatibility with LLD - #70852
Conversation
rust-highfive
commented
Apr 6, 2020
(rust_highfive has picked a reviewer for you, use r? to override) |
mati865
commented
Apr 6, 2020
Updated description, it was PEBCAK and this PR doesn't help with #50176 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
a0cf890 to
809aa16Comparepetrochenkov
commented
Apr 7, 2020
@bors r+ |
bors
commented
Apr 7, 2020
📌 Commit 809aa16c40d962c7a5090223a5ce98cd57ee233e has been approved by |
This greatly improves compatibility with LLD which is not going to support linker scripts anytime soon
Just noticed that the commit message was malformed, sorry for the trouble. |
mati865
commented
Apr 11, 2020
@petrochenkov could you |
petrochenkov
commented
Apr 11, 2020
@bors r+ |
bors
commented
Apr 11, 2020
📌 Commit 44e602f has been approved by |
bors
commented
Apr 12, 2020
⌛ Testing commit 44e602f with merge 54fd296879f8ec8875d2aaf5735bc395c701ad83... |
bors
commented
Apr 12, 2020
💔 Test failed - checks-azure |
mati865
commented
Apr 13, 2020
It's much worse than I thought. I'll see if I can implement |
petrochenkov
commented
Apr 13, 2020
😆 |
mati865
commented
Apr 13, 2020
It does support it at least to some extent. Either the .def file needs some more work on it or it's just bugged. Regressions I have found:
|
mati865
commented
May 9, 2020
Another attempt at |
LLD unlike LD doesn't implement linker script support for MinGW and this has so low priority it may be never implemented. However they both support MSVC like .def files.
Once this and rust-lang/cargo#6875 reach beta and bootstrap compiler is updated using LLD as the linker will work fine.