From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 07BF83858299 for ; Thu, 22 Sep 2022 11:32:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 07BF83858299 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1663846326; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OMy2irbCQHMWUewe+z6MRInp2dTca/C1EX1ohB5St68=; b=gxgKFIGGJVL13dUnHStgt4Iwrje9mmeLuoZqsjuFNcC7TbJd5srsgS0QfCAtp1znb1kR4+ dYasqfSlE+5eLSqDeNx4ZSwIR0Xyhs+M5ti9C4AFHgClrBTG8M2ip+3rIfHk9DiuhIdR/r nEMtuNDEGzacaODVB+ZRa5x2PvpEX3U= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-297-tFb8ja_FP9qBPg0LWg-iaA-1; Thu, 22 Sep 2022 07:32:05 -0400 X-MC-Unique: tFb8ja_FP9qBPg0LWg-iaA-1 Received: by mail-wr1-f71.google.com with SMTP id a13-20020adfbc4d000000b00228631ddfafso3159847wrh.9 for ; Thu, 22 Sep 2022 04:32:04 -0700 (PDT) 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:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=OMy2irbCQHMWUewe+z6MRInp2dTca/C1EX1ohB5St68=; b=2rosTbTK+tctKkLOz6CyfJQUeKrSbGInknlFJ465foMnSej7ganEXVgTfsoYTN5iP/ jR3Y7Li1t9uYSK7CPka1caNbmILLyRU4JvIgPfRI1TKG+0JvTyMS+wz4K+tJ/TUjs+Jj BteENIMv7wdljrpVK3jDCNWolDkEmEC4iWmJSz0DvmOoRgYJHtmdRxTMZ5vpng6oSriT 4GIUjK/ua0/SWIqFtcNTAAAU9Fw+rgVhw91iI+7H82ACDFUeAlParXLhR9KmBfT8GFhX gqqflFfoeECqFAhdkdLqic2gWHcEwyeYiI/CzhCB4UP/4heR4m4H1vSoIioaR0BXw3V2 +7yw== X-Gm-Message-State: ACrzQf2mmWfFfRB79ejRC2RHMyrdujrGgUUhfaaELkzS1KPbpp17WcGo ewBCsv1CmGlC81eviigqsUrjTsiAy67VUY1H6KWqTkCxTtLe2R1Ab70cyPCqjkXveIbDG2jAwDj OJqMC8fs= X-Received: by 2002:a5d:5382:0:b0:22a:c36f:8e36 with SMTP id d2-20020a5d5382000000b0022ac36f8e36mr1661119wrv.245.1663846322759; Thu, 22 Sep 2022 04:32:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4+pJzFJJQVLRI8dr9mCX2vXBHk3G+lA36ry8eAcWdAgZFyLnzUudh+R4I0MqVSEcwyxRBEnQ== X-Received: by 2002:a5d:5382:0:b0:22a:c36f:8e36 with SMTP id d2-20020a5d5382000000b0022ac36f8e36mr1661102wrv.245.1663846322541; Thu, 22 Sep 2022 04:32:02 -0700 (PDT) Received: from [192.168.1.7] ([212.126.151.172]) by smtp.gmail.com with ESMTPSA id e10-20020a5d6d0a000000b002205a5de337sm5481126wrq.102.2022.09.22.04.32.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Sep 2022 04:32:01 -0700 (PDT) Message-ID: <887f5ccb-e7b7-50e8-7356-24e4f4415104@redhat.com> Date: Thu, 22 Sep 2022 12:32:00 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 Subject: Re: Forward GCC '-v' command-line option to binutils assembler, linker (was: [PING] nvptx: forward '-v' command-line option to assembler, linker) To: Thomas Schwinge , Tom de Vries , binutils@sourceware.org, gcc@gcc.gnu.org References: <874k185ak4.fsf@dem-tschwing-1.ger.mentorg.com> <871qw08orn.fsf@euler.schwinge.homeip.net> <820c4820-aca2-29f2-8727-11aa3913ae68@suse.de> <878rmd84n6.fsf@euler.schwinge.homeip.net> From: Nick Clifton In-Reply-To: <878rmd84n6.fsf@euler.schwinge.homeip.net> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-GB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Thomas, >>> +/* Linker supports '-v' option. */ >>> +#define LINK_SPEC "%{v}" > > ..., Tom rightfully asked: > >> [...] I wonder, normally we don't pass -v to ld, and need -Wl,-v for >> that. > > So, on my quest for making things uniform/simple, I now wonder: should we > also forward GCC '-v' to binutils linker, or is there a reason to not do > that? Not really no. Historically of course this has not been done, so changing it now might surprise a few users. But it should not be that big of an issue. >> So, any particular reason why we would do things differently for >> nvptx? Nope, none at all. Harmonizing the effect of the -v option sounds like a good idea to me. Cheers Nick