All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH next 1/2] package/strace: bump to version 5.2
@ 2019-08-16  3:54 Baruch Siach
  2019-08-16  3:54 ` [Buildroot] [PATCH next 2/2] package/strace: reenable bpf for m68k Baruch Siach
  2019-08-17 13:42 ` [Buildroot] [PATCH next 1/2] package/strace: bump to version 5.2 Thomas Petazzoni
  0 siblings, 2 replies; 5+ messages in thread
From: Baruch Siach @ 2019-08-16  3:54 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 package/strace/strace.hash | 4 ++--
 package/strace/strace.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/strace/strace.hash b/package/strace/strace.hash
index bcd09315f1bf..51436cf85055 100644
--- a/package/strace/strace.hash
+++ b/package/strace/strace.hash
@@ -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
diff --git a/package/strace/strace.mk b/package/strace/strace.mk
index f957144160af..9ec81728e205 100644
--- a/package/strace/strace.mk
+++ b/package/strace/strace.mk
@@ -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+
-- 
2.23.0.rc1

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

* [Buildroot] [PATCH next 2/2] package/strace: reenable bpf for m68k
  2019-08-16  3:54 [Buildroot] [PATCH next 1/2] package/strace: bump to version 5.2 Baruch Siach
@ 2019-08-16  3:54 ` Baruch Siach
  2019-08-17 13:42   ` Thomas Petazzoni
  2019-08-17 13:42 ` [Buildroot] [PATCH next 1/2] package/strace: bump to version 5.2 Thomas Petazzoni
  1 sibling, 1 reply; 5+ messages in thread
From: Baruch Siach @ 2019-08-16  3:54 UTC (permalink / raw)
  To: buildroot

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.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
Note: the binary toolchain based on 2019.05.1 is still affected
---
 package/strace/strace.mk | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/package/strace/strace.mk b/package/strace/strace.mk
index 9ec81728e205..9049e52d4a73 100644
--- a/package/strace/strace.mk
+++ b/package/strace/strace.mk
@@ -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
-- 
2.23.0.rc1

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

* [Buildroot] [PATCH next 1/2] package/strace: bump to version 5.2
  2019-08-16  3:54 [Buildroot] [PATCH next 1/2] package/strace: bump to version 5.2 Baruch Siach
  2019-08-16  3:54 ` [Buildroot] [PATCH next 2/2] package/strace: reenable bpf for m68k Baruch Siach
@ 2019-08-17 13:42 ` Thomas Petazzoni
  1 sibling, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2019-08-17 13:42 UTC (permalink / raw)
  To: buildroot

On Fri, 16 Aug 2019 06:54:37 +0300
Baruch Siach <baruch@tkos.co.il> wrote:

> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
>  package/strace/strace.hash | 4 ++--
>  package/strace/strace.mk   | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)

Both applied, thanks!

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

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

* [Buildroot] [PATCH next 2/2] package/strace: reenable bpf for m68k
  2019-08-16  3:54 ` [Buildroot] [PATCH next 2/2] package/strace: reenable bpf for m68k Baruch Siach
@ 2019-08-17 13:42   ` Thomas Petazzoni
  2019-08-17 21:04     ` Baruch Siach
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2019-08-17 13:42 UTC (permalink / raw)
  To: buildroot

Hello Baruch,

On Fri, 16 Aug 2019 06:54:38 +0300
Baruch Siach <baruch@tkos.co.il> 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.
> 
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> 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
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH next 2/2] package/strace: reenable bpf for m68k
  2019-08-17 13:42   ` Thomas Petazzoni
@ 2019-08-17 21:04     ` Baruch Siach
  0 siblings, 0 replies; 5+ messages in thread
From: Baruch Siach @ 2019-08-17 21:04 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

On Sat, Aug 17 2019, Thomas Petazzoni wrote:
> On Fri, 16 Aug 2019 06:54:38 +0300
> Baruch Siach <baruch@tkos.co.il> 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.
>> 
>> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
>> ---
>> 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

-- 
     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 -

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

end of thread, other threads:[~2019-08-17 21:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-16  3:54 [Buildroot] [PATCH next 1/2] package/strace: bump to version 5.2 Baruch Siach
2019-08-16  3:54 ` [Buildroot] [PATCH next 2/2] package/strace: reenable bpf for m68k Baruch Siach
2019-08-17 13:42   ` Thomas Petazzoni
2019-08-17 21:04     ` Baruch Siach
2019-08-17 13:42 ` [Buildroot] [PATCH next 1/2] package/strace: bump to version 5.2 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.