[PR other/65021] mkoffloads -save-temps handling, and cleanup cleanup (was: lto wrapper verboseness)

2015-10-05 Thread Thomas Schwinge
Hi! In a similar vein to the earlier patch to "Pass on the verbose flag "-v" to/in the mkoffloads", here is a patch to make the mkoffloads handle "-save-temps", and this patch also happens to address , "nvptx mkoffload doesn't clean up its temporary files". OK for tru

Re: lto wrapper verboseness

2015-09-30 Thread Thomas Schwinge
Hi! On Mon, 28 Sep 2015 12:23:37 +0200, Bernd Schmidt wrote: > > > > We need to pass on the verbose flag. I once came up with the following > > patch (depends on "Refactor intelmic-mkoffload.c argv building", > >

Re: lto wrapper verboseness

2015-09-28 Thread Bernd Schmidt
We need to pass on the verbose flag. I once came up with the following patch (depends on "Refactor intelmic-mkoffload.c argv building", ); OK for trunk? /* Run objcopy. */ @@ -457,6 +465,8 @@

Re: lto wrapper verboseness

2015-09-28 Thread Thomas Schwinge
Hi! On Thu, 30 Jul 2015 10:09:05 +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. > > >

Re: lto wrapper verboseness

2015-07-30 Thread Nathan Sidwell
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 spaw

Re: lto wrapper verboseness

2015-07-30 Thread Richard Biener
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.

Re: lto wrapper verboseness

2015-07-30 Thread Jakub Jelinek
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. > > > >

Re: lto wrapper verboseness

2015-07-30 Thread Richard Biener
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

lto wrapper verboseness

2015-07-29 Thread Nathan Sidwell
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? nathan 2015-07-29 Nathan Sidwell * lto-wrapper.c (verbose_exec): New. (compile_offload_image, run_gcc): Call it. In