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 2028717 - annocheck failure: "FAIL: bind-now test because not linked with -Wl,-z,now "
Summary: annocheck failure: "FAIL: bind-now test because not linked with -Wl,-z,now "
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: crash-gcore-command
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 9.0
Assignee: lijiang
QA Contact: Jie Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-03 02:44 UTC by lijiang
Modified: 2022-08-30 04:19 UTC (History)
4 users (show)

Fixed In Version: crash-gcore-command-1.6.2-4.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-17 13:27:10 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-104640 0 None None None 2021-12-03 02:47:09 UTC
Red Hat Product Errata RHBA-2022:2511 0 None None None 2022-05-17 13:27:17 UTC

Description lijiang 2021-12-03 02:44:43 UTC
Description of problem:

annocheck:
----------

1) annocheck 'rhel-policy' test fails for /usr/lib64/crash/extensions/gcore.so on aarch64

Result: VERIFY
Waiver Authorization: Not Waivable

Details:
Command: annocheck --ignore-unknown --verbose --debug-dir=/var/tmp/rpminspect/crash-gcore-command-1.6.2.KWqfkl/after/aarch64/crash-gcore-command-debuginfo-1.6.2-3.el9.aarch64 /usr/lib64/crash/extensions/gcore.so
Exit Code: 256

annocheck: Version 10.13.
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: pie test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: optimization test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: pic test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: stack-prot test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: lto test because detected in DWARF information 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: writable-got test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: dynamic-segment test 
Hardened: /usr/lib64/crash/extensions/gcore.so: FAIL: bind-now test because not linked with -Wl,-z,now 
Hardened: /usr/lib64/crash/extensions/gcore.so: info: For more information visit: https://sourceware.org/annobin/annobin.html/Test-bind-now.html
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: not-dynamic-tags test because BTI_PLT and PAC_PLT flags not in the dynamic tags 
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: fortify test because LTO compilation discards preprocessor options 
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: glibcxx-assertions test because source language not C++ 
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: warnings test because LTO compilation discards preprocessor options 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: stack-clash test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: gnu-stack test because stack segment exists with the correct permissions 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: gnu-relro test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: notes test because no gaps found 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: not-branch-protection test because the -mbranch-protection option was not used 
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: cf-protection test because not an x86 executable 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: entry test 
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: go-revision test because no GO compiled code found 
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: only-go test because not compiled for x86 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: production test 
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: property-note test because test only useful if branch protection is being checked 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: run-path test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: rwx-seg test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: short-enums test 
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: stack-realign test because not an x86 executable 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: textrel test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: threads test 
Hardened: gcore.so: Overall: FAIL.

Suggested Remedy:
See annocheck(1) for more information.


2) annocheck 'rhel-policy' test fails for /usr/lib64/crash/extensions/gcore.so on ppc64le

Result: VERIFY
Waiver Authorization: Not Waivable

Details:
Command: annocheck --ignore-unknown --verbose --debug-dir=/var/tmp/rpminspect/crash-gcore-command-1.6.2.KWqfkl/after/ppc64le/crash-gcore-command-debuginfo-1.6.2-3.el9.ppc64le /usr/lib64/crash/extensions/gcore.so
Exit Code: 256

annocheck: Version 10.13.
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: pie test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: optimization test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: pic test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: stack-prot test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: lto test because detected in DWARF information 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: writable-got test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: dynamic-segment test 
Hardened: /usr/lib64/crash/extensions/gcore.so: FAIL: bind-now test because not linked with -Wl,-z,now 
Hardened: /usr/lib64/crash/extensions/gcore.so: info: For more information visit: https://sourceware.org/annobin/annobin.html/Test-bind-now.html
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: fortify test because LTO compilation discards preprocessor options 
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: glibcxx-assertions test because source language not C++ 
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: warnings test because LTO compilation discards preprocessor options 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: stack-clash test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: gnu-stack test because stack segment exists with the correct permissions 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: gnu-relro test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: notes test because no gaps found 
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: not-branch-protection test because not an AArch64 binary 
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: cf-protection test because not an x86 executable 
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: not-dynamic-tags test because AArch64 specific 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: entry test 
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: go-revision test because no GO compiled code found 
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: only-go test because not compiled for x86 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: production test 
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: property-note test because property notes not used 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: run-path test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: rwx-seg test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: short-enums test 
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: stack-realign test because not an x86 executable 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: textrel test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: threads test 
Hardened: gcore.so: Overall: FAIL.

Suggested Remedy:
See annocheck(1) for more information.


3) annocheck 'rhel-policy' test fails for /usr/lib64/crash/extensions/gcore.so on x86_64

Result: VERIFY
Waiver Authorization: Not Waivable

Details:
Command: annocheck --ignore-unknown --verbose --debug-dir=/var/tmp/rpminspect/crash-gcore-command-1.6.2.KWqfkl/after/x86_64/crash-gcore-command-debuginfo-1.6.2-3.el9.x86_64 /usr/lib64/crash/extensions/gcore.so
Exit Code: 256

annocheck: Version 10.13.
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: pie test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: optimization test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: pic test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: stack-prot test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: lto test because detected in DWARF information 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: cf-protection test because correct flags found in .note.gnu.property note 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: property-note test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: writable-got test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: dynamic-segment test 
Hardened: /usr/lib64/crash/extensions/gcore.so: FAIL: bind-now test because not linked with -Wl,-z,now 
Hardened: /usr/lib64/crash/extensions/gcore.so: info: For more information visit: https://sourceware.org/annobin/annobin.html/Test-bind-now.html
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: fortify test because LTO compilation discards preprocessor options 
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: glibcxx-assertions test because source language not C++ 
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: warnings test because LTO compilation discards preprocessor options 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: stack-clash test 
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: entry test because shared libraries do not use entry points 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: gnu-stack test because stack segment exists with the correct permissions 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: gnu-relro test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: notes test because no gaps found 
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: not-branch-protection test because not an AArch64 binary 
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: not-dynamic-tags test because AArch64 specific 
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: go-revision test because no GO compiled code found 
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: only-go test because no GO compiled code found 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: production test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: run-path test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: rwx-seg test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: short-enums test 
Hardened: /usr/lib64/crash/extensions/gcore.so: skip: stack-realign test because not an x86 executable 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: textrel test 
Hardened: /usr/lib64/crash/extensions/gcore.so: PASS: threads test 
Hardened: gcore.so: Overall: FAIL.


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


How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:
Hardened: /usr/lib64/crash/extensions/gcore.so: FAIL: bind-now test because not linked with -Wl,-z,now 

Expected results:
PASS

Additional info:

Comment 13 errata-xmlrpc 2022-05-17 13:27:10 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: crash-gcore-command), 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:2511


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