SwiftPM bootstrap and gold linker


(Ryan Lovelett) #1

I am using a newer version of binutils (2.26) which is leading me to run
into a known issue with the linker. The suggested work around is to use
the gold linker* [1] [2].

However when I run the gold linker with the SwiftPM bootstrap it doesn't
seem to honor the gold linker request. Is this a feature or a bug?

[1] http://comments.gmane.org/gmane.comp.lang.swift.devel/1174
[2] http://comments.gmane.org/gmane.comp.lang.swift.devel/1258


(Max Howell) #2

Bug, please report it to https://bugs.swift.org

Thanks!

···

On Mar 14, 2016, at 11:24 AM, Ryan Lovelett via swift-build-dev <swift-build-dev@swift.org> wrote:

I am using a newer version of binutils (2.26) which is leading me to run
into a known issue with the linker. The suggested work around is to use
the gold linker* [1] [2].

However when I run the gold linker with the SwiftPM bootstrap it doesn't
seem to honor the gold linker request. Is this a feature or a bug?

[1] http://comments.gmane.org/gmane.comp.lang.swift.devel/1174
[2] http://comments.gmane.org/gmane.comp.lang.swift.devel/1258
_______________________________________________
swift-build-dev mailing list
swift-build-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-build-dev


(Ryan Lovelett) #3

Done https://bugs.swift.org/browse/SR-941 :+1:

I'm not sure where this falls on a priority list (if at all). So I'll
say that I'm interested in attempting to fix this because its of a
relatively high priority for me.

Additionally do you have intuition into where you'd look to fix this? If
not no worries.

···

On Mon, Mar 14, 2016, at 02:36 PM, Max Howell wrote:

Bug, please report it to https://bugs.swift.org

Thanks!

> On Mar 14, 2016, at 11:24 AM, Ryan Lovelett via swift-build-dev <swift-build-dev@swift.org> wrote:
>
> I am using a newer version of binutils (2.26) which is leading me to run
> into a known issue with the linker. The suggested work around is to use
> the gold linker* [1] [2].
>
> However when I run the gold linker with the SwiftPM bootstrap it doesn't
> seem to honor the gold linker request. Is this a feature or a bug?
>
> [1] http://comments.gmane.org/gmane.comp.lang.swift.devel/1174
> [2] http://comments.gmane.org/gmane.comp.lang.swift.devel/1258
> _______________________________________________
> swift-build-dev mailing list
> swift-build-dev@swift.org
> https://lists.swift.org/mailman/listinfo/swift-build-dev