[{"id":3684082,"web_url":"http://patchwork.ozlabs.org/comment/3684082/","msgid":"<4e8322b0-3dbc-41b7-9bac-8931df95362c@baylibre.com>","list_archive_url":null,"date":"2026-04-29T14:18:01","subject":"Re: [PATCH 3/6] build: Remove --with-gnu-as","submitter":{"id":87955,"url":"http://patchwork.ozlabs.org/api/people/87955/","name":"Sandra Loosemore","email":"sloosemore@baylibre.com"},"content":"On 4/29/26 08:02, Rainer Orth wrote:\n> The removal of HAVE_GNU_AS and the gas variable in config.gcc etc. also\n> makes the --with-gnu-as configure option unnecessary.  This patch\n> removes it together with gas_flag.\n> \n> The latter is also used to annotate the DEFAULT_ASSEMBLER message in\n> configure.ac.  Given that the vast majority of configurations uses gas,\n> this doesn't carry much information and is also removed.\n> \n> Ok for trunk?\n> \n> \tRainer\n> \n\nThe documentation changes look fine to me.\n\n-Sandra","headers":{"Return-Path":"<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>","X-Original-To":["incoming@patchwork.ozlabs.org","gcc-patches@gcc.gnu.org"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","gcc-patches@gcc.gnu.org"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=baylibre-com.20251104.gappssmtp.com\n header.i=@baylibre-com.20251104.gappssmtp.com header.a=rsa-sha256\n header.s=20251104 header.b=Xy6MJttv;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)","sourceware.org;\n\tdkim=pass (2048-bit key,\n unprotected) header.d=baylibre-com.20251104.gappssmtp.com\n header.i=@baylibre-com.20251104.gappssmtp.com header.a=rsa-sha256\n header.s=20251104 header.b=Xy6MJttv","sourceware.org;\n dmarc=none (p=none dis=none) header.from=baylibre.com","sourceware.org; spf=pass smtp.mailfrom=baylibre.com","server2.sourceware.org;\n arc=none smtp.remote-ip=209.85.210.53"],"Received":["from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g5KCy5XTtz1yHX\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 00:18:38 +1000 (AEST)","from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id EB12E4BA9025\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 14:18:36 +0000 (GMT)","from mail-ot1-f53.google.com (mail-ot1-f53.google.com\n [209.85.210.53])\n by sourceware.org (Postfix) with ESMTPS id 0A5C94BA9025\n for <gcc-patches@gcc.gnu.org>; Wed, 29 Apr 2026 14:18:04 +0000 (GMT)","by mail-ot1-f53.google.com with SMTP id\n 46e09a7af769-7dcc9b506d9so8729092a34.1\n for <gcc-patches@gcc.gnu.org>; Wed, 29 Apr 2026 07:18:03 -0700 (PDT)","from ?IPV6:2601:281:d901:97c0::9a27? ([2601:281:d901:97c0::9a27])\n by smtp.gmail.com with ESMTPSA id\n 46e09a7af769-7deab990318sm1421812a34.15.2026.04.29.07.18.02\n (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n Wed, 29 Apr 2026 07:18:02 -0700 (PDT)"],"DKIM-Filter":["OpenDKIM Filter v2.11.0 sourceware.org EB12E4BA9025","OpenDKIM Filter v2.11.0 sourceware.org 0A5C94BA9025"],"DMARC-Filter":"OpenDMARC Filter v1.4.2 sourceware.org 0A5C94BA9025","ARC-Filter":"OpenARC Filter v1.0.0 sourceware.org 0A5C94BA9025","ARC-Seal":"i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1777472289; cv=none;\n b=iTNB9+tZBt1fhnIP7LYa8t1HNTh6gmHbCGZpQ0ZQnS0RWrsihOPrmsloUObVX+510DJ8nfrqQwY+imZLi2woXml3aKyus/dwvq7YCJBxHwt4mpBKGkuqfTowaqU8z1jpVOk5pJOZhXY4gS5rpuCDWMfGNgjtJA4IPmYCJSchSgY=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1777472289; c=relaxed/simple;\n bh=cmlf14nUh6g+BF3Xy4+150odPVEVf/bLZK8MGj2mmeo=;\n h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;\n b=duUhCPGoEK99SXKK6LVHo5bvh1yrjZW/rkBR+349kihBNwPEl8wWEWs2Wk80mx/7VS5KhH1Z/C7oeliJAMIYxpHoPp0rBIfiMq26jP6o3/1jVgPp5ytKEDMIrLdzlBgfFbJuEHN0VJ+n8vg1YzCm6jeoBaD2ZzmSK1fx7PY7FPw=","ARC-Authentication-Results":"i=1; server2.sourceware.org","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=baylibre-com.20251104.gappssmtp.com; s=20251104; t=1777472283;\n x=1778077083;\n darn=gcc.gnu.org;\n h=content-transfer-encoding:in-reply-to:from:content-language\n :references:cc:to:subject:user-agent:mime-version:date:message-id\n :from:to:cc:subject:date:message-id:reply-to;\n bh=IivgNOwdmdsn3kHLZsn7Y2hKQbLfZ769N5jJuPxLEfg=;\n b=Xy6MJttvjyPqtuT/s0EwUGZBQzAPk3mpMO/0SKct7KtulVh8mSSQzdnljNnXfqriBc\n d7FApKUZGHzs9eKRspQSr/+4qL0dVzXkEn33dW8QM4S29hvOGq4Rcwslk8h/12O33fAH\n IUvw1md/IAZKBFdWM1oJlGkvA9Cs1OtzQCPOFDzzYxcZ1eY7P+iNE0mxJHyTZEA1aMoH\n yuP0mmgvGBw2WTED75JNqPE8K/63dp0OLXUQccOkLjBbtyS+JyBlH4TVNPf9rc1Dp3C6\n lxI/z6Q/mv48IJMyy5nuEwWjcsDBZ8aEIVgPR4fsqS3/gQpwXZZSX8ZaluEeRn22bsHj\n Vh1Q==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777472283; x=1778077083;\n h=content-transfer-encoding:in-reply-to:from:content-language\n :references:cc:to:subject:user-agent:mime-version:date:message-id\n :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=IivgNOwdmdsn3kHLZsn7Y2hKQbLfZ769N5jJuPxLEfg=;\n b=mVnY+VHQ3WK0WD7FQwPf4IEpJoAkiHYQbsElgdJqK9/jmo5P4xIUEPqABeSomg/QD5\n 0vC6GpviWECW1CBahor7FkMinT/9McZqV7t7b01UpFR/sm8lGihvKvS+ZNNOWZKjXgll\n Dq2gYyGz1lLbWsy2F5QS6GaPKb9uFNdSe+iceSH6Zg0vK+kEE161DoYfPnYjgDV6jrzC\n GPwUJyCE5DjZ6v3Qbx4jtQHwcb6yWrEblLRCALiIXV/70zezDGkJat4RPviZ7Z5NLkGr\n H3EBQwOgjlgSPZ8xnRTwKZyjQ0liiwQQA4bDl6OsjUVlnlHBVWf0mnd6gvWFS6hi5zAT\n eq0g==","X-Forwarded-Encrypted":"i=1;\n AFNElJ/7JAmrA5xOTeC8lubFAgex+CXthjQlQl5lEAmyY3XuFlWU9+QRtNvyC3zzIsgxuXdUdf05Tzofudlh3Q==@gcc.gnu.org","X-Gm-Message-State":"AOJu0YziH5LlIBGWtYz0dYHkWk3R55JiynwAZVd5SGgLYIRU6WgI2oc2\n BVfLKxratcVcPSabfVU5+UAT++VqsRYJBbGv/zxopDApFUSKY/exbJjCrkfPS1EMMdY=","X-Gm-Gg":"AeBDiettmAXFdTuJ5xA3dhaJCGLRrHOBhwIUW7N+sIyiV8ZwMWhjExl28sqpm0H8Ty5\n CWifIafubTAnHb6N6jWPT2p9hCdBRTAnXAv7QgADWc4cCN18kYNc3wuaHTjsdAnFI5gAxhEzKod\n kyLTZ42dP2G/Gjqn/2fC13HjeWb56DmxRpJKdiBpaIzEPS/NlLrHZZ1jiigI9g9BpeqplkQU/b1\n e8iaC5fSWF7tTO+mAPXXW+WjEG6yyahssszNnsMtrpGROMkRz9bOQKd7muHqd3imv4UC3rN5NBX\n a5z5vGfo+08bdyWqWW/rptE8wY7D4lE80+UKxnWN+setzJMk0Aw4gPYUk9hJGNap2HJye9h/dIb\n uyRC9pUB7cDU4h3QnWSn4gp6ABZi0+RXb64+IIeZoW325nkQGZXL9Mn24mJEHbNLyqbnPjo7b63\n ubs1/lg3KzQO6xA0zsRdm3T4uIR5Wn1su4N39R/0a1JV7ViFkq","X-Received":"by 2002:a05:6830:264c:b0:7d7:e142:2ead with SMTP id\n 46e09a7af769-7dea687c071mr2533351a34.20.1777472283220;\n Wed, 29 Apr 2026 07:18:03 -0700 (PDT)","Message-ID":"<4e8322b0-3dbc-41b7-9bac-8931df95362c@baylibre.com>","Date":"Wed, 29 Apr 2026 08:18:01 -0600","MIME-Version":"1.0","User-Agent":"Mozilla Thunderbird","Subject":"Re: [PATCH 3/6] build: Remove --with-gnu-as","To":"Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>, gcc-patches@gcc.gnu.org","Cc":"Alexandre Oliva <aoliva@gcc.gnu.org>","References":"<yddwlxp985h.fsf@CeBiTec.Uni-Bielefeld.DE>","Content-Language":"en-US","From":"Sandra Loosemore <sloosemore@baylibre.com>","In-Reply-To":"<yddwlxp985h.fsf@CeBiTec.Uni-Bielefeld.DE>","Content-Type":"text/plain; charset=UTF-8; format=flowed","Content-Transfer-Encoding":"7bit","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>,\n <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>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>","Errors-To":"gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"}},{"id":3684401,"web_url":"http://patchwork.ozlabs.org/comment/3684401/","msgid":"<orse8djf1h.fsf@lxoliva.fsfla.org>","list_archive_url":null,"date":"2026-04-30T03:35:54","subject":"Re: [PATCH 3/6] build: Remove --with-gnu-as","submitter":{"id":74283,"url":"http://patchwork.ozlabs.org/api/people/74283/","name":"Alexandre Oliva","email":"oliva@gnu.org"},"content":"On Apr 29, 2026, Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> wrote:\n\n> \tgcc:\n> \t* configure.ac: Remove --with-gnu-as, gas_flag.\n> \t* configure: Regenerate.\n> \t* config.gcc: Remove gas_flag.\n\nThese look good,\n\n> \tcontrib:\n> \t* config-list.mk (sparc64-sun-solaris2.11): Remove --with-gnu-as.\n> \t* regression/btest-gcc.sh (withopt): Likewise.\n\n> \t* doc/invoke.texi (IA-64 Options, -mgnu-as): Remove comment.\n\n(reordered) and so do these.\n\n> \t* doc/install.texi (Configuration, --with-gnu-as): Remove.\n> \t(Specific, hppa64-hp-hpux11*): Remove --with-gnu-as reference.\n> \t(Specific, ia64-*-hpux*): Likewise.\n\nBut these, I'd tweak a little, see below.\n\n\n> @@ -4347,10 +4327,6 @@ for 32-bit @samp{hppa} was discontinued \n \n>  We require using gas on all hppa platforms.\n \n> -It may be helpful to configure GCC with the\n> -@uref{./configure.html#with-gnu-as,,@option{--with-gnu-as}} and\n> -@option{--with-as=@dots{}} options to ensure that GCC can find GAS@.\n> -\n>  Only the HP linker is supported.  Thus, it is best to explicitly\n>  configure the target with the @option{--with-ld=@dots{}} option.\n \nI think we should keep the recommendation of --with-as.\n\n> @@ -4399,8 +4375,7 @@ later.\n>  @anchor{ia64-x-hpux}\n>  @heading ia64-*-hpux*\n>  Building GCC on this target requires the GNU Assembler.  The bundled HP\n> -assembler will not work.  To prevent GCC from using the wrong assembler,\n> -the option @option{--with-gnu-as} may be necessary.\n> +assembler will not work.\n \nAnd here I'd recommend --with-as instead.\n\n\nOk with these changes, thanks.","headers":{"Return-Path":"<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>","X-Original-To":["incoming@patchwork.ozlabs.org","gcc-patches@gcc.gnu.org"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","gcc-patches@gcc.gnu.org"],"Authentication-Results":["legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)","sourceware.org;\n dmarc=pass (p=none dis=none) header.from=gnu.org","sourceware.org; spf=pass smtp.mailfrom=gnu.org","server2.sourceware.org;\n arc=none smtp.remote-ip=209.51.188.92"],"Received":["from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g5fwk6Tpqz1yHZ\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 13:36:37 +1000 (AEST)","from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 469FE4A9E060\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 03:36:35 +0000 (GMT)","from eggs.gnu.org (eggs.gnu.org [209.51.188.92])\n by sourceware.org (Postfix) with ESMTPS id CC3BE4BAD169\n for <gcc-patches@gcc.gnu.org>; Thu, 30 Apr 2026 03:36:09 +0000 (GMT)","from linux-libre.fsfla.org ([2001:470:142:5::54] helo=free.home)\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <oliva@gnu.org>)\n id 1wIIC4-0001zQ-Af; Wed, 29 Apr 2026 23:36:05 -0400","from livre (livre.home [172.31.160.2])\n by free.home (8.15.2/8.15.2) with ESMTPS id 63U3ZslH242226\n (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);\n Thu, 30 Apr 2026 00:35:54 -0300"],"DKIM-Filter":["OpenDKIM Filter v2.11.0 sourceware.org 469FE4A9E060","OpenDKIM Filter v2.11.0 sourceware.org CC3BE4BAD169"],"DMARC-Filter":"OpenDMARC Filter v1.4.2 sourceware.org CC3BE4BAD169","ARC-Filter":"OpenARC Filter v1.0.0 sourceware.org CC3BE4BAD169","ARC-Seal":"i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1777520169; cv=none;\n b=OBagBCWdkDBKHtyUaMyKH8M2alg/GQH9R6hLCEReRqROyfyqkihgGSfJpQYwB28FqY2kKTpGyzfK3V33WTPds/cZeymHBqpBl3CocvETo5rMr5W789Ccgxv/qdnFqmWUF+2N6xcMmd3Hs/beaUcLNmuaCdsnB3r5eWq5NnMDY64=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1777520169; c=relaxed/simple;\n bh=14jJEIfxfVDvTxU8PazbTUybt7tQhS74g2/SsSzyDJQ=;\n h=From:To:Subject:Date:Message-ID:MIME-Version;\n b=oPBE4JCiR9y7cyXV0alAkteNHJi9dEUSWn0mvG4fB0EjnMtdiom+G/aZBp0fP6+cRcbeF9Klg5yWkXFOnzX7SEnaM82B6KR2RoWNg2L5t9dIdsSsG0BokxE8TQN7J4D/KDzzz1kY1Odp+T0U/k0Fqkli9+HXQKCesh8zx9/LCVY=","ARC-Authentication-Results":"i=1; server2.sourceware.org","From":"Alexandre Oliva <oliva@gnu.org>","To":"Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>","Cc":"gcc-patches@gcc.gnu.org, Sandra Loosemore <sloosemore@baylibre.com>","Subject":"Re: [PATCH 3/6] build: Remove --with-gnu-as","Organization":"Free thinker, not speaking for the GNU Project","References":"<yddwlxp985h.fsf@CeBiTec.Uni-Bielefeld.DE>","Date":"Thu, 30 Apr 2026 00:35:54 -0300","In-Reply-To":"<yddwlxp985h.fsf@CeBiTec.Uni-Bielefeld.DE> (Rainer Orth's message\n of \"Wed, 29 Apr 2026 16:02:34 +0200\")","Message-ID":"<orse8djf1h.fsf@lxoliva.fsfla.org>","User-Agent":"Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)","MIME-Version":"1.0","Content-Type":"text/plain","X-Scanned-By":"MIMEDefang 2.84","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>,\n <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>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>","Errors-To":"gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"}}]