From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by sourceware.org (Postfix) with ESMTPS id 5EA313858424 for ; Wed, 2 Nov 2022 12:35:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5EA313858424 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rasmusvillemoes.dk Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rasmusvillemoes.dk Received: by mail-lf1-x132.google.com with SMTP id be13so28014226lfb.4 for ; Wed, 02 Nov 2022 05:35:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=1EfS8K+qdQ+ua4LYQpA99r/KCBPl8fa257g47OGLWWI=; b=MtXK6RBD1zQGm37TfmhztwJJsOOra3COZjQJ3mqMUsoEHexDf4NPQZcczOenCcaMGb n3Wv38tQ10vb3JHCaplt8Iu1wlMy7O6NkPIxUDk2DDgHhB9Rxg8zcBkUGX6X72miIQcC vzIxC7VyVrtuDGfivU09s6F35SsA1VpXtN9j4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1EfS8K+qdQ+ua4LYQpA99r/KCBPl8fa257g47OGLWWI=; b=ivPa9oqyIjl9mJwmQTkMncRwvXQO4L2IRljq+yFfInRvx7cTsek+G3xGix+4OBEXNj 9bppyTXJLs7elzGf45L7wa5ctL+A/AUUdblnIe+Pux3nG0jZ1ySEmG9f0lSi3cLhPYF7 SG2BfE4PiD/tEqzBislOo77nrJNd5A9f8NRV5x9MyQY9NO2JmT0FrADMsu267t4RwOMI y3MC7AodliDdxGLS1Y3Emd/JNW6rlYEosswTSDK7vyHgmWs5Pk/zc//njI+6mDLnD2dv vNMqddJlvVSDlAh53+Fk4OgOqNhWs5PfW+D/vr0k0Xr3E1g6n+iuqHsnUJz5tpiginBY g5EQ== X-Gm-Message-State: ACrzQf38Gw7PfAiEFTToLUIvB8f3Ni6wS50kNh0388IdNFmRyi5hYcEl 2aiMwX03ugPCHl5SZqqKk1hdYg== X-Google-Smtp-Source: AMsMyM4AlFPQQdfmMLKQXzFivASW6RYKQK+k0p11xsdlmR4SOIjddlb5rfiCK1qdD27rtx0jt1TocQ== X-Received: by 2002:ac2:5928:0:b0:4a2:2819:4fb2 with SMTP id v8-20020ac25928000000b004a228194fb2mr8805079lfi.183.1667392554875; Wed, 02 Nov 2022 05:35:54 -0700 (PDT) Received: from [172.21.3.31] ([87.54.42.112]) by smtp.gmail.com with ESMTPSA id w23-20020a2e9997000000b00267232d0652sm2134072lji.46.2022.11.02.05.35.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Nov 2022 05:35:54 -0700 (PDT) Message-ID: <0ac9a297-150b-b9e5-2c48-6ff553595e43@rasmusvillemoes.dk> Date: Wed, 2 Nov 2022 13:35:53 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH] gcc: honour -ffile-prefix-map in ASM_MAP [PR93371] Content-Language: en-US To: Jeff Law , gcc-patches@gcc.gnu.org Cc: Vagrant Cascadian References: <20220829092917.477788-1-rv@rasmusvillemoes.dk> <6a8ad344-22f1-4ca5-9254-7a9ccc952737@gmail.com> From: Rasmus Villemoes In-Reply-To: <6a8ad344-22f1-4ca5-9254-7a9ccc952737@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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: On 01/11/2022 21.11, Jeff Law wrote: > > On 8/29/22 03:29, Rasmus Villemoes wrote: >> -ffile-prefix-map is supposed to be a superset of -fmacro-prefix-map >> and -fdebug-prefix-map. However, when building .S or .s files, gas is >> not called with the appropriate --debug-prefix-map option when >> -ffile-prefix-map is used. >> >> While the user can specify -fdebug-prefix-map when building assembly >> files via gcc, it's more ergonomic to also support -ffile-prefix-map; >> especially since for .S files that could contain the __FILE__ macro, >> one would then also have to specify -fmacro-prefix-map. >> >> gcc: >>     PR driver/93371 >>     * gcc.cc (ASM_MAP): Honour -ffile-prefix-map. > > OK.  Sorry for the long delay. Thanks, and no problem. However, when I try to push the new master branch I get $ git push origin master fatal: remote error: service not enabled: /git/gcc.git I do gcc patches sufficiently rare that I may have forgotten the right procedure, but this is what I think I've done previously (along with running a "git gcc-verify HEAD" to ensure there's a proper changelog fragment to extract, with gcc-verify being a suitable alias). Have I simply lost by commit bit? Rasmus