1.1 --- a/patches/gcc/3.3.1/compat.exp.patch Tue Aug 14 19:32:22 2007 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,37 +0,0 @@
1.4 -Fixes the following problem when testing a cross-compiler:
1.5 -
1.6 -============================================
1.7 -Testing g++.dg/compat/abi/bitfield1,
1.8 -...
1.9 -Invoking the compiler as /crosstool-0.12/build/powerpc-750-linux-gnu/gcc-3.3-glibc-2.2.5/build-gcc/gcc/testsuite/../g++ ...
1.10 -/crosstool-0.12/build/powerpc-750-linux-gnu/gcc-3.3-glibc-2.2.5/gcc-3.3/gcc/testsuite/g++.dg/compat/abi/bitfield1_main.C
1.11 -pid is 16028 -16028
1.12 -compiler exited with status 1
1.13 -output is:
1.14 -sh: error while loading shared libraries: /opt/cegl-2.0/powerpc-750-linux-gnu/gcc-3.3-glibc-2.2.5/powerpc-750-linux-gnu/./lib/libdl.so.2: ELF file data encoding not little-endian
1.15 -/crosstool-0.12/build/powerpc-750-linux-gnu/gcc-3.3-glibc-2.2.5/build-gcc/gcc/testsuite/../g++: error while loading shared libraries: /opt/cegl-2.0/powerpc-750-linux-gnu/gcc-3.3-glibc-2.2.5/powerpc-750-linux-gnu/./lib/libc.so.6: ELF file data encoding not little-endian
1.16 -
1.17 -FAIL: g++.dg/compat/abi/bitfield1 main_tst.o compile
1.18 -============================================
1.19 -
1.20 ---- gcc-3.3/gcc/testsuite/g++.dg/compat/compat.exp.old Thu Oct 17 17:22:57 2002
1.21 -+++ gcc-3.3/gcc/testsuite/g++.dg/compat/compat.exp Mon Jul 14 10:59:19 2003
1.22 -@@ -42,11 +42,13 @@
1.23 - proc compat-fix-library-path { } {
1.24 - global ld_library_path
1.25 -
1.26 -- # See comments in lib/g++.exp for why this is needed.
1.27 -- setenv LD_LIBRARY_PATH $ld_library_path
1.28 -- setenv SHLIB_PATH $ld_library_path
1.29 -- setenv LD_LIBRARYN32_PATH $ld_library_path
1.30 -- setenv LD_LIBRARY64_PATH $ld_library_path
1.31 -+ if {![is_remote target]} {
1.32 -+ # See comments in lib/g++.exp for why this is needed.
1.33 -+ setenv LD_LIBRARY_PATH $ld_library_path
1.34 -+ setenv SHLIB_PATH $ld_library_path
1.35 -+ setenv LD_LIBRARYN32_PATH $ld_library_path
1.36 -+ setenv LD_LIBRARY64_PATH $ld_library_path
1.37 -+ }
1.38 - }
1.39 -
1.40 - #