r4555 - in glibc-package/branches/eglibc-2.13/debian: . patches patches/powerpc
Author: aurel32
Date: 2011-02-28 17:27:07 +0000 (Mon, 28 Feb 2011)
New Revision: 4555
Added:
glibc-package/branches/eglibc-2.13/debian/patches/powerpc/local-libgcc_eh-ld.so.diff
Modified:
glibc-package/branches/eglibc-2.13/debian/changelog
glibc-package/branches/eglibc-2.13/debian/patches/series
Log:
* Add patches/powerpc/local-libgcc_eh-ld.so.diff to fix bug-atexit3
test on PowerPC.
Modified: glibc-package/branches/eglibc-2.13/debian/changelog
===================================================================
--- glibc-package/branches/eglibc-2.13/debian/changelog 2011-02-28 15:21:39 UTC (rev 4554)
+++ glibc-package/branches/eglibc-2.13/debian/changelog 2011-02-28 17:27:07 UTC (rev 4555)
@@ -123,6 +123,8 @@
* Add patches/any/cvs-rtld-prelink.diff to fix segfault on prelinked
binaries.
* Add patches/sparc/submitted-bzero.diff to fix bzero() on sparc.
+ * Add patches/powerpc/local-libgcc_eh-ld.so.diff to fix bug-atexit3
+ test on PowerPC.
[ Samuel Thibault ]
* Add patches/any/cvs-glro_dl_debug_mask.diff to fix build without
Added: glibc-package/branches/eglibc-2.13/debian/patches/powerpc/local-libgcc_eh-ld.so.diff
===================================================================
--- glibc-package/branches/eglibc-2.13/debian/patches/powerpc/local-libgcc_eh-ld.so.diff (rev 0)
+++ glibc-package/branches/eglibc-2.13/debian/patches/powerpc/local-libgcc_eh-ld.so.diff 2011-02-28 17:27:07 UTC (rev 4555)
@@ -0,0 +1,21 @@
+On PowerPC, unwind-dw2 needs __libc_stack_end to find the AUX
+Vector AT_HWCAP. The HWCAP is required to check for the presence of FPU
+or Altivec registers. But `__libc_stack_end' is only exported by ld.so
+and ld.so is not included in this link.
+
+This seems to be a gcc-4.4 bug, not reproducible with gcc-4.5. It should
+probably be removed at some point.
+
+diff a/dlfcn/Makefile b/dlfcn/Makefile
+--- a/dlfcn/Makefile
++++ b/dlfcn/Makefile
+@@ -124,7 +124,8 @@ $(objpfx)bug-atexit1.out: $(objpfx)bug-atexit1-lib.so
+ $(objpfx)bug-atexit2: $(libdl)
+ $(objpfx)bug-atexit2.out: $(objpfx)bug-atexit2-lib.so
+
+-LDLIBS-bug-atexit3-lib.so = -lstdc++ -lgcc_eh $(common-objpfx)libc_nonshared.a
++LDLIBS-bug-atexit3-lib.so = -lstdc++ -lgcc_eh $(common-objpfx)libc_nonshared.a \
++ $(elfobjdir)/ld.so
+ $(objpfx)bug-atexit3: $(libdl)
+ $(objpfx)bug-atexit3.out: $(objpfx)bug-atexit3-lib.so
+
Modified: glibc-package/branches/eglibc-2.13/debian/patches/series
===================================================================
--- glibc-package/branches/eglibc-2.13/debian/patches/series 2011-02-28 15:21:39 UTC (rev 4554)
+++ glibc-package/branches/eglibc-2.13/debian/patches/series 2011-02-28 17:27:07 UTC (rev 4555)
@@ -141,6 +141,8 @@
mips/local-r10k.diff
mips/submitted-rld_map.diff
+powerpc/local-libgcc_eh-ld.so.diff
+
s390/submitted-nexttowardf.diff
sparc/local-fork.diff
Reply to: