Bug 2056691
| Summary: | Building with -mcpu=native on new Arm type fails | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Peter Rival <frival> | |
| Component: | binutils | Assignee: | Nick Clifton <nickc> | |
| binutils sub component: | system-version | QA Contact: | Miloš Prchlík <mprchlik> | |
| Status: | CLOSED ERRATA | Docs Contact: | ||
| Severity: | high | |||
| Priority: | unspecified | CC: | ahajkova, bgray, dmalcolm, dshaks, efuller, fweimer, gcase, jakub, jbastian, mcermak, mpolacek, mprchlik, nickc, ohudlick, sipoyare, tumeya, vkadlcik | |
| Version: | 8.5 | Keywords: | FutureFeature, Triaged | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | aarch64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | binutils-2.30-115.el8 | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2071038 (view as bug list) | Environment: | ||
| Last Closed: | 2022-11-08 10:45:15 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2071038 | |||
|
Comment 8
Nick Clifton
2022-04-01 16:24:58 UTC
Fixed in binutils-2.30-115.el8 Verified with binutils-2.30-116.el8 reproducer from comment #5: $ cat x.c int main () { } $ $ cat flags processor : 0 BogoMIPS : 2100.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs dcpodp svei8mm svebf16 i8mm bf16 dgh rng CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd40 CPU revision : 1 $ $ GCC_CPUINFO=flags gcc x.c -mcpu=native Assembler messages: Error: unknown architectural extension `rng+nodotprod+nofp16fml' Error: unrecognized option -march=armv8.4-a+crypto+rcpc+sha3+sm4+sve+rng+nodotprod+nofp16fml $ $ GCC_CPUINFO=flags gcc x.c -mcpu=native $ 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 (binutils 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/RHBA-2022:7693 |