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
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:


Attachments (Terms of Use)

Description Jan Pazdziora 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.