On Wed, Jan 14, 2004 at 08:35:59PM +0100, Alfred M. Szmidt wrote:
> The following fixes the GNU Mach 1 branch so that it can compile with
> recent versions of gcc (>3.x) and binutils (>2.14)
> 
> 2004-01-15  Alfred M. Szmidt  <[EMAIL PROTECTED]
> 
>       * Makefile.in (kernel-undef): Match new output format form
>       nm (binutils) 2.14.x.
> 
> Index: Makefile.in
> ===================================================================
> RCS file: /cvsroot/hurd/gnumach/Makefile.in,v
> retrieving revision 1.31
> diff -u -r1.31 Makefile.in
> --- Makefile.in       23 May 2002 00:06:22 -0000      1.31
> +++ Makefile.in       14 Jan 2004 19:28:30 -0000
> @@ -312,7 +312,7 @@
>  kernel.o: $(objfiles) # kernel.a
>       $(LD) -r -o $@ $^
>  kernel-undef: kernel.o
> -     $(NM) -u $< | sed 's/^_*//' | sort -u > $@
> +     $(NM) -u $< | sed 's/         U *//;s/^_*//' | sort -u > $@
>  kernel-undef-bad: kernel-undef Makefile
>       sed '$(foreach r,$(clib-routines),/^$r$$/d;)' $< > $@
>  clib-routines.o: kernel-undef kernel-undef-bad

This part of the patch is also needed for the mainline.  Could it be
committed there too?


Thanks,
Jeroen Dekkers


_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to