https://bugs.dragonflybsd.org/https://bugs.dragonflybsd.org/favicon.ico?16293952082006-12-13T23:50:00ZDragonFlyBSD bugtrackerDragonFlyBSD - Bug #408: make buildkernel not -j >1 safe?https://bugs.dragonflybsd.org/issues/408?journal_id=17672006-12-13T23:50:00Zqhwt+dfly
<ul></ul><p>I hope kern.fwd.mk rev 1.6 fixes your problem.</p>
<p>Cheers.</p> DragonFlyBSD - Bug #408: make buildkernel not -j >1 safe?https://bugs.dragonflybsd.org/issues/408?journal_id=17682006-12-14T00:46:00ZTGEN
<ul></ul><p>Alas, it doesn't. The exact error is:</p>
<p>./aicasm.nx -nostdinc -I. -Iinclude -I/usr/home/tgen/work/current/sys <br />-I/usr/home/tgen/work/current/sys/../include <br />-I/usr/home/tgen/obj/usr/home/tgen/work/current/sys/DORADO <br />-I"/usr/home/tgen/work/current/sys/dev/acpica5" <br />-I"/usr/home/tgen/work/current/sys/contrib/dev/acpica-unix-20050309/include" <br />-I/usr/home/tgen/work/current/sys/contrib/ipfilter <br />-I/usr/home/tgen/work/current/sys/bus/cam/scsi <br />-I/usr/home/tgen/work/current/sys/dev/disk/aic7xxx -o aic7xxx_seq.h -r <br />aic7xxx_reg.h -p aic7xxx_reg_print.c -i <br />/usr/home/tgen/work/current/sys/dev/disk/aic7xxx/aic7xxx_osm.h <br />/usr/home/tgen/work/current/sys/dev/disk/aic7xxx/aic7xxx.seq<br />In file included from <br />/usr/home/tgen/work/current/sys/../include/stdint.h:32,<br /> from /usr/home/tgen/work/current/sys/sys/types.h:50,<br /> from /usr/home/tgen/work/current/sys/sys/param.h:77,<br /> from <br />/usr/home/tgen/work/current/sys/machine/pc32/i386/genassym.c:41:<br />/usr/home/tgen/work/current/sys/sys/stdint.h:12:28: machine/stdint.h: No <br />such file or directory</p>
<p>Is this perhaps done before the fwd phase, or part of it?</p>
<p>Cheers,<br />-- <br /> Thomas E. Spanjaard<br /> <a class="email" href="mailto:tgen@netphreax.net">tgen@netphreax.net</a></p> DragonFlyBSD - Bug #408: make buildkernel not -j >1 safe?https://bugs.dragonflybsd.org/issues/408?journal_id=17692006-12-14T01:16:01ZTGEN
<ul></ul><p>It seems the BEFORE_DEPEND stuff is done too soon. Perhaps the .ORDER in <br />kern.fwd.mk should read something like this:</p>
<p>.ORDER: ${_MACHINE_FWD}/include/machine ${_FWDHDRS} assym.s ${_LHDRS}</p>
<p>Would that be possible?</p>
<p>Cheers,<br />-- <br /> Thomas E. Spanjaard<br /> <a class="email" href="mailto:tgen@netphreax.net">tgen@netphreax.net</a></p> DragonFlyBSD - Bug #408: make buildkernel not -j >1 safe?https://bugs.dragonflybsd.org/issues/408?journal_id=17732006-12-14T03:37:00ZTGEN
<ul></ul><p>.ORDER: ${_MACHINE_FWD}/include/machine ${_FWDHDRS} ${_LHDRS} <br />${BEFORE_DEPEND} \<br /> genassym.o</p>
<p>Only fixes the BEFORE_DEPEND stuff, but not genassym.o.</p>
<p>genassym.o: $S/machine/$P/$M/genassym.c forwarding-headers</p>
<p>Fixes the latter. I'll try some more things later on, but this appears <br />to work. I'll see what the minimum required is (maybe just the <br />additional dependency on the forwarding-headers target for genassym.o is <br />enough), and then commit that if no objections arise.</p>
<p>Cheers,<br />-- <br /> Thomas E. Spanjaard<br /> <a class="email" href="mailto:tgen@netphreax.net">tgen@netphreax.net</a></p> DragonFlyBSD - Bug #408: make buildkernel not -j >1 safe?https://bugs.dragonflybsd.org/issues/408?journal_id=17742006-12-14T03:40:00ZTGEN
<ul></ul><p>Pardon me, but I was mistaken here. BEFORE_DEPEND are not a problem, it <br />was just that the output on console was confusing.</p>
<p>This is enough. I'll commit right away.</p>
<p>Cheers,<br />-- <br /> Thomas E. Spanjaard<br /> <a class="email" href="mailto:tgen@netphreax.net">tgen@netphreax.net</a></p> DragonFlyBSD - Bug #408: make buildkernel not -j >1 safe?https://bugs.dragonflybsd.org/issues/408?journal_id=17832006-12-14T07:32:00Zqhwt+dfly
<ul></ul><p>Good catch!</p>
<p>Thanks.</p> DragonFlyBSD - Bug #408: make buildkernel not -j >1 safe?https://bugs.dragonflybsd.org/issues/408?journal_id=18392006-12-24T10:34:42Zsepherosa
<ul></ul><p>The fix has been committed.</p>