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

Enable LTO for kernel-tools binaries to resolve annocheck failures

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • None
    • rhel-arch-hw
    • 1
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • CK Parent Issues In Progress
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • None
    • Merge Request passes all submitter checks, Merge Request finished CI testing, Merge Request passed CI testing

      Goal

      The rpminspect annocheck test reports MAYB:lto failures for kernel-tools binaries. These tools are built without Link-Time Optimization.

      Root Cause

      LTO was globally disabled for all kernel userspace tools (commit 61619a57d001). This was a workaround for perf, which could not handle LTO at the time. However, tools like cpupower, tmon, and gpio utilities can handle LTO correctly.

      Acceptance criteria

      The annocheck tests do not report failure for the tools that can be built with LTO and the tools are not impacted by compiling them with LTO.

      The annocheck test results can be found at: https://artifacts.osci.redhat.com/testing-farm/f4fa8e7f-8bd3-4a98-90cb-c7ae4ed304de/

      The following binaries failed due to "MAYB:lto"

        - /usr/bin/centrino-decode                          
        - /usr/bin/cpupower                                 
        - /usr/bin/gpio-event-mon                            
        - /usr/bin/gpio-hammer                              
        - /usr/bin/gpio-watch                                
        - /usr/bin/iio_event_monitor                         
        - /usr/bin/iio_generic_buffer                       
        - /usr/bin/intel-speed-select                        
        - /usr/bin/lsgpio                                     
        - /usr/bin/lsiio                                     
        - /usr/bin/page_owner_sort                           
        - /usr/bin/powernow-k8-decode                       
        - /usr/bin/slabinfo                                
        - /usr/bin/tmon                                     
        - /usr/bin/turbostat                                
        - /usr/bin/x86_energy_perf_policy                    
        - /usr/lib64/libcpupower.so.0.0.1                    
        - /usr/sbin/intel_sdsi

       

              scweaver@redhat.com Scott Weaver
              scweaver@redhat.com Scott Weaver
              Arch HW Triage Bot Arch HW Triage Bot
              kernel-qe-hw kernel-qe-hw kernel-qe-hw kernel-qe-hw
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: