public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
To: libc-alpha@sourceware.org
Subject: [PATCH 00/11] Initial fixes for clang build support
Date: Fri, 28 Oct 2022 14:35:21 -0300	[thread overview]
Message-ID: <20221028173532.876027-1-adhemerval.zanella@linaro.org> (raw)

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


             reply	other threads:[~2022-10-28 17:35 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-28 17:35 Adhemerval Zanella [this message]
2022-10-28 17:35 ` [PATCH 01/11] stdlib/longlong.h: Remove incorrect lvalue to rvalue conversion from asm output constraints Adhemerval Zanella
2022-10-28 21:05   ` Joseph Myers
2022-10-28 21:32     ` Fangrui Song
2022-10-31 18:32       ` Adhemerval Zanella Netto
2022-11-01 13:56         ` Adhemerval Zanella Netto
2022-11-01 14:18           ` Joseph Myers
2022-11-01 17:05             ` Adhemerval Zanella Netto
2022-11-02 15:14               ` Cristian Rodríguez
2022-11-02 17:10                 ` Adhemerval Zanella Netto
2022-11-02 19:43                   ` Cristian Rodríguez
2022-11-03 12:17                     ` Adhemerval Zanella Netto
2022-11-01 17:11   ` Andrew Pinski
2022-11-06 19:30     ` Fangrui Song
2022-11-06 19:32     ` Fangrui Song
2022-11-07 13:39       ` Adhemerval Zanella Netto
2022-10-28 17:35 ` [PATCH 02/11] Disable __USE_EXTERN_INLINES for clang Adhemerval Zanella
2022-10-28 21:06   ` Joseph Myers
2022-10-28 22:02     ` Fangrui Song
2022-10-31 18:33       ` Adhemerval Zanella Netto
2022-10-28 17:35 ` [PATCH 03/11] Rewrite find_cxx_header config configure.ac Adhemerval Zanella
2022-10-29  4:03   ` Fangrui Song
2022-10-31 19:30     ` Adhemerval Zanella Netto
2022-10-28 17:35 ` [PATCH 04/11] linux: Move hidden_proto before static inline usage on not-cancel.h Adhemerval Zanella
2022-10-29  4:23   ` Fangrui Song
2022-10-31 19:48     ` Adhemerval Zanella Netto
2022-10-28 17:35 ` [PATCH 05/11] intl: Fix clang -Wunused-but-set-variable on plural.c Adhemerval Zanella
2022-10-29  0:44   ` Fangrui Song
2022-10-31 19:54     ` Adhemerval Zanella Netto
2022-10-28 17:35 ` [PATCH 06/11] Disable use of -fsignaling-nans if compiler does not support it Adhemerval Zanella
2022-10-29  4:19   ` Fangrui Song
2022-10-31 20:01     ` Fangrui Song
2022-10-28 17:35 ` [PATCH 07/11] stdlib: Move attribute_hidden definition to function prototype at gmp.h Adhemerval Zanella
2022-10-29  4:37   ` Fangrui Song
2022-10-31 19:55     ` Adhemerval Zanella Netto
2022-10-28 17:35 ` [PATCH 08/11] configure: Use -Wno-ignored-attributes if compiler warns about multiple aliases Adhemerval Zanella
2022-10-29  5:59   ` Fangrui Song
2022-10-31 19:59     ` Adhemerval Zanella Netto
2022-10-31 20:11       ` Fangrui Song
2022-10-28 17:35 ` [PATCH 09/11] alloc_buffer: Apply asm redirection before first use Adhemerval Zanella
2022-10-29  0:32   ` Fangrui Song
2022-10-31 20:01     ` Adhemerval Zanella Netto
2022-10-28 17:35 ` [PATCH 10/11] allocate_once: " Adhemerval Zanella
2022-10-29  0:34   ` Fangrui Song
2022-10-28 17:35 ` [PATCH 11/11] nptl: Fix pthread_create.c build with clang Adhemerval Zanella
2022-10-29  4:51   ` Fangrui Song
2022-10-31 20:03     ` Adhemerval Zanella Netto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221028173532.876027-1-adhemerval.zanella@linaro.org \
    --to=adhemerval.zanella@linaro.org \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).