tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: make vs MKDEBUG vs parallel builds



On Wed, Jun 03, 2015 at 02:07:11PM +1000, matthew green wrote:
 > if make supported multiple outputs for one rule, it would be easy to
 > simply fold the .debug creation into the normal rule, but it doesn't.
 > (this is similar to the yacc creates two files problem.)

oh, it does. It's just broken in our make :-/

 > the only real solution i can think of for this is to split this into
 > 3 rules:
 > 	.so
 > 	.so.full
 > 	.so.debug.
 > 
 > this has the unfortunate side effect of increasing the build space for
 > MKDEBUG builds.  on my amd64 system, i measured approx 170MB of
 > additional files.
 > 
 > can anyone think of a way to avoid this copy?  if not, i think we'll
 > have to pay the costs for correct builds.

Like with the other cases with multiple outputs, there's no correct
way to do it without fixing make.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index