glibc:fw/x86-diagnostics

Last commit made on 2024-06-07
Get this branch:
git clone -b fw/x86-diagnostics https://git.launchpad.net/glibc

Branch merges

Branch information

Name:
fw/x86-diagnostics
Repository:
lp:glibc

Recent commits

a45dbfe... by Florian Weimer

WIP observations from an XSAVE size mismatch kernel issue

11db7b4... by Florian Weimer

WIP CPUID consistency checks

815c048... by Florian Weimer

x86: Introduce _dl_x86_init_cpu_failure for startup failure reporting

0c1d2c2... by Xi Ruoyao <email address hidden>

LoongArch: Use "$fcsr0" instead of "$r0" in _FPU_{GET,SET}CW

Clang inline-asm parser does not allow using "$r0" in
movfcsr2gr/movgr2fcsr, so everything using _FPU_{GET,SET}CW is now
failing to build with Clang on LoongArch. As we now requires Binutils
>= 2.41 which supports using "$fcsr0" here, use it instead of "$r0" to
fix the issue.

Link: https://github.com/loongson-community/discussions/issues/53#issuecomment-2081507390
Link: https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=4142b2368353
Signed-off-by: Xi Ruoyao <email address hidden>

e0f7f18... by Xin Wang <email address hidden>

x86_64: Reformat elf_machine_rela

A space is added before the left bracket of the x86_64 elf_machine_rela
function, in order to harmonize with the rest of the implementation of
the function and to make it easier to retrieve the function. The lines
where the function definition is located has been re-indented, as well
as its left curly bracket placed in the correct position.

Signed-off-by: Xin Wang <email address hidden>
Reviewed-by: H.J. Lu <email address hidden>

1b713c9... by Sunil K Pandey <email address hidden>

i386: Disable Intel Xeon Phi tests for GCC 15 and above (BZ 31782)

This patch disables Intel Xeon Phi tests for GCC 15 and above.

GCC 15 removed Intel Xeon Phi ISA support.
commit e1a7e2c54d52d0ba374735e285b617af44841ace
Author: Haochen Jiang <email address hidden>
Date: Mon May 20 10:43:44 2024 +0800

    i386: Remove Xeon Phi ISA support

Fixes BZ 31782.

Reviewed-by: H.J. Lu <email address hidden>

df63f01... by Paul Eggert

difftime is pure, not const

Because difftime's behavior depends on the floating-point environment,
the function is pure, not const (BZ 31802).

Reviewed-by: Adhemerval Zanella <email address hidden>

f981bf6... by "H.J. Lu" <email address hidden>

parse_fdinfo: Don't advance pointer twice [BZ #31798]

pidfd_getpid.c has

      /* Ignore invalid large values. */
      if (INT_MULTIPLY_WRAPV (10, n, &n)
          || INT_ADD_WRAPV (n, *l++ - '0', &n))
        return -1;

For GCC older than GCC 7, INT_ADD_WRAPV(a, b, r) is defined as

   _GL_INT_OP_WRAPV (a, b, r, +, _GL_INT_ADD_RANGE_OVERFLOW)

and *l++ - '0' is evaluated twice. Fix BZ #31798 by moving "l++" out of
the if statement. Tested with GCC 6.4 and GCC 14.1.

Signed-off-by: H.J. Lu <email address hidden>
Reviewed-by: Adhemerval Zanella <email address hidden>

ab46c6b... by "H.J. Lu" <email address hidden>

elf/Makefile: Split and sort PIE tests

Put each item on a separate line and sort PIE tests.

Signed-off-by: H.J. Lu <email address hidden>

caed1f5... by "H.J. Lu" <email address hidden>

Revert "Test fscanf of long double without <stdio.h>"

This reverts commit 30a745450e01e4c6f484dc691c16a54a6ea72288.

On ppc64le, without <stdio.h>, vfscanf is used and with <stdio.h>
__isoc23_vfscanfieee128 is used. I am reverting this since it doesn't
work on all targets.