[Top][All Lists]

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

Re: [PATCH] Build issues with parallel make

From: Robert Millan
Subject: Re: [PATCH] Build issues with parallel make
Date: Fri, 20 Jul 2007 19:21:05 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Tue, Jul 17, 2007 at 06:29:25AM -0300, Kevin Lacquement wrote:
> Greetings all,
> A bug was recently filed on Gentoo 
> (, 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/

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/ grub-1.95/conf/
> --- grub-1.95.clean/conf/   2007-07-16 11:39:47.000000000 -0300
> +++ grub-1.95/conf/ 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 address@hidden  Note: this address is only intended
for spam harvesters.  Writing to it will get you added to my black list.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]