RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1952248 - update to LLVM 12
Summary: update to LLVM 12
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: llvm-toolset
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: serge_sans_paille
QA Contact: Miloš Prchlík
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-21 20:49 UTC by Davide Cavalca
Modified: 2021-11-10 00:19 UTC (History)
5 users (show)

Fixed In Version: llvm-toolset-12.0.0-1.module+el8.5.0+11188+97d2441b
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-09 18:34:20 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2021:4233 0 None None None 2021-11-09 18:34:44 UTC

Description Davide Cavalca 2021-04-21 20:49:58 UTC
CentOS Stream 8 currently ships LLVM 11 as part of the llvm-toolset module. As LLVM is under a "rolling application stream" lifecycle, would it be possible to update it to LLVM 12 (or, alternatively, ship LLVM 12 as an alternate module stream) ? We were considering doing this as part of the CentOS Hyperscale SIG (see https://pagure.io/centos-sig-hyperscale/sig/issue/46), but if we could get LLVM 12 in CentOS Stream proper that would be a lot better. Thanks!

Comment 1 Tom Stellard 2021-04-30 18:18:39 UTC
We are planning to update to LLVM 12 for RHEL 8.5.  I don't know yet when the builds will be ready for CentOS Steam.

Comment 2 Davide Cavalca 2021-05-07 22:01:52 UTC
I put up our work in progress at https://git.centos.org/rpms/llvm/tree/c8s-sig-hyperscale in case it can be useful. This is building fine, but there's a few somewhat worrying test failures that I haven't managed to figure out yet:

Failed Tests (10):
  LLVM-Unit :: IR/./IRTests/CGSCCCallbacksTest.InstrumentedInvalidatingPasses
  LLVM-Unit :: IR/./IRTests/CGSCCCallbacksTest.InstrumentedPasses
  LLVM-Unit :: IR/./IRTests/CGSCCCallbacksTest.InstrumentedSkippedPasses
  LLVM-Unit :: IR/./IRTests/FunctionCallbacksTest.InstrumentedPasses
  LLVM-Unit :: IR/./IRTests/FunctionCallbacksTest.InstrumentedSkippedPasses
  LLVM-Unit :: IR/./IRTests/LoopCallbacksTest.InstrumentedInvalidatingLoopNestPasses
  LLVM-Unit :: IR/./IRTests/LoopCallbacksTest.InstrumentedInvalidatingPasses
  LLVM-Unit :: IR/./IRTests/LoopCallbacksTest.InstrumentedPasses
  LLVM-Unit :: IR/./IRTests/LoopCallbacksTest.InstrumentedSkippedPasses
  LLVM-Unit :: IR/./IRTests/ModuleCallbacksTest.InstrumentedSkippedPasses

You can see the full log in https://cbs.centos.org/koji/taskinfo?taskID=2483905

Comment 3 Davide Cavalca 2021-05-08 00:07:29 UTC
clang is also up at https://git.centos.org/rpms/clang/tree/c8s-sig-hyperscale and being built in https://cbs.centos.org/koji/taskinfo?taskID=2483917

Comment 4 Tom Stellard 2021-05-08 04:12:27 UTC
(In reply to Davide Cavalca from comment #2)
> I put up our work in progress at
> https://git.centos.org/rpms/llvm/tree/c8s-sig-hyperscale in case it can be
> useful. This is building fine, but there's a few somewhat worrying test
> failures that I haven't managed to figure out yet:
> 
> Failed Tests (10):
>   LLVM-Unit :: IR/./IRTests/CGSCCCallbacksTest.InstrumentedInvalidatingPasses
>   LLVM-Unit :: IR/./IRTests/CGSCCCallbacksTest.InstrumentedPasses
>   LLVM-Unit :: IR/./IRTests/CGSCCCallbacksTest.InstrumentedSkippedPasses
>   LLVM-Unit :: IR/./IRTests/FunctionCallbacksTest.InstrumentedPasses
>   LLVM-Unit :: IR/./IRTests/FunctionCallbacksTest.InstrumentedSkippedPasses
>   LLVM-Unit ::
> IR/./IRTests/LoopCallbacksTest.InstrumentedInvalidatingLoopNestPasses
>   LLVM-Unit :: IR/./IRTests/LoopCallbacksTest.InstrumentedInvalidatingPasses
>   LLVM-Unit :: IR/./IRTests/LoopCallbacksTest.InstrumentedPasses
>   LLVM-Unit :: IR/./IRTests/LoopCallbacksTest.InstrumentedSkippedPasses
>   LLVM-Unit :: IR/./IRTests/ModuleCallbacksTest.InstrumentedSkippedPasses
> 
> You can see the full log in
> https://cbs.centos.org/koji/taskinfo?taskID=2483905

We've been blocked on the RHEL8 builds for a while trying to fix a different miscompile.  We have a fix now for that miscompile: https://reviews.llvm.org/D101972, and I think that this patch may also fix the failures you are seeing.

Comment 5 Davide Cavalca 2021-05-09 22:18:16 UTC
Thanks! That seems to have worked, and all tests are now passing. Updated builds:
- llvm: https://cbs.centos.org/koji/buildinfo?buildID=32870
- clang: https://cbs.centos.org/koji/buildinfo?buildID=32871

We'll try these out next week and report back.

Comment 8 Miloš Prchlík 2021-06-28 09:08:33 UTC
Verified with llvm-toolset-rhel8-8050020210609075550.b4937e53, llvm-12.0.0-6.3.hs.el8, clang-12.0.0-1.3.hs.el8.

Comment 9 Carl George 🤠 2021-06-30 23:55:17 UTC
llvm-toolset:rhel8 in CS8 has been updated to llvm and clang 12.

Comment 12 errata-xmlrpc 2021-11-09 18:34:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (llvm-toolset:rhel8 bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2021:4233


Note You need to log in before you can comment on or make changes to this bug.