diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-08-13 20:08:50 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-16 14:57:58 +0100 |
commit | 595d98accc9ad706dd1d65cb10a44c057ec0d6cb (patch) | |
tree | 4d381d967205689f61f5494ee84af166fc6f1558 /meta/recipes-core/musl/musl/0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch | |
parent | 66af02e576dda6673e5e1abdb31dbd807cbb2686 (diff) | |
download | poky-595d98accc9ad706dd1d65cb10a44c057ec0d6cb.tar.gz |
musl: Upgrade to latest tip of trunk
Rebase existing patches
Brings in following changes
* 46d1c780 fix strings.h feature test macro usage due to missing features.h
* baaf257f fix ESRCH error handling for clock_getcpuclockid
* 4f48da00 aarch64: add vfork
* 7d568410 fix mishandling of errno in getaddrinfo AI_ADDRCONFIG logic
* d16d7b10 early stage ldso: remove symbolic references via error handling function
* 63c67053 in early stage ldso before __dls2b, call mprotect with __syscall
* a23a3da2 avoid limited space of random temp file names if clock resolution is low
* 41002798 remove random filename obfuscation that leaks ASLR information
* 6c858d6f ensure distinct query id for parallel A and AAAA queries in resolver
* 8974ef21 mntent: fix potential mishandling of extremely long lines
* 751bee0e mntent: fix parsing lines with optional fields
* dcb31f6b fix constraint violation in qsort wrapper around qsort_r
(From OE-Core rev: e76b76f371d3158b70ae9d3a44b6d2ab6ba8db34)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/musl/musl/0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch')
-rw-r--r-- | meta/recipes-core/musl/musl/0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/meta/recipes-core/musl/musl/0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch b/meta/recipes-core/musl/musl/0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch index ba00efe7b3..8b097f3276 100644 --- a/meta/recipes-core/musl/musl/0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch +++ b/meta/recipes-core/musl/musl/0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 0ec74744a4cba7c5fdfaa2685995119a4fca0260 Mon Sep 17 00:00:00 2001 | 1 | From f95b6fd0475a95c00e886219271cb5c93838e3c3 Mon Sep 17 00:00:00 2001 |
2 | From: Amarnath Valluri <amarnath.valluri@intel.com> | 2 | From: Amarnath Valluri <amarnath.valluri@intel.com> |
3 | Date: Wed, 18 Jan 2017 16:14:37 +0200 | 3 | Date: Wed, 18 Jan 2017 16:14:37 +0200 |
4 | Subject: [PATCH] Make dynamic linker a relative symlink to libc | 4 | Subject: [PATCH 1/2] Make dynamic linker a relative symlink to libc |
5 | 5 | ||
6 | absolute symlink into $(libdir) fails to load in a cross build | 6 | absolute symlink into $(libdir) fails to load in a cross build |
7 | environment, especially when executing qemu in usermode to run target | 7 | environment, especially when executing qemu in usermode to run target |
@@ -13,18 +13,19 @@ V2: | |||
13 | Make use of 'ln -r' to create relative symlinks, as most fo the distros | 13 | Make use of 'ln -r' to create relative symlinks, as most fo the distros |
14 | shipping coreutils 8.16+ | 14 | shipping coreutils 8.16+ |
15 | 15 | ||
16 | Upstream-Status: Pending | ||
16 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 17 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
17 | Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> | 18 | Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> |
18 | --- | 19 | --- |
19 | Upstream-Status: Pending | ||
20 | --- | ||
21 | Makefile | 2 +- | 20 | Makefile | 2 +- |
22 | tools/install.sh | 8 +++++--- | 21 | tools/install.sh | 8 +++++--- |
23 | 2 files changed, 6 insertions(+), 4 deletions(-) | 22 | 2 files changed, 6 insertions(+), 4 deletions(-) |
24 | 23 | ||
24 | diff --git a/Makefile b/Makefile | ||
25 | index e8cc4436..466d9afd 100644 | ||
25 | --- a/Makefile | 26 | --- a/Makefile |
26 | +++ b/Makefile | 27 | +++ b/Makefile |
27 | @@ -210,7 +210,7 @@ $(DESTDIR)$(includedir)/%: $(srcdir)/inc | 28 | @@ -210,7 +210,7 @@ $(DESTDIR)$(includedir)/%: $(srcdir)/include/% |
28 | $(INSTALL) -D -m 644 $< $@ | 29 | $(INSTALL) -D -m 644 $< $@ |
29 | 30 | ||
30 | $(DESTDIR)$(LDSO_PATHNAME): $(DESTDIR)$(libdir)/libc.so | 31 | $(DESTDIR)$(LDSO_PATHNAME): $(DESTDIR)$(libdir)/libc.so |
@@ -33,6 +34,8 @@ Upstream-Status: Pending | |||
33 | 34 | ||
34 | install-libs: $(ALL_LIBS:lib/%=$(DESTDIR)$(libdir)/%) $(if $(SHARED_LIBS),$(DESTDIR)$(LDSO_PATHNAME),) | 35 | install-libs: $(ALL_LIBS:lib/%=$(DESTDIR)$(libdir)/%) $(if $(SHARED_LIBS),$(DESTDIR)$(LDSO_PATHNAME),) |
35 | 36 | ||
37 | diff --git a/tools/install.sh b/tools/install.sh | ||
38 | index d913b60b..b6a7f797 100755 | ||
36 | --- a/tools/install.sh | 39 | --- a/tools/install.sh |
37 | +++ b/tools/install.sh | 40 | +++ b/tools/install.sh |
38 | @@ -6,18 +6,20 @@ | 41 | @@ -6,18 +6,20 @@ |
@@ -58,7 +61,7 @@ Upstream-Status: Pending | |||
58 | m) mode=$OPTARG ;; | 61 | m) mode=$OPTARG ;; |
59 | ?) usage ;; | 62 | ?) usage ;; |
60 | esac | 63 | esac |
61 | @@ -48,7 +50,7 @@ trap 'rm -f "$tmp"' EXIT INT QUIT TERM H | 64 | @@ -48,7 +50,7 @@ trap 'rm -f "$tmp"' EXIT INT QUIT TERM HUP |
62 | umask 077 | 65 | umask 077 |
63 | 66 | ||
64 | if test "$symlink" ; then | 67 | if test "$symlink" ; then |
@@ -67,3 +70,6 @@ Upstream-Status: Pending | |||
67 | else | 70 | else |
68 | cat < "$1" > "$tmp" | 71 | cat < "$1" > "$tmp" |
69 | chmod "$mode" "$tmp" | 72 | chmod "$mode" "$tmp" |
73 | -- | ||
74 | 2.37.2 | ||
75 | |||