Message ID | 20240131185432.354052-1-hjl.tools@gmail.com |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=FSkLxF38; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TQB725BpNz1yQ0 for <incoming@patchwork.ozlabs.org>; Thu, 1 Feb 2024 05:55:10 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A55D03858005 for <incoming@patchwork.ozlabs.org>; Wed, 31 Jan 2024 18:55:08 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by sourceware.org (Postfix) with ESMTPS id C889A3858401 for <gcc-patches@gcc.gnu.org>; Wed, 31 Jan 2024 18:54:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C889A3858401 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C889A3858401 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::536 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706727283; cv=none; b=lBMzGoZD5LLCb2rZ4BLIhtZLlsvxx+TcXR9nAtMAS8/sdMeG2zU1CQ6jp6GsBpuAKx2YO5/CHo+hXR+aSsbYQevXSDQBbqhbJLH8KsXZhWnTHsyxxLjDrwwcuEr6+RZh2RUuRWA1hotVWskCz6P1Qz7LsDY6dkBGbX3OuOavdos= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706727283; c=relaxed/simple; bh=9JraTb3CgZcFVbynG5srVHo61V4Y5Cy16p1oka7BQBw=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=YiO56OQdlGAOHOuVZyv0KaaxkQX3C9L7AnVbZgPFOuEIbidpV9qIuMvsooZ3a1JamliL+51hXOK/npq35d3sAD507Hu8pBaWLBe2b/DFBqq9NZ5DuwjO6YwlyJmllNzu+IsSwjTIct3JUzw0DIynLlf4HxMz2EvWwK9RItSoNBU= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pg1-x536.google.com with SMTP id 41be03b00d2f7-5cddfe0cb64so150103a12.0 for <gcc-patches@gcc.gnu.org>; Wed, 31 Jan 2024 10:54:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706727274; x=1707332074; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=8M/TnkTXwBAQ4Pnadc6ZU0mDAfjbHPtjSiKMhSZvD24=; b=FSkLxF38tLDrKV/f/VryvSNWCTxiQ+7gELm3eSnESXoy+Dg491imRsh82N3SuC6DIT TNpp/2LlBy2JdymLXrZPNFL72C37iWg1iLyiW1Hapoe7Bd6p+c9Y3I1m10YAmse1QxSp x0m9pH84oIlYnqBIJS0VJLwetnvYgyr4uqf0fpVTQXz7z6cSyN/JS1uJPvTpQAeg5JQV 7/KOFKV2IaZMXXhyub9Qle+yVETpyUy8HgoI3BsdYKoxfqIyXXMbkagxKGxKtnQi4lzX 36mafTSajzbv1VsLLZpLe7ow2oPKo6K0DBzmR3sBFuFAAHFOqndqsUw7W9bkn8lauV14 lq2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706727274; x=1707332074; 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=8M/TnkTXwBAQ4Pnadc6ZU0mDAfjbHPtjSiKMhSZvD24=; b=cMkt5Wcyhc7yaDtYuujuoQfCDx1t3DV4xSi3UyQzTBzyyBe5DJp03xGDlsNQt9GH/l oW5TzZsldw9Py4jJRBwhDt34DHpW2BUYwPAgs8xPrCc3z7JkVq5f3aPzmdAkqDybxJpZ zeDTqAh0nq+4j5fZrktbZI+jtTpPFTEW2CGCFoKxmKbOxmOm4pDKTwVZnuepQgZKK1TB r42H7RiYazkjrsMBTdgmakAIFhZn6vaTybqkwMfd6Y4LDjbNm/tJQy/pYoPAFEvuHFXF a2QZToeXMjjjdxdUmk5CqtzArXO3BUwczGlLf5Znfr8x5ba3isQfZH5n7sbkDr1K3i3X XXGQ== X-Gm-Message-State: AOJu0Yxvvczone2yI/x7kAYvqZFB7YcV/JzRUPKKV3v+dErvyA2SPKfp IIpZyjhN23qNa+0/4KREzahOgwIy2pHaLJJcZAKBF48P3QO0Rt80aG6jZ86g X-Google-Smtp-Source: AGHT+IGHzn1AB/w1S9d61yNWpoBtiZZmZBRGkF0AeTklkA5AnKv0sfJHKUDGQJrHDO0KXBvn2dii3g== X-Received: by 2002:a05:6a21:9208:b0:19e:3096:ea24 with SMTP id tl8-20020a056a21920800b0019e3096ea24mr2893982pzb.37.1706727274260; Wed, 31 Jan 2024 10:54:34 -0800 (PST) Received: from gnu-cfl-3.localdomain ([172.56.169.51]) by smtp.gmail.com with ESMTPSA id jk5-20020a170903330500b001d740687d1csm6550537plb.193.2024.01.31.10.54.33 for <gcc-patches@gcc.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 10:54:34 -0800 (PST) Received: from gnu-cfl-3.. (localhost [IPv6:::1]) by gnu-cfl-3.localdomain (Postfix) with ESMTP id 2C64B740164 for <gcc-patches@gcc.gnu.org>; Wed, 31 Jan 2024 10:54:32 -0800 (PST) From: "H.J. Lu" <hjl.tools@gmail.com> To: gcc-patches@gcc.gnu.org Subject: [PATCH] Assuming the working GNU assembler with --with-gnu-as Date: Wed, 31 Jan 2024 10:54:31 -0800 Message-ID: <20240131185432.354052-1-hjl.tools@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3023.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org |
Series |
Assuming the working GNU assembler with --with-gnu-as
|
expand
|
diff --git a/gcc/acinclude.m4 b/gcc/acinclude.m4 index 425146719cf..3c959748f97 100644 --- a/gcc/acinclude.m4 +++ b/gcc/acinclude.m4 @@ -493,6 +493,9 @@ AC_CACHE_CHECK([assembler for $1], [$2], cat conftest.s >&AS_MESSAGE_LOG_FD fi rm -f conftest.o conftest.s + elif test x$gcc_cv_as = x -a x$gas_flag = xyes ; then + AC_MSG_WARN([Assume the working GNU assembler]) + [$2]=yes fi]) ifelse([$6],,,[dnl if test $[$2] = yes; then