LLVM 12.0.1 backport to 20.04

Asked by Jeroen van Rijn | Odin-Lang.org

Hi,

I'm wondering if LLVM 12.0.1 could be backported to 20.04, please.

As Focal Fossa is an LTS release, and LLVM 12.0.1 contains a fix for its C API, it would be lovely if Fossa could receive the same backport as Impish.

See https://code.launchpad.net/~usd-import-team/ubuntu/+source/llvm-toolchain-12/+git/llvm-toolchain-12 for reference.

Edit: Focal presently carries LLVM 12.0.0, which contains a bug in the C API that renders it unusable for some compilers.

The upstream commit that fixes the bug is https://github.com/llvm/llvm-project/commit/07234c7d6bc246925710b88a1f9552f678587165 and it was included in their 12.0.1 release, which is regrettably unavailable on Focal Fossa at the moment.

Thanks in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu llvm-toolchain-12 Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Bernard Stafford (bernard010) said :
#1

I found it listed under focal-updates.
https://packages.ubuntu.com/focal-updates/llvm-12
This should be what you were asking about.

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

Hi Bernard,

1:12.0.0-3ubuntu1~20.04.3 is the 12.0.0 LLVM release, which I was already aware of. It contains the bug fixed in 12.0.1.

Thank you just the same.

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#3

For a workaround: There is a PPA https://launchpad.net/~nicola-onorata/+archive/ubuntu/llvm (with the usual caveats for a PPA)

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

Thanks, Manfred.

I was considering a PPA until 12.0.1 was backported to /updates. Great find.
I'll consider it a temporary solution and leave open the bug report.

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

Thanks Manfred Hampl, that solved my question.