[PATCH 0/7] More fixes for building tests with clang
Adhemerval Zanella
adhemerval.zanella@linaro.org
Tue Dec 31 18:26:06 GMT 2024
On aarch64 with clang 18.1.3 (from ubuntu 22), there still some tests
that fails to build. With this patchset applied, building and running
the tests with clang shows:
$ grep ^FAIL tests.sum
FAIL: assert/test-assert-2
FAIL: conform/ISO11/tgmath.h/conform
FAIL: conform/ISO99/tgmath.h/conform
FAIL: conform/POSIX2008/tgmath.h/conform
FAIL: conform/XOPEN2K/tgmath.h/conform
FAIL: conform/XOPEN2K8/tgmath.h/conform
FAIL: elf/check-tst-relr-pie
FAIL: elf/ifuncmain1static
FAIL: elf/ifuncmain4
FAIL: elf/ifuncmain4static
FAIL: elf/ifuncmain6pie
FAIL: elf/ifuncmain7
FAIL: elf/ifuncmain7pic
FAIL: elf/ifuncmain7picstatic
FAIL: elf/ifuncmain7pie
FAIL: elf/ifuncmain7static
FAIL: elf/tst-relr
FAIL: elf/tst-relr-pie
FAIL: gmon/tst-gmon-gprof
FAIL: gmon/tst-gmon-pie-gprof
FAIL: gmon/tst-gmon-static-gprof
FAIL: gmon/tst-gmon-static-pie-gprof
FAIL: gmon/tst-mcount-overflow-check
FAIL: math/test-float128-isgreater
FAIL: math/test-float128-isgreaterequal
FAIL: math/test-float128-isless
FAIL: math/test-float128-islessequal
FAIL: math/test-float64x-isgreater
FAIL: math/test-float64x-isgreaterequal
FAIL: math/test-float64x-isless
FAIL: math/test-float64x-islessequal
FAIL: math/test-ldouble-isgreater
FAIL: math/test-ldouble-isgreaterequal
FAIL: math/test-ldouble-isless
FAIL: math/test-ldouble-islessequal
FAIL: math/test-tgmath
FAIL: math/test-tgmath2
FAIL: misc/tst-aarch64-pkey
FAIL: misc/tst-sched_setattr
FAIL: stdio-common/tst-vfprintf-user-type
Adhemerval Zanella (7):
Fix internal tests when building with clang
aarch64: Use 64-bit variable to access the special registers
gmon: Remove ununsed LDFLAGS-tst-profile-static
linux: Expand internal prototypes for not-cancel.h
elf: Suppress unused function clang for __ifunc_resolver
conform: Do not use __SIG_ATOMIC_TYPE__
libio: Disable stack protector for tst-fopen-compat with clang
conform/conformtest.py | 4 +++
conform/data/stdint.h-data | 4 +--
elf/ifuncmain9.c | 4 +++
elf/tst-ifunc-fault-lazy.c | 4 +++
gmon/Makefile | 6 ++--
include/libc-symbols.h | 6 +++-
include/string.h | 4 ++-
libio/Makefile | 3 ++
scripts/gen-as-const.py | 3 +-
sysdeps/aarch64/fpu/fpu_control.h | 36 +++++++++++++------
sysdeps/aarch64/fpu/fraiseexcpt.c | 2 +-
sysdeps/aarch64/sfp-machine.h | 2 +-
.../unix/sysv/linux/aarch64/cpu-features.c | 2 +-
sysdeps/unix/sysv/linux/aarch64/sysconf.c | 2 +-
sysdeps/unix/sysv/linux/not-cancel.h | 18 +++++-----
15 files changed, 67 insertions(+), 33 deletions(-)
--
2.43.0
More information about the Libc-alpha
mailing list