Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/2] package/uclibc: bump version to 1.0.35
@ 2020-09-03 15:57 Petr Vorel
  2020-09-03 15:57 ` [Buildroot] [PATCH v2 2/2] package/iproute2: bump version to 5.8.0 Petr Vorel
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Petr Vorel @ 2020-09-03 15:57 UTC (permalink / raw)
  To: buildroot

Drop patch from this release.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
 ...ude-hi-and-lo-in-__SYSCALL_CLOBBERS-.patch | 68 -------------------
 package/uclibc/uclibc.hash                    |  4 +-
 package/uclibc/uclibc.mk                      |  2 +-
 3 files changed, 3 insertions(+), 71 deletions(-)
 delete mode 100644 package/uclibc/0001-mips-Do-not-include-hi-and-lo-in-__SYSCALL_CLOBBERS-.patch

diff --git a/package/uclibc/0001-mips-Do-not-include-hi-and-lo-in-__SYSCALL_CLOBBERS-.patch b/package/uclibc/0001-mips-Do-not-include-hi-and-lo-in-__SYSCALL_CLOBBERS-.patch
deleted file mode 100644
index cc8b9d9c0b..0000000000
--- a/package/uclibc/0001-mips-Do-not-include-hi-and-lo-in-__SYSCALL_CLOBBERS-.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-From aad6cdbcff0f5411a09ac524637fea62652786a3 Mon Sep 17 00:00:00 2001
-From: Romain Naour <romain.naour@gmail.com>
-Date: Fri, 8 May 2020 18:39:45 +0200
-Subject: [PATCH] mips: Do not include hi and lo in __SYSCALL_CLOBBERS for R6
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-From [1]
-"GCC 10 (PR 91233) won't silently allow registers that are not architecturally
-available to be present in the clobber list anymore, resulting in build failure
-for mips*r6 targets in form of:
-...
-.../sysdep.h:146:2: error: the register ?lo? cannot be clobbered in ?asm? for the current target
-  146 |  __asm__ volatile (      \
-      |  ^~~~~~~
-
-This is because base R6 ISA doesn't define hi and lo registers w/o DSP extension.
-This patch provides the alternative definitions of __SYSCALL_CLOBBERS for r6
-targets that won't include those registers."
-
-[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=020b2a97bb15f807c0482f0faee2184ed05bcad8
-
-Signed-off-by: Romain Naour <romain.naour@gmail.com>
-Cc: Waldemar Brodkorb <wbx@openadk.org>
----
- libc/sysdeps/linux/mips/bits/syscalls.h | 18 ++++++++++++++----
- 1 file changed, 14 insertions(+), 4 deletions(-)
-
-diff --git a/libc/sysdeps/linux/mips/bits/syscalls.h b/libc/sysdeps/linux/mips/bits/syscalls.h
-index b8f80597e..13728ac55 100644
---- a/libc/sysdeps/linux/mips/bits/syscalls.h
-+++ b/libc/sysdeps/linux/mips/bits/syscalls.h
-@@ -270,8 +270,13 @@
- 	_sys_result;							\
- })
- 
--#define __SYSCALL_CLOBBERS "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", \
--	"$14", "$15", "$24", "$25", "hi", "lo", "memory"
-+#if __mips_isa_rev >= 6
-+# define __SYSCALL_CLOBBERS "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", \
-+	 "$14", "$15", "$24", "$25", "memory"
-+#else
-+# define __SYSCALL_CLOBBERS "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", \
-+	 "$14", "$15", "$24", "$25", "hi", "lo", "memory"
-+#endif
- 
- #else /* N32 || N64 */
- 
-@@ -327,8 +332,13 @@
- 	_sys_result;							\
- })
- 
--#define __SYSCALL_CLOBBERS "$1", "$3", "$10", "$11", "$12", "$13", \
--	"$14", "$15", "$24", "$25", "hi", "lo", "memory"
-+#if __mips_isa_rev >= 6
-+# define __SYSCALL_CLOBBERS "$1", "$3", "$10", "$11", "$12", "$13", \
-+	 "$14", "$15", "$24", "$25", "memory"
-+#else
-+# define __SYSCALL_CLOBBERS "$1", "$3", "$10", "$11", "$12", "$13", \
-+	 "$14", "$15", "$24", "$25", "hi", "lo", "memory"
-+#endif
- 
- #endif
- 
--- 
-2.25.4
-
diff --git a/package/uclibc/uclibc.hash b/package/uclibc/uclibc.hash
index e54f127690..aea2802bac 100644
--- a/package/uclibc/uclibc.hash
+++ b/package/uclibc/uclibc.hash
@@ -1,4 +1,4 @@
-# From https://downloads.uclibc-ng.org/releases/1.0.34/uClibc-ng-1.0.34.tar.xz.sha256
-sha256  e6776229eee8d3f5a1cd29fb4286630e3cb9e97dded4e8f4a3a9bb4fa8c0d5e3  uClibc-ng-1.0.34.tar.xz
+# From https://downloads.uclibc-ng.org/releases/1.0.35/uClibc-ng-1.0.35.tar.xz.sha256
+sha256  4d0ee138f037017695a66b556b70f77a0eab8a238819bcb60af890b7b3382a2b  uClibc-ng-1.0.35.tar.xz
 # Locally calculated
 sha256  6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3  COPYING.LIB
diff --git a/package/uclibc/uclibc.mk b/package/uclibc/uclibc.mk
index daf81d29b2..0b5e45bcf4 100644
--- a/package/uclibc/uclibc.mk
+++ b/package/uclibc/uclibc.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-UCLIBC_VERSION = 1.0.34
+UCLIBC_VERSION = 1.0.35
 UCLIBC_SOURCE = uClibc-ng-$(UCLIBC_VERSION).tar.xz
 UCLIBC_SITE = https://downloads.uclibc-ng.org/releases/$(UCLIBC_VERSION)
 UCLIBC_LICENSE = LGPL-2.1+
-- 
2.28.0

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

* [Buildroot] [PATCH v2 2/2] package/iproute2: bump version to 5.8.0
  2020-09-03 15:57 [Buildroot] [PATCH v2 1/2] package/uclibc: bump version to 1.0.35 Petr Vorel
@ 2020-09-03 15:57 ` Petr Vorel
  2020-09-04  7:13   ` Thomas Petazzoni
  2020-09-04  7:11 ` [Buildroot] [PATCH v2 1/2] package/uclibc: bump version to 1.0.35 Thomas Petazzoni
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 8+ messages in thread
From: Petr Vorel @ 2020-09-03 15:57 UTC (permalink / raw)
  To: buildroot

For uclibc it requires v1.0.35, which contains 8bc41f131 ("Add {name,
open}_to_handle_at() implementation").

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
Hi,

I tested this and it looks like the patch didn't apply, when tested with ./utils/test-pkg:

                             andes-nds32 [ 1/45]: OK
                             arm-aarch64 [ 2/45]: OK
                    bootlin-x86-64-glibc [ 3/45]: OK
                        br-aarch64-glibc [ 4/45]: OK
                           br-arcle-hs38 [ 5/45]: FAILED
                            br-arm-basic [ 6/45]: FAILED
                  br-arm-cortex-a9-glibc [ 7/45]: OK
                   br-arm-cortex-a9-musl [ 8/45]: OK
                   br-arm-cortex-m4-full [ 9/45]: SKIPPED
                             br-arm-full [10/45]: FAILED
                    br-arm-full-nothread [11/45]: FAILED
                      br-arm-full-static [12/45]: FAILED
                br-i386-pentium-mmx-musl [13/45]: OK
                   br-i386-pentium4-full [14/45]: FAILED
                    br-microblazeel-full [15/45]: OK
                      br-mipsel-o32-full [16/45]: FAILED
                 br-mips32r6-el-hf-glibc [17/45]: OK
                      br-mips64-n64-full [18/45]: FAILED
                 br-mips64r6-el-hf-glibc [19/45]: OK
                       br-m68k-5208-full [20/45]: SKIPPED
                      br-m68k-68040-full [21/45]: FAILED
                          br-nios2-glibc [22/45]: OK
                      br-openrisc-uclibc [23/45]: OK
                  br-powerpc-e500mc-full [24/45]: FAILED
               br-powerpc-603e-basic-cpp [25/45]: FAILED
             br-powerpc64le-power8-glibc [26/45]: OK
               br-powerpc64-power7-glibc [27/45]: OK
                              br-riscv32 [28/45]: OK
                              br-riscv64 [29/45]: OK
                         br-riscv64-musl [30/45]: OK
                             br-sh4-full [31/45]: FAILED
                         br-sparc-uclibc [32/45]: FAILED
                        br-sparc64-glibc [33/45]: OK
                          br-xtensa-full [34/45]: FAILED
                    br-x86-64-core2-full [35/45]: FAILED
                          br-x86-64-musl [36/45]: OK
                       linaro-aarch64-be [37/45]: OK
                          linaro-aarch64 [38/45]: OK
                              linaro-arm [39/45]: OK
                     sourcery-arm-armv4t [40/45]: OK
                            sourcery-arm [41/45]: OK
                     sourcery-arm-thumb2 [42/45]: OK
                           sourcery-mips [43/45]: OK
                         sourcery-mips64 [44/45]: OK
                          sourcery-nios2 [45/45]: OK

But locally tested it works. Where can be a problem?

Kind regards,
Petr

 .../0001-devlink-update-include-files.patch   | 55 -------------------
 package/iproute2/iproute2.hash                |  2 +-
 package/iproute2/iproute2.mk                  |  2 +-
 3 files changed, 2 insertions(+), 57 deletions(-)
 delete mode 100644 package/iproute2/0001-devlink-update-include-files.patch

diff --git a/package/iproute2/0001-devlink-update-include-files.patch b/package/iproute2/0001-devlink-update-include-files.patch
deleted file mode 100644
index 8cc6e4ec60..0000000000
--- a/package/iproute2/0001-devlink-update-include-files.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-From 12fafa27c7b306e6c397e858f4d5a8159500f659 Mon Sep 17 00:00:00 2001
-From: Stephen Hemminger <stephen@networkplumber.org>
-Date: Thu, 11 Jun 2020 09:46:46 -0700
-Subject: devlink: update include files
-
-Use the tool iwyu to get more complete list of includes for
-all the bits used by devlink.
-
-This should also fix build with musl libc.
-
-Fixes: c4dfddccef4e ("fix JSON output of mon command")
-Reported-off-by: Dan Robertson <dan@dlrobertson.com>
-Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-
-[Retrieved from:
-https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=12fafa27c7b306e6c397e858f4d5a8159500f659]
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
----
- devlink/devlink.c | 9 ++++++++-
- 1 file changed, 8 insertions(+), 1 deletion(-)
-
-diff --git a/devlink/devlink.c b/devlink/devlink.c
-index 507972c3..ce2e4676 100644
---- a/devlink/devlink.c
-+++ b/devlink/devlink.c
-@@ -19,18 +19,25 @@
- #include <limits.h>
- #include <errno.h>
- #include <inttypes.h>
-+#include <signal.h>
-+#include <time.h>
-+#include <netinet/in.h>
-+#include <arpa/inet.h>
- #include <sys/sysinfo.h>
- #define _LINUX_SYSINFO_H /* avoid collision with musl header */
- #include <linux/genetlink.h>
- #include <linux/devlink.h>
-+#include <linux/netlink.h>
- #include <libmnl/libmnl.h>
- #include <netinet/ether.h>
-+#include <sys/select.h>
-+#include <sys/socket.h>
- #include <sys/types.h>
- 
- #include "SNAPSHOT.h"
- #include "list.h"
- #include "mnlg.h"
--#include "json_writer.h"
-+#include "json_print.h"
- #include "utils.h"
- #include "namespace.h"
- 
--- 
-cgit 1.2.3-1.el7
-
diff --git a/package/iproute2/iproute2.hash b/package/iproute2/iproute2.hash
index b2a9e21e11..4d82de4c46 100644
--- a/package/iproute2/iproute2.hash
+++ b/package/iproute2/iproute2.hash
@@ -1,3 +1,3 @@
 # From https://kernel.org/pub/linux/utils/net/iproute2/sha256sums.asc
-sha256  725dc7ba94aae54c6f8d4223ca055d9fb4fe89d6994b1c03bfb4411c4dd10f21  iproute2-5.7.0.tar.xz
+sha256  cfcd1f890290f8c8afcc91d9444ad929b9252c16f9ab3f286c50dd3c59dc646e  iproute2-5.8.0.tar.xz
 sha256  e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4  COPYING
diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk
index 1b71f5c06a..98fbe4f3cd 100644
--- a/package/iproute2/iproute2.mk
+++ b/package/iproute2/iproute2.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-IPROUTE2_VERSION = 5.7.0
+IPROUTE2_VERSION = 5.8.0
 IPROUTE2_SOURCE = iproute2-$(IPROUTE2_VERSION).tar.xz
 IPROUTE2_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/net/iproute2
 IPROUTE2_DEPENDENCIES = host-bison host-flex host-pkgconf \
-- 
2.28.0

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

* [Buildroot] [PATCH v2 1/2] package/uclibc: bump version to 1.0.35
  2020-09-03 15:57 [Buildroot] [PATCH v2 1/2] package/uclibc: bump version to 1.0.35 Petr Vorel
  2020-09-03 15:57 ` [Buildroot] [PATCH v2 2/2] package/iproute2: bump version to 5.8.0 Petr Vorel
@ 2020-09-04  7:11 ` Thomas Petazzoni
  2020-09-06  9:05 ` Waldemar Brodkorb
  2020-09-07  7:25 ` Thomas Petazzoni
  3 siblings, 0 replies; 8+ messages in thread
From: Thomas Petazzoni @ 2020-09-04  7:11 UTC (permalink / raw)
  To: buildroot

On Thu,  3 Sep 2020 17:57:27 +0200
Petr Vorel <petr.vorel@gmail.com> wrote:

> Drop patch from this release.
> 
> Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
> ---
>  ...ude-hi-and-lo-in-__SYSCALL_CLOBBERS-.patch | 68 -------------------
>  package/uclibc/uclibc.hash                    |  4 +-
>  package/uclibc/uclibc.mk                      |  2 +-
>  3 files changed, 3 insertions(+), 71 deletions(-)
>  delete mode 100644 package/uclibc/0001-mips-Do-not-include-hi-and-lo-in-__SYSCALL_CLOBBERS-.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH v2 2/2] package/iproute2: bump version to 5.8.0
  2020-09-03 15:57 ` [Buildroot] [PATCH v2 2/2] package/iproute2: bump version to 5.8.0 Petr Vorel
@ 2020-09-04  7:13   ` Thomas Petazzoni
  2020-09-04 14:22     ` Petr Vorel
  2020-11-01 13:39     ` Petr Vorel
  0 siblings, 2 replies; 8+ messages in thread
From: Thomas Petazzoni @ 2020-09-04  7:13 UTC (permalink / raw)
  To: buildroot

On Thu,  3 Sep 2020 17:57:28 +0200
Petr Vorel <petr.vorel@gmail.com> wrote:

> For uclibc it requires v1.0.35, which contains 8bc41f131 ("Add {name,
> open}_to_handle_at() implementation").

Since it requires uClibc 1.0.35, we need to hold a little bit on this
one, until we rebuild all toolchains.

> I tested this and it looks like the patch didn't apply, when tested with ./utils/test-pkg:

The patch didn't apply ? This doesn't make much sense. Perhaps you
wanted to say "doesn't build" ?

>                              andes-nds32 [ 1/45]: OK
>                              arm-aarch64 [ 2/45]: OK
>                     bootlin-x86-64-glibc [ 3/45]: OK
>                         br-aarch64-glibc [ 4/45]: OK
>                            br-arcle-hs38 [ 5/45]: FAILED
>                             br-arm-basic [ 6/45]: FAILED
>                   br-arm-cortex-a9-glibc [ 7/45]: OK
>                    br-arm-cortex-a9-musl [ 8/45]: OK
>                    br-arm-cortex-m4-full [ 9/45]: SKIPPED
>                              br-arm-full [10/45]: FAILED
>                     br-arm-full-nothread [11/45]: FAILED
>                       br-arm-full-static [12/45]: FAILED
>                 br-i386-pentium-mmx-musl [13/45]: OK
>                    br-i386-pentium4-full [14/45]: FAILED
>                     br-microblazeel-full [15/45]: OK
>                       br-mipsel-o32-full [16/45]: FAILED
>                  br-mips32r6-el-hf-glibc [17/45]: OK
>                       br-mips64-n64-full [18/45]: FAILED
>                  br-mips64r6-el-hf-glibc [19/45]: OK
>                        br-m68k-5208-full [20/45]: SKIPPED
>                       br-m68k-68040-full [21/45]: FAILED
>                           br-nios2-glibc [22/45]: OK
>                       br-openrisc-uclibc [23/45]: OK
>                   br-powerpc-e500mc-full [24/45]: FAILED
>                br-powerpc-603e-basic-cpp [25/45]: FAILED
>              br-powerpc64le-power8-glibc [26/45]: OK
>                br-powerpc64-power7-glibc [27/45]: OK
>                               br-riscv32 [28/45]: OK
>                               br-riscv64 [29/45]: OK
>                          br-riscv64-musl [30/45]: OK
>                              br-sh4-full [31/45]: FAILED
>                          br-sparc-uclibc [32/45]: FAILED
>                         br-sparc64-glibc [33/45]: OK
>                           br-xtensa-full [34/45]: FAILED
>                     br-x86-64-core2-full [35/45]: FAILED
>                           br-x86-64-musl [36/45]: OK
>                        linaro-aarch64-be [37/45]: OK
>                           linaro-aarch64 [38/45]: OK
>                               linaro-arm [39/45]: OK
>                      sourcery-arm-armv4t [40/45]: OK
>                             sourcery-arm [41/45]: OK
>                      sourcery-arm-thumb2 [42/45]: OK
>                            sourcery-mips [43/45]: OK
>                          sourcery-mips64 [44/45]: OK
>                           sourcery-nios2 [45/45]: OK

All the build failures here are with pre-built uClibc toolchains...
which are therefore using an older uClibc version than 1.0.35, which
explains the failure.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH v2 2/2] package/iproute2: bump version to 5.8.0
  2020-09-04  7:13   ` Thomas Petazzoni
@ 2020-09-04 14:22     ` Petr Vorel
  2020-11-01 13:39     ` Petr Vorel
  1 sibling, 0 replies; 8+ messages in thread
From: Petr Vorel @ 2020-09-04 14:22 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

> On Thu,  3 Sep 2020 17:57:28 +0200
> Petr Vorel <petr.vorel@gmail.com> wrote:

> > For uclibc it requires v1.0.35, which contains 8bc41f131 ("Add {name,
> > open}_to_handle_at() implementation").

> Since it requires uClibc 1.0.35, we need to hold a little bit on this
> one, until we rebuild all toolchains.
+1

> > I tested this and it looks like the patch didn't apply, when tested with ./utils/test-pkg:

> The patch didn't apply ? This doesn't make much sense. Perhaps you
> wanted to say "doesn't build" ?
Yes, sorry for confusing. Patch is ok, I just didn't realize that failures were
due pre-built uClibc toolchains.

> >                              andes-nds32 [ 1/45]: OK
> >                              arm-aarch64 [ 2/45]: OK
> >                     bootlin-x86-64-glibc [ 3/45]: OK
> >                         br-aarch64-glibc [ 4/45]: OK
> >                            br-arcle-hs38 [ 5/45]: FAILED
> >                             br-arm-basic [ 6/45]: FAILED
> >                   br-arm-cortex-a9-glibc [ 7/45]: OK
> >                    br-arm-cortex-a9-musl [ 8/45]: OK
> >                    br-arm-cortex-m4-full [ 9/45]: SKIPPED
> >                              br-arm-full [10/45]: FAILED
> >                     br-arm-full-nothread [11/45]: FAILED
> >                       br-arm-full-static [12/45]: FAILED
> >                 br-i386-pentium-mmx-musl [13/45]: OK
> >                    br-i386-pentium4-full [14/45]: FAILED
> >                     br-microblazeel-full [15/45]: OK
> >                       br-mipsel-o32-full [16/45]: FAILED
> >                  br-mips32r6-el-hf-glibc [17/45]: OK
> >                       br-mips64-n64-full [18/45]: FAILED
> >                  br-mips64r6-el-hf-glibc [19/45]: OK
> >                        br-m68k-5208-full [20/45]: SKIPPED
> >                       br-m68k-68040-full [21/45]: FAILED
> >                           br-nios2-glibc [22/45]: OK
> >                       br-openrisc-uclibc [23/45]: OK
> >                   br-powerpc-e500mc-full [24/45]: FAILED
> >                br-powerpc-603e-basic-cpp [25/45]: FAILED
> >              br-powerpc64le-power8-glibc [26/45]: OK
> >                br-powerpc64-power7-glibc [27/45]: OK
> >                               br-riscv32 [28/45]: OK
> >                               br-riscv64 [29/45]: OK
> >                          br-riscv64-musl [30/45]: OK
> >                              br-sh4-full [31/45]: FAILED
> >                          br-sparc-uclibc [32/45]: FAILED
> >                         br-sparc64-glibc [33/45]: OK
> >                           br-xtensa-full [34/45]: FAILED
> >                     br-x86-64-core2-full [35/45]: FAILED
> >                           br-x86-64-musl [36/45]: OK
> >                        linaro-aarch64-be [37/45]: OK
> >                           linaro-aarch64 [38/45]: OK
> >                               linaro-arm [39/45]: OK
> >                      sourcery-arm-armv4t [40/45]: OK
> >                             sourcery-arm [41/45]: OK
> >                      sourcery-arm-thumb2 [42/45]: OK
> >                            sourcery-mips [43/45]: OK
> >                          sourcery-mips64 [44/45]: OK
> >                           sourcery-nios2 [45/45]: OK

> All the build failures here are with pre-built uClibc toolchains...
> which are therefore using an older uClibc version than 1.0.35, which
> explains the failure.
+1.

> Thomas

Kind regards,
Petr

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

* [Buildroot] [PATCH v2 1/2] package/uclibc: bump version to 1.0.35
  2020-09-03 15:57 [Buildroot] [PATCH v2 1/2] package/uclibc: bump version to 1.0.35 Petr Vorel
  2020-09-03 15:57 ` [Buildroot] [PATCH v2 2/2] package/iproute2: bump version to 5.8.0 Petr Vorel
  2020-09-04  7:11 ` [Buildroot] [PATCH v2 1/2] package/uclibc: bump version to 1.0.35 Thomas Petazzoni
@ 2020-09-06  9:05 ` Waldemar Brodkorb
  2020-09-07  7:25 ` Thomas Petazzoni
  3 siblings, 0 replies; 8+ messages in thread
From: Waldemar Brodkorb @ 2020-09-06  9:05 UTC (permalink / raw)
  To: buildroot

Hi Petr,

can you add  the two patches from git on top, otherwise static
linking fails for older gcc.

best regards
 Waldemar

Petr Vorel wrote,

> Drop patch from this release.
> 
> Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
> ---
>  ...ude-hi-and-lo-in-__SYSCALL_CLOBBERS-.patch | 68 -------------------
>  package/uclibc/uclibc.hash                    |  4 +-
>  package/uclibc/uclibc.mk                      |  2 +-
>  3 files changed, 3 insertions(+), 71 deletions(-)
>  delete mode 100644 package/uclibc/0001-mips-Do-not-include-hi-and-lo-in-__SYSCALL_CLOBBERS-.patch
> 
> diff --git a/package/uclibc/0001-mips-Do-not-include-hi-and-lo-in-__SYSCALL_CLOBBERS-.patch b/package/uclibc/0001-mips-Do-not-include-hi-and-lo-in-__SYSCALL_CLOBBERS-.patch
> deleted file mode 100644
> index cc8b9d9c0b..0000000000
> --- a/package/uclibc/0001-mips-Do-not-include-hi-and-lo-in-__SYSCALL_CLOBBERS-.patch
> +++ /dev/null
> @@ -1,68 +0,0 @@
> -From aad6cdbcff0f5411a09ac524637fea62652786a3 Mon Sep 17 00:00:00 2001
> -From: Romain Naour <romain.naour@gmail.com>
> -Date: Fri, 8 May 2020 18:39:45 +0200
> -Subject: [PATCH] mips: Do not include hi and lo in __SYSCALL_CLOBBERS for R6
> -MIME-Version: 1.0
> -Content-Type: text/plain; charset=UTF-8
> -Content-Transfer-Encoding: 8bit
> -
> -From [1]
> -"GCC 10 (PR 91233) won't silently allow registers that are not architecturally
> -available to be present in the clobber list anymore, resulting in build failure
> -for mips*r6 targets in form of:
> -...
> -.../sysdep.h:146:2: error: the register ?lo? cannot be clobbered in ?asm? for the current target
> -  146 |  __asm__ volatile (      \
> -      |  ^~~~~~~
> -
> -This is because base R6 ISA doesn't define hi and lo registers w/o DSP extension.
> -This patch provides the alternative definitions of __SYSCALL_CLOBBERS for r6
> -targets that won't include those registers."
> -
> -[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=020b2a97bb15f807c0482f0faee2184ed05bcad8
> -
> -Signed-off-by: Romain Naour <romain.naour@gmail.com>
> -Cc: Waldemar Brodkorb <wbx@openadk.org>
> ----
> - libc/sysdeps/linux/mips/bits/syscalls.h | 18 ++++++++++++++----
> - 1 file changed, 14 insertions(+), 4 deletions(-)
> -
> -diff --git a/libc/sysdeps/linux/mips/bits/syscalls.h b/libc/sysdeps/linux/mips/bits/syscalls.h
> -index b8f80597e..13728ac55 100644
> ---- a/libc/sysdeps/linux/mips/bits/syscalls.h
> -+++ b/libc/sysdeps/linux/mips/bits/syscalls.h
> -@@ -270,8 +270,13 @@
> - 	_sys_result;							\
> - })
> - 
> --#define __SYSCALL_CLOBBERS "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", \
> --	"$14", "$15", "$24", "$25", "hi", "lo", "memory"
> -+#if __mips_isa_rev >= 6
> -+# define __SYSCALL_CLOBBERS "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", \
> -+	 "$14", "$15", "$24", "$25", "memory"
> -+#else
> -+# define __SYSCALL_CLOBBERS "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", \
> -+	 "$14", "$15", "$24", "$25", "hi", "lo", "memory"
> -+#endif
> - 
> - #else /* N32 || N64 */
> - 
> -@@ -327,8 +332,13 @@
> - 	_sys_result;							\
> - })
> - 
> --#define __SYSCALL_CLOBBERS "$1", "$3", "$10", "$11", "$12", "$13", \
> --	"$14", "$15", "$24", "$25", "hi", "lo", "memory"
> -+#if __mips_isa_rev >= 6
> -+# define __SYSCALL_CLOBBERS "$1", "$3", "$10", "$11", "$12", "$13", \
> -+	 "$14", "$15", "$24", "$25", "memory"
> -+#else
> -+# define __SYSCALL_CLOBBERS "$1", "$3", "$10", "$11", "$12", "$13", \
> -+	 "$14", "$15", "$24", "$25", "hi", "lo", "memory"
> -+#endif
> - 
> - #endif
> - 
> --- 
> -2.25.4
> -
> diff --git a/package/uclibc/uclibc.hash b/package/uclibc/uclibc.hash
> index e54f127690..aea2802bac 100644
> --- a/package/uclibc/uclibc.hash
> +++ b/package/uclibc/uclibc.hash
> @@ -1,4 +1,4 @@
> -# From https://downloads.uclibc-ng.org/releases/1.0.34/uClibc-ng-1.0.34.tar.xz.sha256
> -sha256  e6776229eee8d3f5a1cd29fb4286630e3cb9e97dded4e8f4a3a9bb4fa8c0d5e3  uClibc-ng-1.0.34.tar.xz
> +# From https://downloads.uclibc-ng.org/releases/1.0.35/uClibc-ng-1.0.35.tar.xz.sha256
> +sha256  4d0ee138f037017695a66b556b70f77a0eab8a238819bcb60af890b7b3382a2b  uClibc-ng-1.0.35.tar.xz
>  # Locally calculated
>  sha256  6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3  COPYING.LIB
> diff --git a/package/uclibc/uclibc.mk b/package/uclibc/uclibc.mk
> index daf81d29b2..0b5e45bcf4 100644
> --- a/package/uclibc/uclibc.mk
> +++ b/package/uclibc/uclibc.mk
> @@ -4,7 +4,7 @@
>  #
>  ################################################################################
>  
> -UCLIBC_VERSION = 1.0.34
> +UCLIBC_VERSION = 1.0.35
>  UCLIBC_SOURCE = uClibc-ng-$(UCLIBC_VERSION).tar.xz
>  UCLIBC_SITE = https://downloads.uclibc-ng.org/releases/$(UCLIBC_VERSION)
>  UCLIBC_LICENSE = LGPL-2.1+
> -- 
> 2.28.0
> 

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

* [Buildroot] [PATCH v2 1/2] package/uclibc: bump version to 1.0.35
  2020-09-03 15:57 [Buildroot] [PATCH v2 1/2] package/uclibc: bump version to 1.0.35 Petr Vorel
                   ` (2 preceding siblings ...)
  2020-09-06  9:05 ` Waldemar Brodkorb
@ 2020-09-07  7:25 ` Thomas Petazzoni
  3 siblings, 0 replies; 8+ messages in thread
From: Thomas Petazzoni @ 2020-09-07  7:25 UTC (permalink / raw)
  To: buildroot

On Thu,  3 Sep 2020 17:57:27 +0200
Petr Vorel <petr.vorel@gmail.com> wrote:

> Drop patch from this release.
> 
> Signed-off-by: Petr Vorel <petr.vorel@gmail.com>

This is causing some build breakage:

  http://autobuild.buildroot.net/results/938729c42d52bd9e74454bc34b2b20c4e0503142/build-end.log

  http://autobuild.buildroot.net/results/bc50834820c921ce4927f23e4dcfa2aaa405c657/build-end.log

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH v2 2/2] package/iproute2: bump version to 5.8.0
  2020-09-04  7:13   ` Thomas Petazzoni
  2020-09-04 14:22     ` Petr Vorel
@ 2020-11-01 13:39     ` Petr Vorel
  1 sibling, 0 replies; 8+ messages in thread
From: Petr Vorel @ 2020-11-01 13:39 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

<snip>
> All the build failures here are with pre-built uClibc toolchains...
> which are therefore using an older uClibc version than 1.0.35, which
> explains the failure.

I've prepared iproute2 5.9.0, but it's blocked by toolchain update.
Could you please ping me when uClibc prebuilt toolchains are updated?
Or where can I check it myself?

> Thomas

Kind regards,
Petr

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

end of thread, other threads:[~2020-11-01 13:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-03 15:57 [Buildroot] [PATCH v2 1/2] package/uclibc: bump version to 1.0.35 Petr Vorel
2020-09-03 15:57 ` [Buildroot] [PATCH v2 2/2] package/iproute2: bump version to 5.8.0 Petr Vorel
2020-09-04  7:13   ` Thomas Petazzoni
2020-09-04 14:22     ` Petr Vorel
2020-11-01 13:39     ` Petr Vorel
2020-09-04  7:11 ` [Buildroot] [PATCH v2 1/2] package/uclibc: bump version to 1.0.35 Thomas Petazzoni
2020-09-06  9:05 ` Waldemar Brodkorb
2020-09-07  7:25 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox