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 2037333 - FAIL for missing -D_FORTIFY_SOURCE=2 appears to be bogus
Summary: FAIL for missing -D_FORTIFY_SOURCE=2 appears to be bogus
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: annobin
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Nick Clifton
QA Contact: Václav Kadlčík
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-05 13:13 UTC by Jindrich Novy
Modified: 2022-05-17 12:49 UTC (History)
5 users (show)

Fixed In Version: annobin-10.44-1.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-17 12:33:28 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-106872 0 None None None 2022-01-05 13:19:46 UTC
Red Hat Product Errata RHEA-2022:2342 0 None None None 2022-05-17 12:33:39 UTC

Comment 1 Nick Clifton 2022-01-05 15:22:34 UTC
The erroneous FAIL messages are caused because the executables are being linked with the static C library (libc.a) rather than the dynamic C library (libc.so).  As a result glibc code is brought in to the executable, and glibc compiles its code without -D_FORTIFY_SOURCE=2.  Annocheck does contain heuristics to detect this static glibc code, based upon the names of the functions being called, but this method is sensitive to code reorganizations by the compiler (and linker).  In this case it turns out that some new function names are being detected, ones that were not known to the heuristic.

I have a local patch which updates annocheck's internal list of known glibc functions.  Once the permissions are in place I will build a new release.

Comment 2 Nick Clifton 2022-01-06 12:13:44 UTC
Fixed in annobin-10.42-1.el9

Comment 10 Nick Clifton 2022-01-07 15:15:24 UTC
Fixed in annobin-10.44-1.el9

Comment 18 errata-xmlrpc 2022-05-17 12:33:28 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 (new packages: annobin), 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-2022:2342


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