This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [wwwdocs] IPA and LTO updates


On Tue, Nov 16, 2010 at 07:09:59PM +0100, Ralf Wildenhues wrote:
> If you pass the --jobserver-fd=... flags but the fd's are not actually
> open, the sub-'make -jN' prints warnings.  So, lto-wrapper should only
> allow through the flags if it also passes the file descriptors (and of
> course they are passed to lto-wrapper in the first place).

They should have their close-on-exec flags cleared.
So I think this should just work. I don't think anything in gcc
will close random file descriptors. 

So I guess it's safe to do.

> 
> Another issue that is at least debatable is whether you want to pass on
> flags like n (--dry-run, probably yes), k (--keep-going, not so sure),
> t (--touch, not sure either).  There are more.

Why not? I don't see any harm from doing the same in a submake
as the main make.

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]