[PATCH 00/11] Initial fixes for clang build support
Adhemerval Zanella
adhemerval.zanella@linaro.org
Fri Oct 28 17:35:21 GMT 2022
These are some patches requires to start the glibc build support by
clang, which are far from all required to have minimum support. I am
also tracking the support on a personal branch [1].
[1] https://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/azanella/clang
Adhemerval Zanella (9):
Rewrite find_cxx_header config configure.ac
linux: Move hidden_proto before static inline usage on not-cancel.h
intl: Fix clang -Wunused-but-set-variable on plural.c
Disable use of -fsignaling-nans if compiler does not support it
stdlib: Move attribute_hidden definition to function prototype at
gmp.h
configure: Use -Wno-ignored-attributes if compiler warns about
multiple aliases
alloc_buffer: Apply asm redirection before first use
allocate_once: Apply asm redirection before first use
nptl: Fix pthread_create.c build with clang
Fangrui Song (2):
stdlib/longlong.h: Remove incorrect lvalue to rvalue conversion from
asm output constraints
Disable __USE_EXTERN_INLINES for clang
argp/Makefile | 7 +-
benchtests/Makefile | 6 +-
configure | 55 +++++-
configure.ac | 36 +++-
dirent/Makefile | 1 +
include/alloc_buffer.h | 23 ++-
include/allocate_once.h | 7 +-
include/features.h | 2 +-
include/gmp.h | 12 --
inet/Makefile | 3 +
intl/Makefile | 3 +-
io/Makefile | 18 +-
libio/Makefile | 14 +-
login/Makefile | 1 +
math/Makefile | 19 +-
math/libm-test-fpclassify.inc | 2 +
math/libm-test-isfinite.inc | 2 +
math/libm-test-isinf.inc | 2 +
math/libm-test-isnan.inc | 2 +
math/libm-test-isnormal.inc | 2 +
math/libm-test-issubnormal.inc | 2 +
math/libm-test-iszero.inc | 2 +
math/test-snan.c | 10 +-
misc/Makefile | 2 +
nptl/pthread_create.c | 6 +-
posix/Makefile | 6 +-
resolv/Makefile | 1 +
resource/Makefile | 3 +
socket/Makefile | 10 +-
stdio-common/Makefile | 2 +
stdlib/Makefile | 12 ++
stdlib/gmp.h | 72 +++----
stdlib/longlong.h | 186 +++++++++---------
string/Makefile | 9 +
sysdeps/aarch64/Makefile | 1 +
sysdeps/arm/Makefile | 4 +
sysdeps/powerpc/nofpu/Makefile | 24 +--
.../powerpc32/power4/fpu/multiarch/Makefile | 4 +-
.../powerpc64/be/fpu/multiarch/Makefile | 4 +-
.../powerpc64/le/fpu/multiarch/Makefile | 4 +-
sysdeps/unix/sysv/linux/not-cancel.h | 30 +--
sysdeps/wordsize-64/Makefile | 5 +
termios/Makefile | 1 +
time/Makefile | 1 +
wcsmbs/Makefile | 24 ++-
wctype/Makefile | 2 +
46 files changed, 410 insertions(+), 234 deletions(-)
--
2.34.1
More information about the Libc-alpha
mailing list