diff mbox

uclibc: update to 1.0.9

Message ID 20151115122850.GA29521@waldemar-brodkorb.de
State Accepted
Commit 67299e3ae02f7c31c58875deb655e031c7f4fe82
Headers show

Commit Message

Waldemar Brodkorb Nov. 15, 2015, 12:28 p.m. UTC
Fixes a fanotify include bug where old kernels (2.6.x) fail to build.
Fixes recent failures on x86 with Linux 4.3.x kernel regarding
network sockets. Includes the removed patch.

Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
---

Hi, as discussed on IRC #buildroot, please consider to apply it to
master. It contains all patchsets to build perfectly with latest 4.3
(x86) and old 2.6 kernels (regarding fanotify changes).
The other changes are mostly outside the use case of buildroot.
(changes to h8/300 and metag architecture, documentation fixes
mentioning buildroot as usable platform for uClibc-ng)

One new feature is added, euidaccess legacy function, but the
addition shouldn't add any regression to existing code.

---
 .../1.0.8/0001-unistd-fix-if-condition.patch       |   34 --------------------
 package/uclibc/Config.in                           |    2 +-
 package/uclibc/uclibc.hash                         |    2 +-
 3 files changed, 2 insertions(+), 36 deletions(-)
 delete mode 100644 package/uclibc/1.0.8/0001-unistd-fix-if-condition.patch

Comments

Thomas Petazzoni Nov. 16, 2015, 4:20 p.m. UTC | #1
Hello,

On Sun, 15 Nov 2015 13:28:50 +0100, Waldemar Brodkorb wrote:
> Fixes a fanotify include bug where old kernels (2.6.x) fail to build.
> Fixes recent failures on x86 with Linux 4.3.x kernel regarding
> network sockets. Includes the removed patch.
> 
> Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>

Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

I didn't test, but I checked the changelog between 1.0.8 and 1.0.9, and
it seems minimal, and really fixes 2 problems that are currently
affecting Buildroot: fanotify build issues with old kernel headers and
the network issue on x86 with 4.3 kernels.

To me, this should be applied to master.

Best regards,

Thomas
Peter Korsgaard Nov. 16, 2015, 10:11 p.m. UTC | #2
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Hello,
 > On Sun, 15 Nov 2015 13:28:50 +0100, Waldemar Brodkorb wrote:
 >> Fixes a fanotify include bug where old kernels (2.6.x) fail to build.
 >> Fixes recent failures on x86 with Linux 4.3.x kernel regarding
 >> network sockets. Includes the removed patch.
 >> 
 >> Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>

 > Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 > I didn't test, but I checked the changelog between 1.0.8 and 1.0.9, and
 > it seems minimal, and really fixes 2 problems that are currently
 > affecting Buildroot: fanotify build issues with old kernel headers and
 > the network issue on x86 with 4.3 kernels.

 > To me, this should be applied to master.

Ok - Committed, thanks.
diff mbox

Patch

diff --git a/package/uclibc/1.0.8/0001-unistd-fix-if-condition.patch b/package/uclibc/1.0.8/0001-unistd-fix-if-condition.patch
deleted file mode 100644
index c321f4e..0000000
--- a/package/uclibc/1.0.8/0001-unistd-fix-if-condition.patch
+++ /dev/null
@@ -1,34 +0,0 @@ 
-From 1e85892911bf016e9bb2a647b6584cdd806706f8 Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-Date: Tue, 3 Nov 2015 15:32:23 +0100
-Subject: [PATCH] unistd: fix #if condition
-
-Commit dfa593d4d881116723a4401b466ea964fb12327b ("syncfs: add system
-call support") modified the #if condition around the definition of the
-syncfs() prototype in a way that doesn't build, causing build failures
-of any file including <unistd.h>:
-
-output/host/usr/powerpc-buildroot-linux-uclibc/sysroot/usr/include/unistd.h:988:14: error: #if with no expression
- #if __USE_GNU
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
----
- include/unistd.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/include/unistd.h b/include/unistd.h
-index 4701dab..40d6abd 100644
---- a/include/unistd.h
-+++ b/include/unistd.h
-@@ -1073,7 +1073,7 @@ extern char *getpass (const char *__prompt) __nonnull ((1));
- extern int fsync (int __fd);
- #endif /* Use BSD || X/Open || Unix98.  */
- 
--#if __USE_GNU
-+#if defined __USE_GNU
- /* Make all changes done to all files on the file system associated
-  *    with FD actually appear on disk.  */
- extern int syncfs (int __fd) __THROW;
--- 
-2.6.2
-
diff --git a/package/uclibc/Config.in b/package/uclibc/Config.in
index 21d8ddc..eeb6ca0 100644
--- a/package/uclibc/Config.in
+++ b/package/uclibc/Config.in
@@ -57,7 +57,7 @@  config BR2_USE_UCLIBC_SNAPSHOT
 config BR2_UCLIBC_VERSION_STRING
 	string
 	default "0.9.33.2"	if BR2_UCLIBC_VERSION_0_9_33
-	default "1.0.8"		if BR2_UCLIBC_VERSION_NG
+	default "1.0.9"		if BR2_UCLIBC_VERSION_NG
 	default BR2_USE_UCLIBC_SNAPSHOT	if BR2_UCLIBC_VERSION_SNAPSHOT
 
 config BR2_UCLIBC_CONFIG
diff --git a/package/uclibc/uclibc.hash b/package/uclibc/uclibc.hash
index d9931a9..f985501 100644
--- a/package/uclibc/uclibc.hash
+++ b/package/uclibc/uclibc.hash
@@ -2,7 +2,7 @@ 
 sha256	62333167b79afb0b25a843513288c67b59547acf653e8fbe62ee64e71ebd1587	uClibc-0.9.33.2.tar.xz
 
 # From http://www.uclibc-ng.org/
-sha256  11575cda78681713f5a36cf35deaae93acdc7dce463d38a12902991fb7f5312a        uClibc-ng-1.0.8.tar.xz
+sha256  08be8dd22ac0c3806add88b813129fb3014437eddc9d78fc73eba7f33c4b4a9d        uClibc-ng-1.0.9.tar.xz
 
 # No hash for the ARC variant, comes from the github-helper
 none	xxx	uClibc-arc-2015.06.tar.gz