let gold ignore the -fuse-ld option passed by newer GCC versions

Bug #1438244 reported by Matthias Klose
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
binutils (Ubuntu)
Fix Released
Undecided
Unassigned
Lucid
Fix Released
Undecided
Unassigned
Precise
Fix Released
Undecided
Unassigned

Bug Description

GCC 4.9 and newer versinos (and 4.8 patched for Ubuntu) pass the -fuse-ld option to the linker. gold in precise errors out with

/usr/bin/ld.gold: fatal error: -f/--auxiliary may not be used without -shared
collect2: error: ld returned 1 exit status

Let gold understand (and ignore) this option.

Test: ld.gold accepts this option.

Revision history for this message
Matthias Klose (doko) wrote :

fixed in 14.04 LTS and later releases

Changed in binutils (Ubuntu):
status: New → Fix Released
Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Matthias, or anyone else affected,

Accepted binutils into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/binutils/2.22-6ubuntu1.3 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in binutils (Ubuntu Precise):
status: New → Fix Committed
tags: added: verification-needed
Changed in binutils (Ubuntu Lucid):
status: New → Fix Committed
Revision history for this message
Chris J Arges (arges) wrote :

Hello Matthias, or anyone else affected,

Accepted binutils into lucid-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/binutils/2.20.1-3ubuntu7.3 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Matthias Klose (doko) wrote :

the package built everywhere. the flag is accepted, and ignored. checked on precise and lucid

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package binutils - 2.22-6ubuntu1.3

---------------
binutils (2.22-6ubuntu1.3) precise-proposed; urgency=medium

  * gold: Add -fuse-ld= for GCC linker option compatibility. LP: #1438244.
 -- Matthias Klose <email address hidden> Mon, 30 Mar 2015 16:52:07 +0200

Changed in binutils (Ubuntu Precise):
status: Fix Committed → Fix Released
Revision history for this message
Adam Conrad (adconrad) wrote : Update Released

The verification of the Stable Release Update for binutils has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package binutils - 2.20.1-3ubuntu7.3

---------------
binutils (2.20.1-3ubuntu7.3) lucid-proposed; urgency=medium

  * gold: Add -fuse-ld= for GCC linker option compatibility. LP: #1438244.
 -- Matthias Klose <email address hidden> Mon, 30 Mar 2015 17:08:48 +0200

Changed in binutils (Ubuntu Lucid):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.