Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-7363

annocheck FAIL: bind-now test because not linked with -Wl,-z,now (golist on aarch64 and x86_64)

    • sst_pt_llvm_rust_go
    • ssg_platform_tools
    • 2
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required

      Description of problem:
      Latest go-rpm-macros-3.0.9-9.el9 build fails on annocheck test, part of rhel-9.0 rpminspect static analysis, with the following:

      (...)
      annocheck: Version 10.44.
      Hardened: /usr/libexec/go-rpm-macros/golist: PASS: pie test
      Hardened: /usr/libexec/go-rpm-macros/golist: PASS: writable-got test
      Hardened: /usr/libexec/go-rpm-macros/golist: PASS: dynamic-segment test
      Hardened: /usr/libexec/go-rpm-macros/golist: FAIL: bind-now test because not linked with -Wl,-z,now
      Hardened: /usr/libexec/go-rpm-macros/golist: info: For more information visit: https://sourceware.org/annobin/annobin.html/Test-bind-now.html
      (...)

      The test fails only on aarch64 and x86_64 - it passes on s390x and ppc64le.

      Version-Release number of selected component (if applicable):
      go-rpm-macros-3.0.9-9.el9

            dbenoit@redhat.com David Benoit
            rhn-support-emachado Edjunior Machado
            David Benoit David Benoit
            Edjunior Machado Edjunior Machado
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: