yann@1: Fixes error yann@1: 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 yann@1: 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 yann@1: See also http://sources.redhat.com/ml/libc-alpha/2001-03/msg00113.html yann@1: yann@1: =================================================================== yann@1: RCS file: /cvs/glibc/libc/elf/Makefile,v yann@1: retrieving revision 1.196 yann@1: retrieving revision 1.197 yann@1: diff -u -r1.196 -r1.197 yann@1: --- libc/elf/Makefile 2001/03/16 07:29:45 1.196 yann@1: +++ libc/elf/Makefile 2001/03/25 04:57:51 1.197 yann@1: @@ -246,8 +246,10 @@ yann@1: generated += $(addsuffix .so,$(strip $(modules-names))) yann@1: yann@1: ifeq (yes,$(build-shared)) yann@1: +ifeq ($(cross-compiling),no) yann@1: tests: $(objpfx)tst-pathopt.out yann@1: endif yann@1: +endif yann@1: yann@1: $(objpfx)testobj1.so: $(libdl) yann@1: $(objpfx)testobj1_1.so: $(objpfx)testobj1.so $(libdl)