summaryrefslogtreecommitdiff
path: root/patches/glibc/2.2.2/tst-pathopt-cross.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-02-24 11:00:05 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-02-24 11:00:05 (GMT)
commit1906cf93f86d8d66f45f90380a8d3da25c087ee5 (patch)
tree90916c99abe1f1ec26709ee420e6c349eda4670a /patches/glibc/2.2.2/tst-pathopt-cross.patch
parent2609573aede4ce198b3462976725b25eb1637d2e (diff)
Add the full crosstool-NG sources to the new repository of its own.
You might just say: 'Yeah! crosstool-NG's got its own repo!". Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup. That means I'm putting backups in place in the afternoon. That also means we've lost history... :-(
Diffstat (limited to 'patches/glibc/2.2.2/tst-pathopt-cross.patch')
-rw-r--r--patches/glibc/2.2.2/tst-pathopt-cross.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/patches/glibc/2.2.2/tst-pathopt-cross.patch b/patches/glibc/2.2.2/tst-pathopt-cross.patch
new file mode 100644
index 0000000..f64d673
--- /dev/null
+++ b/patches/glibc/2.2.2/tst-pathopt-cross.patch
@@ -0,0 +1,23 @@
+Fixes error
+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
+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
+See also http://sources.redhat.com/ml/libc-alpha/2001-03/msg00113.html
+
+===================================================================
+RCS file: /cvs/glibc/libc/elf/Makefile,v
+retrieving revision 1.196
+retrieving revision 1.197
+diff -u -r1.196 -r1.197
+--- libc/elf/Makefile 2001/03/16 07:29:45 1.196
++++ libc/elf/Makefile 2001/03/25 04:57:51 1.197
+@@ -246,8 +246,10 @@
+ generated += $(addsuffix .so,$(strip $(modules-names)))
+
+ ifeq (yes,$(build-shared))
++ifeq ($(cross-compiling),no)
+ tests: $(objpfx)tst-pathopt.out
+ endif
++endif
+
+ $(objpfx)testobj1.so: $(libdl)
+ $(objpfx)testobj1_1.so: $(objpfx)testobj1.so $(libdl)