aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/eglibc-2.16/fileops-without-wchar-io.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-07-24 00:25:58 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-26 14:39:49 +0100
commitf7a3121c0e4524f33f312f37d6a0bc952b219780 (patch)
treef9902c046000c3c61ee3295bc4e313d14a5a18a0 /meta/recipes-core/eglibc/eglibc-2.16/fileops-without-wchar-io.patch
parenteeb445ecbc651ad614a4fc492039bdad0747d45d (diff)
downloadopenembedded-core-contrib-f7a3121c0e4524f33f312f37d6a0bc952b219780.tar.gz
eglibc: Fix build when OPTION_POSIX_WIDE_CHAR_DEVICE_IO is not set
poky-tiny disables certain eglibc options which gives good excercise for eglibc's componentized builds. This patch essentially updates the GLRO patch to account for additions of GLRO(dl_debug_mask) and converts them to GLRO_dl_debug_mask Secondly adds a new patch where it was creating a undefined alias because we were using INTUSE macro which got exposed when we disable OPTION_POSIX_WIDE_CHAR_DEVICE_IO Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-2.16/fileops-without-wchar-io.patch')
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.16/fileops-without-wchar-io.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-2.16/fileops-without-wchar-io.patch b/meta/recipes-core/eglibc/eglibc-2.16/fileops-without-wchar-io.patch
new file mode 100644
index 0000000000..2ca0bca248
--- /dev/null
+++ b/meta/recipes-core/eglibc/eglibc-2.16/fileops-without-wchar-io.patch
@@ -0,0 +1,22 @@
+Fix error like
+
+/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/work/mips64-oe-linux/eglibc-2.16-r2+svnr19383/build-mips64-oe-linux/libc_pic.os: In function `_IO_new_file_fopen':
+/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/work/mips64-oe-linux/eglibc-2.16-r2+svnr19383/eglibc-2_16/libc/libio/fileops.c:431: undefined reference to `_IO_file_close_it_internal'
+collect2: error: ld returned 1 exit status
+
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+Upstream-Status: Pending
+Index: libc/libio/fileops.c
+===================================================================
+--- libc.orig/libio/fileops.c 2012-07-04 18:25:47.000000000 -0700
++++ libc/libio/fileops.c 2012-07-24 00:21:17.220322557 -0700
+@@ -428,7 +428,7 @@
+ result->_mode = 1;
+ #else
+ /* Treat this as if we couldn't find the given character set. */
+- (void) INTUSE(_IO_file_close_it) (fp);
++ (void) _IO_file_close_it (fp);
+ __set_errno (EINVAL);
+ return NULL;
+ #endif