Bug 2044917
Summary: | annocheck FAIL: pie test (gcc) | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Rui Ormonde <rlemosor> |
Component: | gcc | Assignee: | Marek Polacek <mpolacek> |
gcc sub component: | system-version | QA Contact: | Václav Kadlčík <vkadlcik> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | unspecified | ||
Priority: | unspecified | CC: | ahajkova, fweimer, jakub, ohudlick |
Version: | 9.0 | Keywords: | Bugfix, Triaged |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | gcc-11.2.1-9.4.el9 | Doc Type: | No Doc Update |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-05-17 15:55:42 UTC | Type: | --- |
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: | 2044387 |
Description
Rui Ormonde
2022-01-25 10:48:20 UTC
*** Bug 2044918 has been marked as a duplicate of this bug. *** Ug. It looks like this is the problem: gcc/Makefile.in: # We don't want to compile the compilers with -fPIE, it make PCH fail. COMPILER += $(NO_PIE_CFLAGS) # Link with -no-pie since we compile the compiler with -fno-PIE. LINKER += $(NO_PIE_FLAG) the PCH note is no longer true (on trunk, anyway). I'll try --enable-default-pie. Thanks for noticing. (In reply to Marek Polacek from comment #5) > Ug. It looks like this is the problem: > > gcc/Makefile.in: > # We don't want to compile the compilers with -fPIE, it make PCH fail. > COMPILER += $(NO_PIE_CFLAGS) > > # Link with -no-pie since we compile the compiler with -fno-PIE. > LINKER += $(NO_PIE_FLAG) > > the PCH note is no longer true (on trunk, anyway). > > I'll try --enable-default-pie. This is (of course) not an option here. I've tried sed -i 's/ @NO_PIE_FLAG@//' gcc/Makefile.in sed -i 's/ @NO_PIE_CFLAGS@//' gcc/Makefile.in but that still doesn't produce PIE binaries. Not sure what to do here. Not going to be ready today. 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 (new packages: gcc), 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:3966 |