diff options
author | Joseph Cole <jnc@unknown.openembedded.org> | 2006-03-14 07:29:08 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-03-14 07:29:08 +0000 |
commit | bc0b94d8fcfa91070076b7dd6675e879f13a8f87 (patch) | |
tree | 3ed24699218bf8b80acfbd624cf17ffda92999cf /packages/glibc/glibc-2.4/nptl-crosscompile.patch | |
parent | f09191891573d5a4992cf9238463805fc1090ee5 (diff) |
Pushing glibc 2.4 per OE bug ticket #741. Thanks to Bernhard Rosenkraenzer
for the patch. Not including CVS modifications, reference bug report if
they are needed, or add them yourself.
This is not tested, setting preference to "-1".
Diffstat (limited to 'packages/glibc/glibc-2.4/nptl-crosscompile.patch')
-rw-r--r-- | packages/glibc/glibc-2.4/nptl-crosscompile.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/glibc/glibc-2.4/nptl-crosscompile.patch b/packages/glibc/glibc-2.4/nptl-crosscompile.patch new file mode 100644 index 0000000000..18a46ad4f1 --- /dev/null +++ b/packages/glibc/glibc-2.4/nptl-crosscompile.patch @@ -0,0 +1,26 @@ +--- glibc-2.4/nptl/sysdeps/pthread/configure.in.ark 2006-03-12 00:41:40.000000000 +0100 ++++ glibc-2.4/nptl/sysdeps/pthread/configure.in 2006-03-12 00:44:08.000000000 +0100 +@@ -45,5 +45,6 @@ + AC_MSG_ERROR([the compiler must support C cleanup handling]) + fi + else +- AC_MSG_ERROR(forced unwind support is required) ++ AC_MSG_WARN([forced unwind support is required, can't be verified while crosscompiling]) ++ AC_DEFINE(HAVE_FORCED_UNWIND) + fi +--- glibc-2.4/nptl/sysdeps/pthread/configure.ark 2006-03-12 00:42:47.000000000 +0100 ++++ glibc-2.4/nptl/sysdeps/pthread/configure 2006-03-12 00:44:08.000000000 +0100 +@@ -153,7 +153,10 @@ + { (exit 1); exit 1; }; } + fi + else +- { { echo "$as_me:$LINENO: error: forced unwind support is required" >&5 +-echo "$as_me: error: forced unwind support is required" >&2;} +- { (exit 1); exit 1; }; } ++ { echo "$as_me:$LINENO: WARNING: forced unwind support is required, can't be verified while crosscompiling" >&5 ++echo "$as_me: WARNING: forced unwind support is required, can't be verified while crosscompiling" >&2;} ++ cat >>confdefs.h <<\_ACEOF ++#define HAVE_FORCED_UNWIND 1 ++_ACEOF ++ + fi |