[Bug build/33165] [2.42 Regression] FAIL: elf/check-localplt

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Fri Jul 18 17:53:15 GMT 2025


https://sourceware.org/bugzilla/show_bug.cgi?id=33165

--- Comment #8 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=aec84988738cd6bc67f22a26d54b0f5ac9167ee4

commit aec84988738cd6bc67f22a26d54b0f5ac9167ee4
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Jul 17 16:00:42 2025 -0700

    x86-64: Properly compile ISA optimized modf and modff

    There are 3 variants of modf and modff: SSE2, SSE4.1 and AVX.  s_modf.c
    and s_modff.c include the generic implementation compiled with the minimum
    x86 ISA level.  The IFUNC selector is used only if the minimum ISA level
    is less than AVX.  SSE4.1 variant is included only if the ISA level is
    less than SSE4.1.  AVX variant is included only the ISA level is less than
    AVX.

    AVX variant should be compiled with -mavx, not -msse2avx -DSSE2AVX which
    are used to encode SSE assembly sources with EVEX encoding.

    The routines that are shared between libc and libm should use different
    rules to avoid using the same MODULE_NAME, to avoid potential issues
    like BZ #33165 where __stack_chk_fail not being routed to the internal
    symbol.

    Tested with -march=x86-64, -march=x86-64-v2, -march=x86-64-v3 and
    -march=x86-64-v4.

    This fixes BZ #33165 and BZ #33173.

    Co-authored-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
    Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
    Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list