Skip to content

[SR-941] SwiftPM bootstrap and gold linker #5383

@swift-ci

Description

@swift-ci
Previous ID SR-941
Radar None
Original Reporter rlovelett (JIRA User)
Type Bug
Status Resolved
Resolution Done
Environment

Arch Linux (Kernel 4.4.5-1)
GNU ld (GNU Binutils) 2.26.0.20160302
GNU gold (GNU Binutils 2.26.0.20160302) 1.11

Additional Detail from JIRA
Votes 3
Component/s Package Manager
Labels Bug, BuildScript, Linux, arm
Assignee None
Priority Medium

md5: 5e1b3469cc8851ca9d0d658e6bb96829

is duplicated by:

  • SR-1316 swift-package-manager link doesn't seem to respect the gold linker flag on Ubuntu

Issue Description:

Description

The SwiftPM bootstrap utility does not honor the request for using the gold linker. For example, when using the build script like so utils/build-script --release --lldb --foundation --llbuild --swiftpm – --reconfigure=1 --verbose-build=1 --use-gold-linker.

Background

The only reason why I am using the gold linker is to work around a complication with the latest binutils (v2.26) on Linux. This is a known issue whose work around is to use the gold linker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions