[SRU] Request LLVM 12.0.1 backport to focal/updates

Bug #1935778 reported by Jeroen van Rijn | Odin-Lang.org
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
llvm-toolchain-12 (Ubuntu)
Undecided
Unassigned
Focal
Undecided
Unassigned
Hirsute
Undecided
Unassigned

Bug Description

[ Impact ]
* People using llvm backend with other compilers
[ Description ]
* There is a fixed bug in 12.0.1 for this issue, the backend is unusable with some external compilers
[ Regression potential ]
* Low, this is part of upstream since 12.0.1 to 14
[Other info]
Hi,

Focal Fossa currently carries LLVM 12.0.0, which has a bug in its C API that renders it unusable as a backend for some compilers.

The upstream commit that fixes the bug is https://github.com/llvm/llvm-project/commit/07234c7d6bc246925710b88a1f9552f678587165 and was included in their 12.0.1 release.

Would you be so kind as to backport 12.0.1 to Ubuntu 20.04 LTS, please?

Thanks in advance for your reply.

Changed in llvm-toolchain-12 (Ubuntu Focal):
status: New → In Progress
Changed in llvm-toolchain-12 (Ubuntu Hirsute):
status: New → In Progress
Changed in llvm-toolchain-12 (Ubuntu):
status: New → Fix Released
description: updated
summary: - Request LLVM 12.0.1 backport to focal/updates
+ [SRU] Request LLVM 12.0.1 backport to focal/updates
Revision history for this message
Jeroen van Rijn | Odin-Lang.org (odin-lang-jeroen) wrote :

Thank you for your work on this, Gianfranco.

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

@Jeroen, I didn't backport the new release, just cherry-picked the fix.
(I'm pretty sure some backport will come eventually but better don't put too much stuff under the SRU Release Team hat)

I'll need you to test the build for focal and hirsute once SRU team accepts the package! :)

Revision history for this message
Jeroen van Rijn | Odin-Lang.org (odin-lang-jeroen) wrote :

I can certainly do that. Much obliged. :-)

Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Jeroen, or anyone else affected,

Accepted llvm-toolchain-12 into hirsute-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/llvm-toolchain-12/1:12.0.0-3ubuntu1~21.04.2 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 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, what testing has been performed on the package and change the tag from verification-needed-hirsute to verification-done-hirsute. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-hirsute. In either case, without details of your testing we will not be able to proceed.

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

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in llvm-toolchain-12 (Ubuntu Hirsute):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-hirsute
Changed in llvm-toolchain-12 (Ubuntu Focal):
status: In Progress → Fix Committed
tags: added: verification-needed-focal
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello Jeroen, or anyone else affected,

Accepted llvm-toolchain-12 into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/llvm-toolchain-12/1:12.0.0-3ubuntu1~20.04.4 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 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, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

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

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Jeroen van Rijn | Odin-Lang.org (odin-lang-jeroen) wrote :

Thank you, Timo.

I'll test it this weekend and update the bug report with my findings as outlined.

Revision history for this message
Jeroen van Rijn | Odin-Lang.org (odin-lang-jeroen) wrote :

Hi Timo,

I am happy to report that https://launchpad.net/ubuntu/+source/llvm-toolchain-12/1:12.0.0-3ubuntu1~20.04.4 does indeed fix the problem. Odin's LLVM branch builds against it and passes its test suite.

Enabling proposed on Focal did not show any upgrades for LLVM. I ended up downloading and installing the build artifacts manually with `dpkg -i`. It worked fine.

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

setting as verification done!

btw installing works fine on focal for me
Get:16 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 libllvm12 amd64 1:12.0.0-3ubuntu1~20.04.4 [18.8 MB]

maybe it was an outdated mirror or a not-yet-published binary

tags: added: verification-done verification-done-focal verification-done-hirsute
removed: verification-needed verification-needed-focal verification-needed-hirsute
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of the Stable Release Update for llvm-toolchain-12 has completed successfully and the package is now being 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 llvm-toolchain-12 - 1:12.0.0-3ubuntu1~20.04.4

---------------
llvm-toolchain-12 (1:12.0.0-3ubuntu1~20.04.4) focal; urgency=medium

  * debian/patches/07234c7d6bc246925710b88a1f9552f678587165.patch:
    - cherry-pick upstream fix for making the compiler backend usable with
      different compilers (LP: #1935778)

 -- Gianfranco Costamagna <email address hidden> Wed, 01 Sep 2021 12:28:35 +0200

Changed in llvm-toolchain-12 (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package llvm-toolchain-12 - 1:12.0.0-3ubuntu1~21.04.2

---------------
llvm-toolchain-12 (1:12.0.0-3ubuntu1~21.04.2) hirsute; urgency=medium

  * debian/patches/07234c7d6bc246925710b88a1f9552f678587165.patch:
    - cherry-pick upstream fix for making the compiler backend usable with
      different compilers (LP: #1935778)

 -- Gianfranco Costamagna <email address hidden> Wed, 01 Sep 2021 12:35:14 +0200

Changed in llvm-toolchain-12 (Ubuntu Hirsute):
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

Related questions