Message ID | 20221028173532.876027-1-adhemerval.zanella@linaro.org |
---|---|
Headers |
Return-Path: <libc-alpha-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E7B7B3858009 for <patchwork@sourceware.org>; Fri, 28 Oct 2022 17:36:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E7B7B3858009 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666978566; bh=KYVyzugj9xw0MJCuaSsrK4SPNsL6VUNITm8jpAO6YsU=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=u5b8d2KhGcthFurEslEzGm8Q+ABu3z0nhd1sJqdqDxY2UmiY50VSSHJ4+XUt8sd3j 86T+uaKEJSJDO6L5yyMnWELlNGkG5H1FVKdIE68t80tXwIgWfNNSuI4yGvS3TPDv47 sqZnrvY5tZ7uZeLQ0gfqVn6xSrNY0fz7KKL1ONJc= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-oa1-x32.google.com (mail-oa1-x32.google.com [IPv6:2001:4860:4864:20::32]) by sourceware.org (Postfix) with ESMTPS id AF6E23858D28 for <libc-alpha@sourceware.org>; Fri, 28 Oct 2022 17:35:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AF6E23858D28 Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-13be3ef361dso7008498fac.12 for <libc-alpha@sourceware.org>; Fri, 28 Oct 2022 10:35:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KYVyzugj9xw0MJCuaSsrK4SPNsL6VUNITm8jpAO6YsU=; b=G2uC+2Dz/SOVX/X4JOZzVcM5RMU+1g9qBgiIymx5jHb6pQ9VihetpEZGpfu3Vces2z T0XB2k/+6zm1YzmbUsTUqajq5TXs+0SgFw5EVmPvocmJdDEA63zf61voEzrhJ9E4IEYK sZW6moiSNIhxhI75zwBfBQJ/xeCDCOcWjjRxoixOh6HjH3ZiQVblYrYBWlJV/Bg+UqHF jm/9PZwj6IDFO/dRsCwVPOTQErMRZ1DbSx6dy/08WcOkcuQ9TplGi7UzytfNhJeHpKoj z0/8mJBrPkz0Znc6Z9T0XxprHvv3ifInfJWL53fjBpjvLjdCq0v8omlbDbJNuAXgZzvH LLAQ== X-Gm-Message-State: ACrzQf38i9qML00DrEsKwje5yS/MGPG/g63XvpCwnbwvJWmhrZssxOT1 FzpEjcwdFqKVvBaY4e9ZF+sdVlWqECltmh2b X-Google-Smtp-Source: AMsMyM6HX8aiL5iGHV/z0veCQCeT7c2B75IcKlDsbgwBv2g0rrL3gDMnJhDn+d6f/56MFME0MNzIAg== X-Received: by 2002:a05:6870:c88d:b0:137:5344:776e with SMTP id er13-20020a056870c88d00b001375344776emr9688435oab.180.1666978536559; Fri, 28 Oct 2022 10:35:36 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c0:17c8:6484:1100:1451:7f3f]) by smtp.gmail.com with ESMTPSA id v10-20020a056870b50a00b0012779ba00fesm2434998oap.2.2022.10.28.10.35.35 for <libc-alpha@sourceware.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Oct 2022 10:35:36 -0700 (PDT) To: libc-alpha@sourceware.org Subject: [PATCH 00/11] Initial fixes for clang build support Date: Fri, 28 Oct 2022 14:35:21 -0300 Message-Id: <20221028173532.876027-1-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> From: Adhemerval Zanella via Libc-alpha <libc-alpha@sourceware.org> Reply-To: Adhemerval Zanella <adhemerval.zanella@linaro.org> Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces+patchwork=sourceware.org@sourceware.org> |
Series |
Initial fixes for clang build support
|
|
Message
Adhemerval Zanella Netto
Oct. 28, 2022, 5:35 p.m. UTC
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(-)