[swift-dev] Requiring gold linker for Linux targets?

Saleem Abdulrasool compnerd at compnerd.org
Fri May 13 20:50:05 CDT 2016


On ARM targets, gold is already required due to a certain bugs in the
handling of relocations for those targets.

For other targets, there was a bug exposed in the BFD linker (which is
believed to have been fixed in a newer release).

Recently, another change seems to have exposed yet another issue with
linking on x86 targets.

Given the frequency with which issues occurring with the BFD linker, is it
reasonable to say that building swift requires the gold linker?  To the
previous three issues, I believe that two of them were worked around with
the approach of using gold.  So, there is some precedent to that approach.
Furthermore, this idea has been brought up before.

Im hoping that this can spark a thread which can come up to some conclusion
to whether it is reasonable to expect that the linux builds would use gold
for the foreseeable future.

Saleem Abdulrasool
compnerd (at) compnerd (dot) org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160513/4e2b617f/attachment.html>

More information about the swift-dev mailing list