patches/glibc/2.3.2/glibc-2.3.2-cross.patch
changeset 1 eeea35fbf182
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/glibc/2.3.2/glibc-2.3.2-cross.patch	Sat Feb 24 11:00:05 2007 +0000
     1.3 @@ -0,0 +1,27 @@
     1.4 +http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/resolv/Makefile.diff?r1=1.41&r2=1.42&cvsroot=glibc
     1.5 +
     1.6 +Fixes 
     1.7 +/bin/sh: /crosstool-0.15/build/powerpc-750-linux-gnu/gcc-3.3-glibc-2.3.2/build-glibc/elf/ld.so.1: cannot execute binary file
     1.8 +make[2]: *** [/crosstool-0.15/build/powerpc-750-linux-gnu/gcc-3.3-glibc-2.3.2/build-glibc/resolv/tst-leaks.out] Error 126
     1.9 +
    1.10 +2003-03-01  Andreas Schwab  <schwab@suse.de>
    1.11 +
    1.12 +	* resolv/Makefile (tests): Don't depend on
    1.13 +	$(objpfx)mtrace-tst-leaks when cross compiling.
    1.14 +
    1.15 +===================================================================
    1.16 +RCS file: /cvs/glibc/libc/resolv/Makefile,v
    1.17 +retrieving revision 1.41
    1.18 +retrieving revision 1.42
    1.19 +diff -u -r1.41 -r1.42
    1.20 +--- libc/resolv/Makefile	2003/02/23 03:35:39	1.41
    1.21 ++++ libc/resolv/Makefile	2003/03/01 22:15:00	1.42
    1.22 +@@ -93,6 +93,8 @@
    1.23 + tst-leaks-ENV = MALLOC_TRACE=$(objpfx)tst-leaks.mtrace
    1.24 + $(objpfx)mtrace-tst-leaks: $(objpfx)tst-leaks.out
    1.25 + 	$(common-objpfx)malloc/mtrace $(objpfx)tst-leaks.mtrace > $@
    1.26 ++ifeq (no,$(cross-compiling))
    1.27 + ifneq (no,$(PERL))
    1.28 + tests: $(objpfx)mtrace-tst-leaks
    1.29 + endif
    1.30 ++endif