All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] uclibc: update to 1.0.21
@ 2016-12-26 19:29 Waldemar Brodkorb
  2016-12-27  9:37 ` Peter Korsgaard
  2016-12-29  8:31 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Waldemar Brodkorb @ 2016-12-26 19:29 UTC (permalink / raw)
  To: buildroot

Remove all patches as they are upstream.
Remove MALLOC_GLIBC_COMPAT and UCLIBC_HAS_OBSTACK as they got removed.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
the patch shouldn't be applied before:
  busybox: fix modutils compile
---
 ...s-linux-common-madvise.c-disable-on-noMMU.patch | 31 --------
 ...-mman.h-remove-madvise-posix_madvise-prot.patch | 36 ----------
 package/uclibc/0003-bfin-fix-a-gcc-warning.patch   | 25 -------
 ...4-fix-static-linking-for-FDPIC-toolchains.patch | 49 -------------
 .../uclibc/0005-xtensa-fix-static-linking.patch    | 60 ----------------
 ...ads-optimize-single-threaded-applications.patch | 83 ----------------------
 ...-add-definition-of-__attribute_alloc_size.patch | 42 -----------
 package/uclibc/uClibc-ng.config                    |  2 -
 package/uclibc/uclibc.hash                         |  2 +-
 package/uclibc/uclibc.mk                           |  2 +-
 10 files changed, 2 insertions(+), 330 deletions(-)
 delete mode 100644 package/uclibc/0001-libc-sysdeps-linux-common-madvise.c-disable-on-noMMU.patch
 delete mode 100644 package/uclibc/0002-include-sys-mman.h-remove-madvise-posix_madvise-prot.patch
 delete mode 100644 package/uclibc/0003-bfin-fix-a-gcc-warning.patch
 delete mode 100644 package/uclibc/0004-fix-static-linking-for-FDPIC-toolchains.patch
 delete mode 100644 package/uclibc/0005-xtensa-fix-static-linking.patch
 delete mode 100644 package/uclibc/0006-threads-optimize-single-threaded-applications.patch
 delete mode 100644 package/uclibc/0007-sys-cdefs.h-add-definition-of-__attribute_alloc_size.patch

diff --git a/package/uclibc/0001-libc-sysdeps-linux-common-madvise.c-disable-on-noMMU.patch b/package/uclibc/0001-libc-sysdeps-linux-common-madvise.c-disable-on-noMMU.patch
deleted file mode 100644
index bc97153..0000000
--- a/package/uclibc/0001-libc-sysdeps-linux-common-madvise.c-disable-on-noMMU.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From bf7a84dc1fd8c9c340222260cb3e53019715088c Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-Date: Wed, 7 Dec 2016 23:18:49 +0100
-Subject: [PATCH] libc/sysdeps/linux/common/madvise.c: disable on noMMU
- architectures
-
-Similar to what was done in commit
-9945c6d21797553e78cbef8034f6dd16b3824df5 for posix_madvise().
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
----
- libc/sysdeps/linux/common/madvise.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/libc/sysdeps/linux/common/madvise.c b/libc/sysdeps/linux/common/madvise.c
-index e953d7b..bb486d2 100644
---- a/libc/sysdeps/linux/common/madvise.c
-+++ b/libc/sysdeps/linux/common/madvise.c
-@@ -9,6 +9,8 @@
- 
- #include <sys/syscall.h>
- #include <sys/mman.h>
-+#ifdef __ARCH_USE_MMU__
- #if defined __NR_madvise && defined __USE_BSD
- _syscall3(int, madvise, void *, __addr, size_t, __len, int, __advice)
-+#endif /* __ARCH_USE_MMU__ */
- #endif
--- 
-2.1.4
-
diff --git a/package/uclibc/0002-include-sys-mman.h-remove-madvise-posix_madvise-prot.patch b/package/uclibc/0002-include-sys-mman.h-remove-madvise-posix_madvise-prot.patch
deleted file mode 100644
index 1d0d8a6..0000000
--- a/package/uclibc/0002-include-sys-mman.h-remove-madvise-posix_madvise-prot.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 25a60624713990c637f125e094e968ff4655307c Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-Date: Wed, 7 Dec 2016 23:20:18 +0100
-Subject: [PATCH] include/sys/mman.h: remove madvise/posix_madvise
- prototypes on noMMU
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
----
- include/sys/mman.h | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/include/sys/mman.h b/include/sys/mman.h
-index 71d553a..fc8fce5 100644
---- a/include/sys/mman.h
-+++ b/include/sys/mman.h
-@@ -99,6 +99,7 @@ static __inline__ int msync (void *__addr, size_t __len, int __flags) { return 0
- 
- #endif
- 
-+#ifdef __ARCH_USE_MMU__
- #if defined __USE_BSD && (defined __UCLIBC_LINUX_SPECIFIC__ || defined __UCLIBC_HAS_THREADS_NATIVE__)
- /* Advise the system about particular usage patterns the program follows
-    for the region starting at ADDR and extending LEN bytes.  */
-@@ -108,6 +109,8 @@ extern int madvise (void *__addr, size_t __len, int __advice) __THROW;
- /* This is the POSIX name for this function.  */
- extern int posix_madvise (void *__addr, size_t __len, int __advice) __THROW;
- #endif
-+#endif /* __ARCH_USE_MMU__ */
-+
- 
- #if defined __UCLIBC_HAS_REALTIME__
- # ifdef __ARCH_USE_MMU__
--- 
-2.1.4
-
diff --git a/package/uclibc/0003-bfin-fix-a-gcc-warning.patch b/package/uclibc/0003-bfin-fix-a-gcc-warning.patch
deleted file mode 100644
index 2463e6c..0000000
--- a/package/uclibc/0003-bfin-fix-a-gcc-warning.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 1f79f41508d0f9c30be812bea9b84fd7900a273e Mon Sep 17 00:00:00 2001
-From: Waldemar Brodkorb <wbx@openadk.org>
-Date: Thu, 8 Dec 2016 04:07:47 +0100
-Subject: [PATCH] bfin: fix a gcc warning
-
-Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
----
- ldso/ldso/bfin/dl-sysdep.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/ldso/ldso/bfin/dl-sysdep.h b/ldso/ldso/bfin/dl-sysdep.h
-index 5758117..4262a26 100644
---- a/ldso/ldso/bfin/dl-sysdep.h
-+++ b/ldso/ldso/bfin/dl-sysdep.h
-@@ -93,6 +93,6 @@ static __always_inline void
- elf_machine_relative (DL_LOADADDR_TYPE load_off, const Elf32_Addr rel_addr,
- 		      Elf32_Word relative_count)
- {
--	return 0;
-+	return;
- }
- #endif
--- 
-2.1.4
-
diff --git a/package/uclibc/0004-fix-static-linking-for-FDPIC-toolchains.patch b/package/uclibc/0004-fix-static-linking-for-FDPIC-toolchains.patch
deleted file mode 100644
index 3dc778f..0000000
--- a/package/uclibc/0004-fix-static-linking-for-FDPIC-toolchains.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From 569914be2e968a1bda8b4982ca97c1524635174e Mon Sep 17 00:00:00 2001
-From: Waldemar Brodkorb <wbx@openadk.org>
-Date: Thu, 8 Dec 2016 04:36:10 +0100
-Subject: [PATCH] fix static linking for FDPIC toolchains
-
-Fixes following problem, when trying to compile a simple
-C application statically with a FDPIC toolchain (for example
-with Blackfin architecture):
-lib/libc.a(libdl.os): In function `do_dlclose':
-(.text+0x6be): undefined reference to `_dl_free'
-..
-
-Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
----
- ldso/libdl/libdl.c | 11 ++++++++---
- 1 file changed, 8 insertions(+), 3 deletions(-)
-
-diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c
-index 0cf3b70..04d7c43 100644
---- a/ldso/libdl/libdl.c
-+++ b/ldso/libdl/libdl.c
-@@ -30,6 +30,14 @@
-  */
- 
- 
-+/* When libdl is linked in statically into libc.a, we need to replace
-+ * these symbols that otherwise would have been loaded in from ldso.
-+ * This must be before including ldso.h */
-+#ifndef SHARED
-+#define _dl_malloc malloc
-+#define _dl_free free
-+#endif
-+
- #include <ldso.h>
- #include <stdio.h>
- #include <string.h>
-@@ -86,9 +94,6 @@ extern char *_dl_debug;
- 
- #else /* !SHARED */
- 
--#define _dl_malloc malloc
--#define _dl_free free
--
- /* When libdl is linked as a static library, we need to replace all
-  * the symbols that otherwise would have been loaded in from ldso... */
- 
--- 
-2.1.4
-
diff --git a/package/uclibc/0005-xtensa-fix-static-linking.patch b/package/uclibc/0005-xtensa-fix-static-linking.patch
deleted file mode 100644
index 7a96bf7..0000000
--- a/package/uclibc/0005-xtensa-fix-static-linking.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From 6579597083e608f5a66fe8a898d113c2588e2c8f Mon Sep 17 00:00:00 2001
-From: Waldemar Brodkorb <wbx@openadk.org>
-Date: Wed, 7 Dec 2016 07:59:34 +0100
-Subject: [PATCH] xtensa: fix static linking
-
-uClibc-ng 1.0.20 fixed static linking with "libdl" by adding all libdl functions
-into the libc. On xtensa, though, libdl contains an unresolved reference that is
-satisfied by the ld.so - which is not a part of the linking in a static case.
-
-Signed-off-by: Alexey Neyman <stilor@att.net>
-Acked-by: Max Filippov <jcmvbkbc@gmail.com>
-Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
----
- libpthread/nptl/sysdeps/Makefile.commonarch      | 5 +++--
- libpthread/nptl/sysdeps/xtensa/Makefile.arch     | 2 +-
- libpthread/nptl/sysdeps/xtensa/libc-dl-tlsdesc.S | 1 +
- 3 files changed, 5 insertions(+), 3 deletions(-)
- create mode 100644 libpthread/nptl/sysdeps/xtensa/libc-dl-tlsdesc.S
-
-diff --git a/libpthread/nptl/sysdeps/Makefile.commonarch b/libpthread/nptl/sysdeps/Makefile.commonarch
-index c206ac9..134eade 100644
---- a/libpthread/nptl/sysdeps/Makefile.commonarch
-+++ b/libpthread/nptl/sysdeps/Makefile.commonarch
-@@ -32,10 +32,11 @@ libpthread_arch_SOBJ = $(patsubst %.S,$(libpthread_arch_OUT)/%.o,$(libpthread_ar
- libpthread_arch_OBJS = $(libpthread_subarch_OBJS) $(libpthread_arch_COBJ) $(libpthread_arch_SOBJ)
- 
- libc_arch_COBJ = $(patsubst %.c,$(libpthread_arch_OUT)/%.o,$(libc_arch_CSRC))
--libc_arch_SOBJ = $(patsubst %.c,$(libpthread_arch_OUT)/%.o,$(libc_arch_SSRC))
-+libc_arch_SOBJ = $(patsubst %.S,$(libpthread_arch_OUT)/%.o,$(libc_arch_SSRC))
- libc_arch_OBJS = $(libc_arch_COBJ) $(libc_arch_SOBJ)
- libc_arch_a_COBJ = $(patsubst %.c,$(libpthread_arch_OUT)/%.o,$(libc_arch_a_CSRC))
--libc_arch_a_OBJS = $(libc_arch_a_COBJ)
-+libc_arch_a_SOBJ = $(patsubst %.S,$(libpthread_arch_OUT)/%.o,$(libc_arch_a_SSRC))
-+libc_arch_a_OBJS = $(libc_arch_a_COBJ) $(libc_arch_a_SOBJ)
- 
- librt_arch_COBJ = $(patsubst %.c,$(libpthread_arch_OUT)/%.o,$(librt_arch_CSRC))
- librt_arch_SOBJ = $(patsubst %.S,$(libpthread_arch_OUT)/%.o,$(librt_arch_SSRC))
-diff --git a/libpthread/nptl/sysdeps/xtensa/Makefile.arch b/libpthread/nptl/sysdeps/xtensa/Makefile.arch
-index 9e63b19..642e4ba 100644
---- a/libpthread/nptl/sysdeps/xtensa/Makefile.arch
-+++ b/libpthread/nptl/sysdeps/xtensa/Makefile.arch
-@@ -20,7 +20,7 @@ ASFLAGS-pthread_spin_lock.S = -DNOT_IN_libc -DIS_IN_libpthread
- ASFLAGS-pthread_spin_trylock.S = -DNOT_IN_libc -DIS_IN_libpthread
- 
- libc_arch_a_CSRC = libc-tls.c
--librt_arch_a_SSRC = dl-tlsdesc.S
-+libc_arch_a_SSRC = libc-dl-tlsdesc.S
- 
- CFLAGS-gen_tlsdesc.c = -S
- $(libpthread_arch_OUT)/gen_tlsdesc.c: $(libpthread_arch_DIR)/tlsdesc.sym | $(libpthread_arch_OUT)
-diff --git a/libpthread/nptl/sysdeps/xtensa/libc-dl-tlsdesc.S b/libpthread/nptl/sysdeps/xtensa/libc-dl-tlsdesc.S
-new file mode 100644
-index 0000000..39da7c2
---- /dev/null
-+++ b/libpthread/nptl/sysdeps/xtensa/libc-dl-tlsdesc.S
-@@ -0,0 +1 @@
-+#include <ldso/ldso/xtensa/dl-tlsdesc.S>
--- 
-2.1.4
-
diff --git a/package/uclibc/0006-threads-optimize-single-threaded-applications.patch b/package/uclibc/0006-threads-optimize-single-threaded-applications.patch
deleted file mode 100644
index 2983820..0000000
--- a/package/uclibc/0006-threads-optimize-single-threaded-applications.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-From 5ca03df6978345c297225212cc0ca33d476b0272 Mon Sep 17 00:00:00 2001
-From: Waldemar Brodkorb <wbx@openadk.org>
-Date: Wed, 7 Dec 2016 07:56:44 +0100
-Subject: [PATCH] threads: optimize single threaded applications
-
-Revert the removal of the weak pthread functions and
-guarantee a link order so that single threaded applications
-doesn't link in all the pthread functions they don't use.
-
-Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
-Tested-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
-Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
----
- libc/misc/internals/Makefile.in     |  4 +++-
- libc/misc/internals/__uClibc_main.c | 37 +++++++++++++++++++++++++++++++++++++
- 2 files changed, 40 insertions(+), 1 deletion(-)
-
-diff --git a/libc/misc/internals/Makefile.in b/libc/misc/internals/Makefile.in
-index ae094ee..ce7f75a 100644
---- a/libc/misc/internals/Makefile.in
-+++ b/libc/misc/internals/Makefile.in
-@@ -25,7 +25,9 @@ libc-shared-y += $(MISC_INTERNALS_OUT)/__uClibc_main.oS
- else
- libc-shared-y += $(MISC_INTERNALS_OUT)/__uClibc_main.os
- endif
--libc-static-y += $(MISC_INTERNALS_OUT)/__uClibc_main.o
-+# link order is important to not pull in pthread functions, when
-+# a single threaded application is statically linked
-+libc-static-y := $(MISC_INTERNALS_OUT)/__uClibc_main.o $(libc-static-y)
- libc-static-$(UCLIBC_FORMAT_FLAT_SEP_DATA) += \
-   $(MISC_INTERNALS_OUT)/shared_flat_initfini.o \
-   $(MISC_INTERNALS_OUT)/shared_flat_add_library.o
-diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c
-index 46e24d8..d80565e 100644
---- a/libc/misc/internals/__uClibc_main.c
-+++ b/libc/misc/internals/__uClibc_main.c
-@@ -68,6 +68,43 @@ uintptr_t __stack_chk_guard attribute_relro;
- 
- void internal_function _dl_aux_init (ElfW(auxv_t) *av);
- 
-+#ifdef __UCLIBC_HAS_THREADS__
-+/*
-+ * uClibc internal locking requires that we have weak aliases
-+ * for dummy functions in case a single threaded application is linked.
-+ * This needs to be in compilation unit that is pulled always
-+ * in or linker will disregard these weaks.
-+ */
-+
-+static int __pthread_return_0 (pthread_mutex_t *unused) { return 0; }
-+weak_alias (__pthread_return_0, __pthread_mutex_lock)
-+weak_alias (__pthread_return_0, __pthread_mutex_trylock)
-+weak_alias (__pthread_return_0, __pthread_mutex_unlock)
-+
-+int weak_function
-+__pthread_mutex_init(pthread_mutex_t *mutex, const pthread_mutexattr_t *attr)
-+{
-+        return 0;
-+}
-+
-+void weak_function
-+_pthread_cleanup_push_defer(struct _pthread_cleanup_buffer *__buffer,
-+                            void (*__routine) (void *), void *__arg)
-+{
-+        __buffer->__routine = __routine;
-+        __buffer->__arg = __arg;
-+}
-+
-+void weak_function
-+_pthread_cleanup_pop_restore(struct _pthread_cleanup_buffer *__buffer,
-+                             int __execute)
-+{
-+        if (__execute)
-+                __buffer->__routine(__buffer->__arg);
-+}
-+
-+#endif /* __UCLIBC_HAS_THREADS__ */
-+
- #endif /* !SHARED */
- 
- /* Defeat compiler optimization which assumes function addresses are never NULL */
--- 
-2.1.4
-
diff --git a/package/uclibc/0007-sys-cdefs.h-add-definition-of-__attribute_alloc_size.patch b/package/uclibc/0007-sys-cdefs.h-add-definition-of-__attribute_alloc_size.patch
deleted file mode 100644
index c9421ef..0000000
--- a/package/uclibc/0007-sys-cdefs.h-add-definition-of-__attribute_alloc_size.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From dfcc950af1af003ee9e6fc985b5d6b3eb7d408af Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-Date: Mon, 19 Dec 2016 22:56:30 +0100
-Subject: [PATCH] sys/cdefs.h: add definition of __attribute_alloc_size__
-
-Commit cee0b058fa0b4501b289a2da365182d60314d746 ("add aligned_alloc
-required for latest gcc libstdc++") added the prototype of
-aligned_alloc() to <stdlib.h>. This prototype contains
-'__attribute_alloc_size__ ((2))', but this is not defined anywhere in
-uClibc-ng.
-
-This commit addresses that by adding the relevant definition in
-<sys/cdefs.h>, borrowed from glibc.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
----
- include/sys/cdefs.h | 9 +++++++++
- 1 file changed, 9 insertions(+)
-
-diff --git a/include/sys/cdefs.h b/include/sys/cdefs.h
-index f725ce9..6cd3811 100644
---- a/include/sys/cdefs.h
-+++ b/include/sys/cdefs.h
-@@ -222,6 +222,15 @@
- # define __attribute_malloc__ /* Ignore */
- #endif
- 
-+/* Tell the compiler which arguments to an allocation function
-+   indicate the size of the allocation.  */
-+#if __GNUC_PREREQ (4, 3)
-+# define __attribute_alloc_size__(params) \
-+  __attribute__ ((__alloc_size__ params))
-+#else
-+# define __attribute_alloc_size__(params) /* Ignore.  */
-+#endif
-+
- /* At some point during the gcc 2.96 development the `pure' attribute
-    for functions was introduced.  We don't want to use it unconditionally
-    (although this would be possible) since it generates warnings.  */
--- 
-2.7.4
-
diff --git a/package/uclibc/uClibc-ng.config b/package/uclibc/uClibc-ng.config
index 2671e06..528bce9 100644
--- a/package/uclibc/uClibc-ng.config
+++ b/package/uclibc/uClibc-ng.config
@@ -5,8 +5,6 @@ KERNEL_HEADERS="/usr/src/linux/include"
 # UCLIBC_STATIC_LDCONFIG is not set
 LDSO_RUNPATH=y
 LDSO_RUNPATH_OF_EXECUTABLE=y
-MALLOC_GLIBC_COMPAT=y
-UCLIBC_HAS_OBSTACK=y
 UCLIBC_HAS_UTMPX=y
 UCLIBC_HAS_UTMP=y
 UCLIBC_SUSV2_LEGACY=y
diff --git a/package/uclibc/uclibc.hash b/package/uclibc/uclibc.hash
index 9d2a5ec..0c9e71a 100644
--- a/package/uclibc/uclibc.hash
+++ b/package/uclibc/uclibc.hash
@@ -1,2 +1,2 @@
 # From http://www.uclibc-ng.org/
-sha256  1c817672a65cf9132c98f84e1b8445650de1c18eca258f49c0050b420a25e946        uClibc-ng-1.0.20.tar.xz
+sha256  6e99ebebe8a46ddcd26615828d51b62dbf580568aa58bf5f495da37eba0c872d        uClibc-ng-1.0.21.tar.xz
diff --git a/package/uclibc/uclibc.mk b/package/uclibc/uclibc.mk
index aa67a1e..bef1bb7 100644
--- a/package/uclibc/uclibc.mk
+++ b/package/uclibc/uclibc.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-UCLIBC_VERSION = 1.0.20
+UCLIBC_VERSION = 1.0.21
 UCLIBC_SOURCE = uClibc-ng-$(UCLIBC_VERSION).tar.xz
 UCLIBC_SITE = http://downloads.uclibc-ng.org/releases/$(UCLIBC_VERSION)
 UCLIBC_LICENSE = LGPLv2.1+
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] uclibc: update to 1.0.21
  2016-12-26 19:29 [Buildroot] [PATCH] uclibc: update to 1.0.21 Waldemar Brodkorb
@ 2016-12-27  9:37 ` Peter Korsgaard
  2016-12-29  8:31 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2016-12-27  9:37 UTC (permalink / raw)
  To: buildroot

>>>>> "Waldemar" == Waldemar Brodkorb <wbx@openadk.org> writes:

 > Remove all patches as they are upstream.
 > Remove MALLOC_GLIBC_COMPAT and UCLIBC_HAS_OBSTACK as they got removed.

 > Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
 > ---
 > the patch shouldn't be applied before:
 >   busybox: fix modutils compile

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] uclibc: update to 1.0.21
  2016-12-26 19:29 [Buildroot] [PATCH] uclibc: update to 1.0.21 Waldemar Brodkorb
  2016-12-27  9:37 ` Peter Korsgaard
@ 2016-12-29  8:31 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2016-12-29  8:31 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, 26 Dec 2016 20:29:48 +0100, Waldemar Brodkorb wrote:
> Remove all patches as they are upstream.
> Remove MALLOC_GLIBC_COMPAT and UCLIBC_HAS_OBSTACK as they got removed.
> 
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>

I believe this update breaks the libglib build. The new uclibc-ng
version provides its own libiconv implementation. And interestingly,
all the libglib failures of the last days occur only with the uClibc
internal toolchain configurations (on powerpc, arm, xtensa and arc).
And they all fail with:

  gconvert.c:25:19: fatal error: iconv.h: No such file or directory

So it seems like the configure script detects that the C library
provides iconv_open() and therefore assumes it provides the iconv
implementation. But then later fails because there's no iconv.h.

Note: this is a very quick analysis, the problem may be more
complicated. But it clearly points at the latest uClibc-ng bump.

Full list of build failures:

   http://autobuild.buildroot.net/?reason=libglib2-2.50.2&step=250

It started failing at commit b575baeb, which is exactly one commit
after the uclibc-ng bump to 1.0.21.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-12-29  8:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-26 19:29 [Buildroot] [PATCH] uclibc: update to 1.0.21 Waldemar Brodkorb
2016-12-27  9:37 ` Peter Korsgaard
2016-12-29  8:31 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.