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

glibc: Drop FMA4 function variants from build

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • rhel-10.0.beta
    • glibc
    • None
    • None
    • Patch
    • rhel-sst-pt-libraries
    • ssg_platform_tools
    • 2
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • x86_64
    • None

      RHEL 10 does not support CPUs that have only FMA4 support. We should backport this upstream commit:

      commit 9f78a7c1d0963282608da836b840f0d5ae1c478e
      Author: Sunil K Pandey <skpgkp2@gmail.com>
      Date:   Tue Feb 13 12:23:14 2024 -0800
      
          x86_64: Exclude SSE, AVX and FMA4 variants in libm multiarch
          
          When glibc is built with ISA level 3 or higher by default, the resulting
          glibc binaries won't run on SSE or FMA4 processors.  Exclude SSE, AVX and
          FMA4 variants in libm multiarch when ISA level 3 or higher is enabled by
          default.
          
          When glibc is built with ISA level 2 enabled by default, only keep SSE4.1
          variant.
          
          Fixes BZ 31335.
          
          NB: elf/tst-valgrind-smoke test fails with ISA level 4, because valgrind
          doesn't support AVX512 instructions:
          
          https://bugs.kde.org/show_bug.cgi?id=383010
          
          Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
      

              glibc-bugzilla Platform Tools - Libraries Bot
              fweimer@redhat.com Florian Weimer
              Platform Tools - Libraries Bot Platform Tools - Libraries Bot
              qe-baseos-tools-bugs@redhat.com qe-baseos-tools-bugs@redhat.com qe-baseos-tools-bugs@redhat.com qe-baseos-tools-bugs@redhat.com
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: