RFC: PATCH to avoid linking multiple front ends at once with parallel make

Mike Stump mikestump@comcast.net
Tue May 14 18:04:00 GMT 2013


On May 13, 2013, at 9:49 PM, Alexandre Oliva <aoliva@redhat.com> wrote:
> However, rather than implementing the locking in Makefiles, I'm thinking
> it might be wiser to do so in a script that takes the lock name and the
> command to run while holding the lock.

I worry about quoting.  Anytime you accept and pass on a argument list, typically means that you destroy the argument list, unless you have something to quote it for you.  bash (sh in general) has a fetish for destroying arguments.  :-(  A linker option that has \, or spaces or ' or " in it, is the type of problem I'm thinking of.  Also applies to filenames.


More information about the Gcc-patches mailing list