Skip to contentSkip to conversation

package/strace: bump to version 5.2

PATCH New Baruch Siach 2 participants 5 messages Aug 16, 2019 – Aug 17, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/strace: bump to version 5.2

---
 package/strace/strace.hash | 4 ++--
 package/strace/strace.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
package/strace/strace.hash +2 -2
index bcd09315f1bf..51436cf85055 100644
@@ -1,5 +1,5 @@
 # Locally calculated after checking signature with RSA key 0xA8041FA839E16E36
-# https://strace.io/files/5.0/strace-5.0.tar.xz.asc
-sha256	3b7ad77eb2b81dc6078046a9cc56eed5242b67b63748e7fc28f7c2daf4e647da	strace-5.0.tar.xz
+# https://strace.io/files/5.2/strace-5.2.tar.xz.asc
+sha256	d513bc085609a9afd64faf2ce71deb95b96faf46cd7bc86048bc655e4e4c24d2	strace-5.2.tar.xz
 sha256	739b2725197137a04ab48ee6b19da3fdf7e497249e0dedd9f51c11a570401ede	COPYING
 sha256	7c379436436a562834aa7d2f5dcae1f80a25230fa74201046ca1fba4367d39aa	LGPL-2.1-or-later
package/strace/strace.mk +1 -1
index f957144160af..9ec81728e205 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-STRACE_VERSION = 5.0
+STRACE_VERSION = 5.2
 STRACE_SOURCE = strace-$(STRACE_VERSION).tar.xz
 STRACE_SITE = https://strace.io/files/$(STRACE_VERSION)
 STRACE_LICENSE = LGPL-2.1+
Signature · 1 line
2.23.0.rc1
#1 lore raw

PATCH 2/2 package/strace: reenable bpf for m68k

Kernel commit 0472301a28f ("bpf: fix uapi bpf_prog_info fields alignment") fixed the issue causing build failure in bpf support code. The fix has been applied to all kernel versions that are affected and supported (v4.19, v5.1, v5.2). Enable back bpf for m68k.

---
Note: the binary toolchain based on 2019.05.1 is still affected

---
 package/strace/strace.mk | 6 ------
 1 file changed, 6 deletions(-)
package/strace/strace.mk +0 -6
index 9ec81728e205..9049e52d4a73 100644
@@ -19,12 +19,6 @@ STRACE_CONF_OPTS += st_cv_m32_mpers=no \
 	st_cv_mx32_mpers=no
 endif
 
-# struct bpf_prog_info fields offset mismatch
-# https://lists.strace.io/pipermail/strace-devel/2019-May/thread.html#8750
-ifeq ($(BR2_m68k),y)
-STRACE_CONF_OPTS += ac_cv_header_linux_bpf_h=no
-endif
-
 ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
 STRACE_DEPENDENCIES += libunwind
 STRACE_CONF_OPTS += --with-libunwind
Signature · 1 line
2.23.0.rc1
#2 lore raw

PATCH 2/2 package/strace: reenable bpf for m68k

Hello Baruch,

Quoted 8 lines · On Fri, 16 Aug 2019 06:54:38 +0300 Baruch Siach <[email protected]> wrote:

Kernel commit 0472301a28f ("bpf: fix uapi bpf_prog_info fields alignment") fixed the issue causing build failure in bpf support code. The fix has been applied to all kernel versions that are affected and supported (v4.19, v5.1, v5.2). Enable back bpf for m68k.

---
Note: the binary toolchain based on 2019.05.1 is still affected

The kernel headers version used in 2019.05.1 are not recent enough ?

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw

PATCH 2/2 package/strace: reenable bpf for m68k

Hi Thomas,

Quoted 8 lines · Thomas Petazzoni
Quoted 5 lines · On Fri, 16 Aug 2019 06:54:38 +0300 Baruch Siach <[email protected]> wrote:

Kernel commit 0472301a28f ("bpf: fix uapi bpf_prog_info fields alignment") fixed the issue causing build failure in bpf support code. The fix has been applied to all kernel versions that are affected and supported (v4.19, v5.1, v5.2). Enable back bpf for m68k.

Quoted 5 lines
Quoted 3 lines

---
Note: the binary toolchain based on 2019.05.1 is still affected

The kernel headers version used in 2019.05.1 are not recent enough ?

No.

For v5.1.x, 2019.05.1 has 5.1.16, but the fix is only in 5.1.20.

There is no fix for v5.0.x.

For v4.19.x, 2019.05.1 has 4.19.57, but the fix is only in 4.19.61.

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
#4 lore raw

PATCH 1/2 package/strace: bump to version 5.2

In reply to Baruch Siach
Quoted 5 lines · On Fri, 16 Aug 2019 06:54:37 +0300 Baruch Siach <[email protected]> wrote:
---
 package/strace/strace.hash | 4 ++--
 package/strace/strace.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

Both applied, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com