* [ptxdist] [PATCH v2] libelf: version bump 0.170 -> 0.171
@ 2018-06-05 18:25 jon
2018-06-05 18:26 ` [ptxdist] [PATCH 1/2] systemd: upstream patch: add __nr_statx defines for extra architectures jon
0 siblings, 1 reply; 2+ messages in thread
From: jon @ 2018-06-05 18:25 UTC (permalink / raw)
To: ptxdist; +Cc: Jon Ringle
From: Jon Ringle <jringle@gridpoint.com>
Signed-off-by: Jon Ringle <jringle@gridpoint.com>
---
...error-as-it-tends-to-break-with-new-gcc-ver.patch | 20 --------------------
patches/elfutils-0.170/autogen.sh | 1 -
patches/elfutils-0.170/series | 4 ----
rules/libelf.make | 4 ++--
4 files changed, 2 insertions(+), 27 deletions(-)
delete mode 100644 patches/elfutils-0.170/0001-disable-Werror-as-it-tends-to-break-with-new-gcc-ver.patch
delete mode 120000 patches/elfutils-0.170/autogen.sh
delete mode 100644 patches/elfutils-0.170/series
diff --git a/patches/elfutils-0.170/0001-disable-Werror-as-it-tends-to-break-with-new-gcc-ver.patch b/patches/elfutils-0.170/0001-disable-Werror-as-it-tends-to-break-with-new-gcc-ver.patch
deleted file mode 100644
index ed336e4..0000000
--- a/patches/elfutils-0.170/0001-disable-Werror-as-it-tends-to-break-with-new-gcc-ver.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-From: Helmut Grohne <helmut@subdivi.de>
-Date: Mon, 7 May 2018 02:42:31 +0200
-Subject: [PATCH] disable -Werror as it tends to break with new gcc versions
-
----
- config/eu.am | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/config/eu.am b/config/eu.am
-index 8fe1e259f9e2..c5a6209a4e04 100644
---- a/config/eu.am
-+++ b/config/eu.am
-@@ -71,7 +71,6 @@ AM_CFLAGS = -std=gnu99 -Wall -Wshadow -Wformat=2 \
- -Wold-style-definition -Wstrict-prototypes \
- $(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \
- $(NULL_DEREFERENCE_WARNING) $(IMPLICIT_FALLTHROUGH_WARNING) \
-- $(if $($(*F)_no_Werror),,-Werror) \
- $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
- $(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \
- $($(*F)_CFLAGS)
diff --git a/patches/elfutils-0.170/autogen.sh b/patches/elfutils-0.170/autogen.sh
deleted file mode 120000
index 9f8a4cb..0000000
--- a/patches/elfutils-0.170/autogen.sh
+++ /dev/null
@@ -1 +0,0 @@
-../autogen.sh
\ No newline at end of file
diff --git a/patches/elfutils-0.170/series b/patches/elfutils-0.170/series
deleted file mode 100644
index 6e83826..0000000
--- a/patches/elfutils-0.170/series
+++ /dev/null
@@ -1,4 +0,0 @@
-# generated by git-ptx-patches
-#tag:base --start-number 1
-0001-disable-Werror-as-it-tends-to-break-with-new-gcc-ver.patch
-# 881dc427356ca2d007dd3d3f576ea5a8 - git-ptx-patches magic
diff --git a/rules/libelf.make b/rules/libelf.make
index 4846563..74177c6 100644
--- a/rules/libelf.make
+++ b/rules/libelf.make
@@ -17,8 +17,8 @@ PACKAGES-$(PTXCONF_LIBELF) += libelf
#
# Paths and names
#
-LIBELF_VERSION := 0.170
-LIBELF_MD5 := 03599aee98c9b726c7a732a2dd0245d5
+LIBELF_VERSION := 0.171
+LIBELF_MD5 := 3926422984f02a2e5f7242d22ab6e1fa
LIBELF := elfutils-$(LIBELF_VERSION)
LIBELF_SUFFIX := tar.bz2
LIBELF_URL := https://sourceware.org/elfutils/ftp/$(LIBELF_VERSION)/$(LIBELF).$(LIBELF_SUFFIX)
--
1.9.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* [ptxdist] [PATCH 1/2] systemd: upstream patch: add __nr_statx defines for extra architectures
2018-06-05 18:25 [ptxdist] [PATCH v2] libelf: version bump 0.170 -> 0.171 jon
@ 2018-06-05 18:26 ` jon
0 siblings, 0 replies; 2+ messages in thread
From: jon @ 2018-06-05 18:26 UTC (permalink / raw)
To: ptxdist; +Cc: Jon Ringle
From: Jon Ringle <jringle@gridpoint.com>
https://github.com/systemd/systemd/issues/8501
Signed-off-by: Jon Ringle <jringle@gridpoint.com>
---
| 36 ++++++++++++++++++++++
patches/systemd-238/series | 3 +-
2 files changed, 38 insertions(+), 1 deletion(-)
create mode 100644 patches/systemd-238/0004-add-__nr_statx-defines-for-extra-architectures.patch
--git a/patches/systemd-238/0004-add-__nr_statx-defines-for-extra-architectures.patch b/patches/systemd-238/0004-add-__nr_statx-defines-for-extra-architectures.patch
new file mode 100644
index 0000000..3cd8733
--- /dev/null
+++ b/patches/systemd-238/0004-add-__nr_statx-defines-for-extra-architectures.patch
@@ -0,0 +1,36 @@
+From: Jon Ringle <jringle@gridpoint.com>
+Date: Tue, 5 Jun 2018 13:32:27 -0400
+Subject: [PATCH] add __nr_statx defines for extra architectures
+
+This includes:
+ - arm
+ - arm64
+ - alpha
+ - powerpc64
+ - sparc
+
+Taken from kernel 4.16.6
+---
+ src/basic/missing_syscall.h | 8 +++++++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h
+index 34b8956a122e..86422ced7245 100644
+--- a/src/basic/missing_syscall.h
++++ b/src/basic/missing_syscall.h
+@@ -416,8 +416,14 @@ static inline int missing_bpf(int cmd, union bpf_attr *attr, size_t size) {
+
+ #if !HAVE_STATX
+ # ifndef __NR_statx
+-# if defined __i386__
++# if defined __aarch64__ || defined __arm__
++# define __NR_statx 397
++# elif defined __alpha__
++# define __NR_statx 522
++# elif defined __i386__ || defined __powerpc64__
+ # define __NR_statx 383
++# elif defined __sparc__
++# define __NR_statx 360
+ # elif defined __x86_64__
+ # define __NR_statx 332
+ # else
diff --git a/patches/systemd-238/series b/patches/systemd-238/series
index a82258c..c944349 100644
--- a/patches/systemd-238/series
+++ b/patches/systemd-238/series
@@ -3,4 +3,5 @@
0001-core-don-t-include-libmount.h-in-a-header-file-8580.patch
0002-core-do-not-free-heap-allocated-strings-8391.patch
0003-units-Fix-SuccessAction-that-belongs-to-Unit-section.patch
-# a7dcd36b3678800e0e34e75e553a1837 - git-ptx-patches magic
+0004-add-__nr_statx-defines-for-extra-architectures.patch
+# 6b5baff5bd25fe8378e83fcbe60f9d0c - git-ptx-patches magic
--
1.9.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-06-05 18:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-05 18:25 [ptxdist] [PATCH v2] libelf: version bump 0.170 -> 0.171 jon
2018-06-05 18:26 ` [ptxdist] [PATCH 1/2] systemd: upstream patch: add __nr_statx defines for extra architectures jon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox