gold: Fix internal error when applying TLSDESC relocations with no TLS segment.

Bug #1722162 reported by Timo Aaltonen on 2017-10-09
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
binutils (Ubuntu)

Bug Description


llvm-5.0 fails to build on arm64/xenial because of gold/19353.

[Test case]

backport the upstream commit, test llvm-5 build ond arm64

[Regression potential]

Timo Aaltonen (tjaalton) on 2017-10-09
Changed in binutils (Ubuntu):
status: New → Invalid
Changed in binutils:
importance: Unknown → Medium
status: Unknown → Fix Released
Timo Aaltonen (tjaalton) on 2017-11-08
description: updated
Adam Conrad (adconrad) wrote :

I've built this in the ubuntu-security-proposed PPA so it can be copied to -security once it passes SRU verification, to keep the toolchain in sync between pockets.

Changed in binutils (Ubuntu Xenial):
status: New → Fix Committed
tags: added: verification-needed verification-needed-xenial

Hello Timo, or anyone else affected,

Accepted binutils into xenial-proposed. The package will build now and be available at in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See for documentation on 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-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at . Thank you in advance!

Łukasz Zemczak (sil2100) wrote :

I see that most of the failing kernel autopkgtests for this upload are simply the usual 'kernel version mismatch' thing, so they shouldn't potentially block the release of this SRU. Would be good though if the uploader double-confirms this along with verifying the fix with the new package.

Timo Aaltonen (tjaalton) wrote :

The fix has been verified, llvm builds fine on xenial-proposed

tags: added: verification-done-xenial
removed: verification-needed-xenial

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.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package binutils - 2.26.1-1ubuntu1~16.04.6

binutils (2.26.1-1ubuntu1~16.04.6) xenial; urgency=medium

  * pr19353.diff: Fix internal error when applying TLSDESC relocations with no TLS
    segment. (LP: #1722162)

 -- Timo Aaltonen <email address hidden> Wed, 08 Nov 2017 18:06:03 +0200

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

Other bug subscribers

Remote bug watches

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