From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IBw7Z-0007mM-FV for mharc-grub-devel@gnu.org; Fri, 20 Jul 2007 13:18:29 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IBw7Y-0007lD-6R for grub-devel@gnu.org; Fri, 20 Jul 2007 13:18:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IBw7X-0007kT-Fp for grub-devel@gnu.org; Fri, 20 Jul 2007 13:18:27 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IBw7X-0007kO-CP for grub-devel@gnu.org; Fri, 20 Jul 2007 13:18:27 -0400 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IBw7X-0000jE-4n for grub-devel@gnu.org; Fri, 20 Jul 2007 13:18:27 -0400 Received: from [192.168.10.6] (helo=aragorn) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1IBw7U-00006Y-6Q for grub-devel@gnu.org; Fri, 20 Jul 2007 19:18:25 +0200 Received: from rmh by aragorn with local (Exim 4.63) (envelope-from ) id 1IBwA5-00006J-8O for grub-devel@gnu.org; Fri, 20 Jul 2007 19:21:05 +0200 Date: Fri, 20 Jul 2007 19:21:05 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20070720172105.GA32667@aragorn> References: <20070717062925.c67ff003.kevin@lacqui.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070717062925.c67ff003.kevin@lacqui.com> Organization: free as in freedom X-Message-Flag: Microsoft discourages use of Outlook. X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: Genre and OS details not recognized. Subject: Re: [PATCH] Build issues with parallel make X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2007 17:18:28 -0000 On Tue, Jul 17, 2007 at 06:29:25AM -0300, Kevin Lacquement wrote: > Greetings all, > > A bug was recently filed on Gentoo (https://bugs.gentoo.org/show_bug.cgi?id=185361), showing that for a parallel make headers aren't necessarily built before their object files. I didn't look much into the problem, I just made a quick band-aid patch, which only handles the reported problem but it could probably bear some looking into. Thank you for your help, but it is a bit more complicated than that. The file you're modifiing is dynamicaly generated with: ruby1.8 genmk.rb < conf/i386-pc.rmk > conf/i386-pc.mk Making this work properly might be a bit trickier. I myself don't understand it (plus, I'm ruby illiterate), so I'm afraid I can't be of help on this. > diff -ru grub-1.95.clean/conf/i386-pc.mk grub-1.95/conf/i386-pc.mk > --- grub-1.95.clean/conf/i386-pc.mk 2007-07-16 11:39:47.000000000 -0300 > +++ grub-1.95/conf/i386-pc.mk 2007-07-16 11:49:25.000000000 -0300 > @@ -739,7 +739,7 @@ > $(CC) -Iutil -I$(srcdir)/util $(CPPFLAGS) $(CFLAGS) -DGRUB_UTIL=1 $(grub_emu_CFLAGS) -MD -c -o $@ $< > -include grub_emu-util_console.d > > -grub_emu-util_grub_emu.o: util/grub-emu.c > +grub_emu-util_grub_emu.o: util/grub-emu.c grub_modules_init.h > $(CC) -Iutil -I$(srcdir)/util $(CPPFLAGS) $(CFLAGS) -DGRUB_UTIL=1 $(grub_emu_CFLAGS) -MD -c -o $@ $< > -include grub_emu-util_grub_emu.d -- Robert Millan My spam trap is honeypot@aybabtu.com. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.