From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14752 invoked by alias); 30 Jul 2015 11:12:13 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 14734 invoked by uid 89); 30 Jul 2015 11:12:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qk0-f173.google.com Received: from mail-qk0-f173.google.com (HELO mail-qk0-f173.google.com) (209.85.220.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 30 Jul 2015 11:12:11 +0000 Received: by qkdv3 with SMTP id v3so16496573qkd.3 for ; Thu, 30 Jul 2015 04:12:09 -0700 (PDT) X-Received: by 10.55.23.205 with SMTP id 74mr67597852qkx.102.1438254729478; Thu, 30 Jul 2015 04:12:09 -0700 (PDT) Received: from ?IPv6:2601:181:c000:c497:a2a8:cdff:fe3e:b48? ([2601:181:c000:c497:a2a8:cdff:fe3e:b48]) by smtp.googlemail.com with ESMTPSA id a1sm273023qgf.33.2015.07.30.04.12.07 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jul 2015 04:12:08 -0700 (PDT) Subject: Re: lto wrapper verboseness To: Richard Biener , Jakub Jelinek References: <55B95C2F.8020606@acm.org> <20150730081535.GN1780@tucnak.redhat.com> Cc: GCC Patches From: Nathan Sidwell Message-ID: <55BA0686.2010108@acm.org> Date: Thu, 30 Jul 2015 11:37:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2015-07/txt/msg02555.txt.bz2 On 07/30/15 04:28, Richard Biener wrote: > On Thu, Jul 30, 2015 at 10:15 AM, Jakub Jelinek wrote: >> On Thu, Jul 30, 2015 at 10:09:05AM +0200, Richard Biener wrote: >>> On Thu, Jul 30, 2015 at 1:05 AM, Nathan Sidwell wrote: >>>> Jakub, >>>> this patch augments the lto wrapper to print out the arguments to spawned >>>> commands when verbose. I found this useful in debugging recent development. >>>> >>>> ok for trunk? >>> >>> Err - fork_execute through collect_execute already does this if >>> verbose || debug. >>> >>> So better figure out why this doesn't work. >> >> All I can add is that it really doesn't work, so far to get at the arguments >> passed to the offloading cc1/cc1plus/f951, I had to strace -s 1024 -v and >> capture what has been passed to the compiler and the content of the >> temporary file with options. > > Is this because collect_execute prints the variant with the response file? > Then better fix that. Of course we only print the driver invocation - but > that's the same with the proposed patch. It did surprise me that the usual machinery wasn't printing this stuff, but I didn't investigate why. nathan