From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x22b.google.com (mail-oi1-x22b.google.com [IPv6:2607:f8b0:4864:20::22b]) by sourceware.org (Postfix) with ESMTPS id A76DA385769E for ; Wed, 2 Nov 2022 14:56:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A76DA385769E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-oi1-x22b.google.com with SMTP id m204so7729312oib.6 for ; Wed, 02 Nov 2022 07:56:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=5BDCHfDpigJO0N+Icr1+VaZBf4IXzt6lpK9tmviA8v8=; b=k+sbwK7gYUoWadxYnkrbhzTx7juUcu1pwF2SnxOg1wQ0X39KBt38ApPtfJp4SpDp6S Fz2QY8iehanxZRNZpDYgELSirD9BwKzpZZFzu5VuFy9XZW6jBO3W/gKu+t/DHjCvEEhq N3UlE3uc61T5A9YI9hgmZuoe8Rh5wbFtaq1b39HxT9qywEWb/+iHJUG1nIDjvtR+ofiL DJQ0NeYbjlct3VXv4bPGkcy353m10fg3yUDM1R+X0cZtnVuGHkc+a/Y3mGrKx1COLhy2 EmGa3uVcj1nhMimIveIr9J4tA0/PZobZjSnRNgTlEUq5fV/GuiwwBODsACdt0k49wWU9 88ag== 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=5BDCHfDpigJO0N+Icr1+VaZBf4IXzt6lpK9tmviA8v8=; b=TdIbXlc0ClVqWY8DO5Ta5U4nPQllngg1bMEhK0PGRGTW5HnzwSaNV6CJ2d80YqppMj rMYYrjZsQeH41qeTxm31mMGJjTT6fHTcQOk8PW/4pOknhCFmHdL26XRmPSCQL6ZqR+z+ kQQWaGpWCetn5YSumUaXTC7w03PIenp2tdgOats95IyQd38zP4H9xkMbY7S817VFAzTu cqt1cnnx7pjQYhZl0JitUafeFPXZgW8vl8eJefAWnQ/1HFRItCyTXFOHmc6FebMs8Xo1 /2zQwZDBERe8ulDcTSFuTTMz6GLWHVmjf5yaClTEPAj+d79D498c9vI23tJNZvby3nqt YrxQ== X-Gm-Message-State: ACrzQf32hdwadoUyFKhZAGp4Zw1t/kYOQHop9WfDdQgtO9L/bD2rTN7B +Gv5L6H4wecWbEIs9UKNe7truS/Itm+i1jJZ X-Google-Smtp-Source: AMsMyM4v0u8D+a1KkElVxxPap+GXobyqUXcGZ+UucfsNWkCFcehTIS3bIqbguTP5pgjneyLp9LsirQ== X-Received: by 2002:a05:6808:118c:b0:34f:9fc9:ce15 with SMTP id j12-20020a056808118c00b0034f9fc9ce15mr5606443oil.220.1667400964767; Wed, 02 Nov 2022 07:56:04 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c0:a9f4:967f:f7c:c187:85d7]) by smtp.gmail.com with ESMTPSA id 37-20020a9d0328000000b00661af2f9a1asm5205767otv.49.2022.11.02.07.56.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Nov 2022 07:56:04 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org, Fangrui Song Subject: [PATCH v2 0/4] Initial fixes for clang build support Date: Wed, 2 Nov 2022 11:55:55 -0300 Message-Id: <20221102145559.1962008-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 List-Id: The patchset is the updated version based on review comments. I removed the longlong.h cast patch in and rewrote using a script to remove the casts. Adhemerval Zanella (3): Rewrite find_cxx_header config configure.ac stdlib: Remove if inline asm context casts if compiler does not support it Apply asm redirection in gmp.h before first use Fangrui Song (1): Disable __USE_EXTERN_INLINES for clang Makerules | 13 ++++ configure | 33 ++++++++- configure.ac | 26 ++++++- include/features.h | 2 +- include/gmp.h | 12 ---- scripts/filter-asm-inline-cast.py | 102 +++++++++++++++++++++++++++ stdlib/gmp.h | 72 ++++++++++--------- stdlib/{longlong.h => longlong.h.in} | 0 stdlib/strtod_l.c | 2 +- 9 files changed, 211 insertions(+), 51 deletions(-) create mode 100755 scripts/filter-asm-inline-cast.py rename stdlib/{longlong.h => longlong.h.in} (100%) -- 2.34.1