Bug 2150135 - __builtin_cpu_is ("sapphirerapids") failed on SPR with GTS12.0 DTS12.0 [RHEL 7.9/DTS 12.0.z]
Summary: __builtin_cpu_is ("sapphirerapids") failed on SPR with GTS12.0 DTS12.0 [RHEL ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Developer Toolset
Classification: Red Hat
Component: gcc
Version: DTS 12.0 RHEL 7
Hardware: x86_64
OS: Unspecified
unspecified
urgent
Target Milestone: alpha
: 9.1
Assignee: Marek Polacek
QA Contact: Václav Kadlčík
URL:
Whiteboard:
Depends On: 2141718 2150133
Blocks: 2150126 2150130
TreeView+ depends on / blocked
 
Reported: 2022-12-01 21:45 UTC by Marek Polacek
Modified: 2023-07-18 14:10 UTC (History)
6 users (show)

Fixed In Version: devtoolset-12-gcc-12.1.1-3.4.el7
Doc Type: Bug Fix
Doc Text:
The Sapphire Rapids CPU detection could fail on SPR since it relies on existence of AVX512_VP2INTERSECT which has been removed.
Clone Of: 2150133
Environment:
Last Closed: 2023-01-02 06:21:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker DTS-495 0 None None None 2022-12-01 21:53:44 UTC
Red Hat Product Errata RHBA-2023:0008 0 None None None 2023-01-02 06:21:24 UTC

Comment 1 Marek Polacek 2022-12-02 14:37:15 UTC
Done.

Patch #15 (gcc12-detect-sapphirerapids.patch):
+ echo 'Patch #15 (gcc12-detect-sapphirerapids.patch):'
+ /usr/bin/cat /builddir/build/SOURCES/gcc12-detect-sapphirerapids.patch
+ /usr/bin/patch -p1 -b --suffix .detect-spr~ --fuzz=0
patching file gcc/config/i386/driver-i386.cc
patching file gcc/config/i386/i386.h
patching file gcc/doc/invoke.texi
Hunk #1 succeeded at 31540 (offset -1 lines).

Comment 12 errata-xmlrpc 2023-01-02 06:21:22 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 (devtoolset-12-gcc bug fix 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/RHBA-2023:0008


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