Bug 2028717

Summary: annocheck failure: "FAIL: bind-now test because not linked with -Wl,-z,now "
Product: Red Hat Enterprise Linux 9 Reporter: lijiang
Component: crash-gcore-commandAssignee: lijiang
Status: CLOSED ERRATA QA Contact: Jie Li <jieli>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: coxu, nickc, ruyang, xiawu
Target Milestone: rcKeywords: Triaged
Target Release: 9.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: crash-gcore-command-1.6.2-4.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 13:27:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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