This is the mail archive of the
mailing list for the GCC project.
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.
email@example.com -- Speaking for myself only.