1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/glibc/2.2.2/tst-pathopt-cross.patch Fri May 18 15:48:11 2007 +0000
1.3 @@ -0,0 +1,23 @@
1.4 +Fixes error
1.5 +tst-pathopt.sh: /crosstool-0.20/build/powerpc-750-linux-gnu/gcc-2.95.3-glibc-2.2.2/build-glibc/elf/ld.so: cannot execute binary file
1.6 +make[2]: *** [/crosstool-0.20/build/powerpc-750-linux-gnu/gcc-2.95.3-glibc-2.2.2/build-glibc/elf/tst-pathopt.out] Error 126
1.7 +See also http://sources.redhat.com/ml/libc-alpha/2001-03/msg00113.html
1.8 +
1.9 +===================================================================
1.10 +RCS file: /cvs/glibc/libc/elf/Makefile,v
1.11 +retrieving revision 1.196
1.12 +retrieving revision 1.197
1.13 +diff -u -r1.196 -r1.197
1.14 +--- libc/elf/Makefile 2001/03/16 07:29:45 1.196
1.15 ++++ libc/elf/Makefile 2001/03/25 04:57:51 1.197
1.16 +@@ -246,8 +246,10 @@
1.17 + generated += $(addsuffix .so,$(strip $(modules-names)))
1.18 +
1.19 + ifeq (yes,$(build-shared))
1.20 ++ifeq ($(cross-compiling),no)
1.21 + tests: $(objpfx)tst-pathopt.out
1.22 + endif
1.23 ++endif
1.24 +
1.25 + $(objpfx)testobj1.so: $(libdl)
1.26 + $(objpfx)testobj1_1.so: $(objpfx)testobj1.so $(libdl)