Bug 2028706

Summary: annocheck failure: "FAIL: bind-now test because not linked with -Wl,-z,now "
Product: Red Hat Enterprise Linux 9 Reporter: lijiang
Component: crash-trace-commandAssignee: lijiang
Status: CLOSED ERRATA QA Contact: Jie Li <jieli>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: ruyang, xiawu
Target Milestone: rcKeywords: Triaged
Target Release: 9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: crash-trace-command-3.0-6.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 13:26:48 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 01:07:21 UTC
Description of problem:

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

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

Result: VERIFY
Waiver Authorization: Not Waivable

Details:
Command: annocheck --ignore-unknown --verbose --debug-dir=/var/tmp/rpminspect/crash-trace-command-3.0.pRkVEr/after/aarch64/crash-trace-command-debuginfo-3.0-4.el9.aarch64 /usr/lib64/crash/extensions/trace.so
Exit Code: 256

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

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


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

Result: VERIFY
Waiver Authorization: Not Waivable

Details:
Command: annocheck --ignore-unknown --verbose --debug-dir=/var/tmp/rpminspect/crash-trace-command-3.0.pRkVEr/after/ppc64le/crash-trace-command-debuginfo-3.0-4.el9.ppc64le /usr/lib64/crash/extensions/trace.so
Exit Code: 256

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

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


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

Result: VERIFY
Waiver Authorization: Not Waivable

Details:
Command: annocheck --ignore-unknown --verbose --debug-dir=/var/tmp/rpminspect/crash-trace-command-3.0.pRkVEr/after/x86_64/crash-trace-command-debuginfo-3.0-4.el9.x86_64 /usr/lib64/crash/extensions/trace.so
Exit Code: 256

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

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


4) annocheck 'rhel-policy' test fails for /usr/lib64/crash/extensions/trace.so on s390x

Result: VERIFY
Waiver Authorization: Not Waivable

Details:
Command: annocheck --ignore-unknown --verbose --debug-dir=/var/tmp/rpminspect/crash-trace-command-3.0.pRkVEr/after/s390x/crash-trace-command-debuginfo-3.0-4.el9.s390x /usr/lib64/crash/extensions/trace.so
Exit Code: 256

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

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


How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:
FAIL: bind-now test because not linked with -Wl,-z,now 

Expected results:
PASS

Additional info:

Comment 8 errata-xmlrpc 2022-05-17 13:26:48 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-trace-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:2510