mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-03-24 13:05:32 +00:00
Make eglibc build on systems where both autoconf-2.13 and autoconf-2.50 are installed (such as Debian).
/trunk/patches/eglibc/2_8/110-AC_PREREQ-2.50.patch | 78 78 0 0 ++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+)
This commit is contained in:
parent
8935b10421
commit
69dc5197af
15
patches/eglibc/2_8/100-powerpc-private_futex.patch
Normal file
15
patches/eglibc/2_8/100-powerpc-private_futex.patch
Normal file
@ -0,0 +1,15 @@
|
||||
2008-04-28 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
|
||||
|
||||
[BZ 6740]
|
||||
nptl/sysdeps/powerpc/tcb-offsets.sym (PRIVATE_FUTEX_OFFSET):
|
||||
Guard sym definition with #ifndef __ASSUME_PRIVATE_FUTEX.
|
||||
|
||||
--- a/nptl/sysdeps/powerpc/tcb-offsets.sym
|
||||
+++ b/nptl/sysdeps/powerpc/tcb-offsets.sym
|
||||
@@ -15,4 +15,6 @@
|
||||
PID thread_offsetof (pid)
|
||||
TID thread_offsetof (tid)
|
||||
POINTER_GUARD (offsetof (tcbhead_t, pointer_guard) - TLS_TCB_OFFSET - sizeof (tcbhead_t))
|
||||
+#ifndef __ASSUME_PRIVATE_FUTEX
|
||||
PRIVATE_FUTEX_OFFSET thread_offsetof (header.private_futex)
|
||||
+#endif
|
78
patches/eglibc/2_8/110-AC_PREREQ-2.50.patch
Normal file
78
patches/eglibc/2_8/110-AC_PREREQ-2.50.patch
Normal file
@ -0,0 +1,78 @@
|
||||
Index: sysdeps/powerpc/powerpc32/configure.in
|
||||
===================================================================
|
||||
--- libc/sysdeps/powerpc/powerpc32/configure.in (revision 7000)
|
||||
+++ libc/sysdeps/powerpc/powerpc32/configure.in (working copy)
|
||||
@@ -1,6 +1,8 @@
|
||||
GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
|
||||
# Local configure fragment for sysdeps/powerpc/powerpc32.
|
||||
|
||||
+AC_PREREQ(2.50)
|
||||
+
|
||||
# See whether gas has R_PPC_REL16 relocs.
|
||||
AC_CACHE_CHECK(for R_PPC_REL16 gas support, libc_cv_ppc_rel16, [dnl
|
||||
cat > conftest.s <<\EOF
|
||||
Index: sysdeps/powerpc/powerpc32/elf/configure.in
|
||||
===================================================================
|
||||
--- libc/sysdeps/powerpc/powerpc32/elf/configure.in (revision 7000)
|
||||
+++ libc/sysdeps/powerpc/powerpc32/elf/configure.in (working copy)
|
||||
@@ -1,6 +1,8 @@
|
||||
GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
|
||||
# Local configure fragment for sysdeps/powerpc32/elf.
|
||||
|
||||
+AC_PREREQ(2.50)
|
||||
+
|
||||
if test "$usetls" != no; then
|
||||
# Check for support of thread-local storage handling in assembler and
|
||||
# linker.
|
||||
Index: sysdeps/powerpc/configure.in
|
||||
===================================================================
|
||||
--- libc/sysdeps/powerpc/configure.in (revision 7000)
|
||||
+++ libc/sysdeps/powerpc/configure.in (working copy)
|
||||
@@ -1,6 +1,8 @@
|
||||
GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
|
||||
# Local configure fragment for sysdeps/powerpc.
|
||||
|
||||
+AC_PREREQ(2.50)
|
||||
+
|
||||
# Accept binutils which knows about ".machine".
|
||||
AC_CACHE_CHECK(for .machine support, libc_cv_ppc_machine, [dnl
|
||||
cat > conftest.s <<\EOF
|
||||
Index: sysdeps/unix/sysv/linux/powerpc/configure.in
|
||||
===================================================================
|
||||
--- libc/sysdeps/unix/sysv/linux/powerpc/configure.in (revision 7000)
|
||||
+++ libc/sysdeps/unix/sysv/linux/powerpc/configure.in (working copy)
|
||||
@@ -2,6 +2,8 @@
|
||||
GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
|
||||
# Local configure fragment for sysdeps/unix/sysv/linux/powerpc/.
|
||||
|
||||
+AC_PREREQ(2.50)
|
||||
+
|
||||
AC_CACHE_CHECK(whether $CC $CFLAGS -mlong-double-128 uses IBM extended format,
|
||||
libc_cv_mlong_double_128ibm, [dnl
|
||||
save_CFLAGS="$CFLAGS"
|
||||
Index: sysdeps/ieee754/ldbl-opt/configure.in
|
||||
===================================================================
|
||||
--- libc/sysdeps/ieee754/ldbl-opt/configure.in (revision 7000)
|
||||
+++ libc/sysdeps/ieee754/ldbl-opt/configure.in (working copy)
|
||||
@@ -2,6 +2,8 @@
|
||||
GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
|
||||
# Local configure fragment for sysdeps/ieee754/ldbl-opt/.
|
||||
|
||||
+AC_PREREQ(2.50)
|
||||
+
|
||||
AC_CACHE_CHECK(whether $CC $CFLAGS supports -mlong-double-128,
|
||||
libc_cv_mlong_double_128, [dnl
|
||||
save_CFLAGS="$CFLAGS"
|
||||
Index: libidn/configure.in
|
||||
===================================================================
|
||||
--- libc/libidn/configure.in (revision 7000)
|
||||
+++ libc/libidn/configure.in (working copy)
|
||||
@@ -1,6 +1,8 @@
|
||||
dnl glibc configure fragment for libidn add-on
|
||||
GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
|
||||
|
||||
+AC_PREREQ(2.50)
|
||||
+
|
||||
libc_add_on_canonical=
|
||||
libc_add_on_subdirs=.
|
||||
|
Loading…
x
Reference in New Issue
Block a user