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.133.124]) by sourceware.org (Postfix) with ESMTPS id 836C13858422 for ; Thu, 22 Sep 2022 11:32:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 836C13858422 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=1663846325; 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=UPFly77Sa/sgWI3K/zeYKNi6ZJ3GL2IyPqVs3oZqzCMzJ2Mtvk+DK4VikjhzQ9ATnkKWDU pM3XC4nBtwJ16Yh7vAMmo12tNK+vyvvJT6EShUaO+WGYnoC8xTQQW4XtonPQYfnYgYVfyg GSTJc6v61bp1kZgGoQ28TvT6vkMtGUU= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-122-GoVNelWOMH6yj4N7S7pTJQ-1; Thu, 22 Sep 2022 07:32:04 -0400 X-MC-Unique: GoVNelWOMH6yj4N7S7pTJQ-1 Received: by mail-wm1-f71.google.com with SMTP id d5-20020a05600c34c500b003b4fb42ccdeso938651wmq.8 for ; Thu, 22 Sep 2022 04:32:03 -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=J0sZNjSiLuotpTBS1NjU2yQb2Gl4IKYr5R4Xh4tSs85DhlIvmTTjZYzI2M5s0wyz49 SoxSu343E0PmPGkUNUFdX8BcckAB6j/I9Zw6BhPxqLfwyu+r68Xq7U04Br6cc+JcHvhU 0jwhzjT2XOoqCUwZu8Hrnb3VDrKfL8IsOeDNeEkeACoPZJ++8wCPImm0P/1gFFP8k6oB fUn41mNlmCxEgAuWVI+6prSbfV5bBEJWPT7McNEafjM1uS9BA8x1zucUE+r3qDjBNR1C WbsIWTf0d6gJ32bNocDRfkFjVf/gnONZMi8/eah5k96wB63oPJmRoryNDNK7yHNbt5ch uJcw== X-Gm-Message-State: ACrzQf26HlopDxZ7VYgsFdYEv7tha5aFHmaTFYar7qGC1Muf3/59xACl JtrrLjvm9QorL7UEho0R+nhGp0pq1QhmM+oMaFisdJlFzWTAGQvNRb+UoR5HJqI6mltng0lgfKM YN7wKNrnfXJ4NRsX01A== X-Received: by 2002:a5d:5382:0:b0:22a:c36f:8e36 with SMTP id d2-20020a5d5382000000b0022ac36f8e36mr1661120wrv.245.1663846322761; 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=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: 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