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 1988450 - annocheck reports that libgomp.so.1.0.0, libstdc++.so.6.0.29, and libgcc_s-11-20210623.so.1 are built without -Wl,-z,now
Summary: annocheck reports that libgomp.so.1.0.0, libstdc++.so.6.0.29, and libgcc_s-11...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: gcc
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Marek Polacek
QA Contact: Václav Kadlčík
URL:
Whiteboard:
Depends On:
Blocks: 2044387
TreeView+ depends on / blocked
 
Reported: 2021-07-30 15:03 UTC by Jan Pazdziora (Red Hat)
Modified: 2023-07-18 14:25 UTC (History)
8 users (show)

Fixed In Version: gcc-11.2.1-2.2.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-07 21:30:47 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)

Description Jan Pazdziora (Red Hat) 2021-07-30 15:03:28 UTC
Description of problem:

Running annocheck on /usr/lib64/libgomp.so* /usr/lib64/libstdc++.so.* /lib64/libgcc_s-*.so.* fails.

Version-Release number of selected component (if applicable):

libgcc-11.1.1-6.1.el9.x86_64
libgomp-11.1.1-6.1.el9.x86_64
libstdc++-11.1.1-6.1.el9.x86_64

How reproducible:

Deterministic.

Steps to Reproduce:
1. annocheck /usr/lib64/libgomp.so* /usr/lib64/libstdc++.so.* /lib64/libgcc_s-*.so.*

Actual results:

annocheck: Version 9.79.
Hardened: libgcc_s-11-20210623.so.1: FAIL: bind-now test because not linked with -Wl,-z,now 
Hardened: Rerun annocheck with --verbose to see more information on the tests.
Hardened: libstdc++.so.6.0.29: FAIL: bind-now test because not linked with -Wl,-z,now 
Hardened: libstdc++.so.6: FAIL: bind-now test because not linked with -Wl,-z,now 
Hardened: libgomp.so.1.0.0: FAIL: bind-now test because not linked with -Wl,-z,now 
Hardened: libgomp.so.1: FAIL: bind-now test because not linked with -Wl,-z,now 

Expected results:

No FAILs.

Additional info:

Comment 11 Václav Kadlčík 2021-08-16 05:43:03 UTC
Pre-verified: gcc-11.2.1-2.2.el9

Comment 14 Václav Kadlčík 2021-08-17 08:54:37 UTC
verified: gcc-11.2.1-2.2.el9


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