public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH] musl: Update to latest tip of trunk
@ 2021-08-27 18:06 Khem Raj
  0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2021-08-27 18:06 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

Drop upstream patch

This brings in following fixes

  * 3f701faa (upstream/master, origin/master) fix libc-internal signal blocking on mips archs
  * 0fbd7d66 fix broken struct shmid_ds on powerpc (32-bit)
  * 4f3d346b math: fix fmaf not to depend on FE_TOWARDZERO
  * 937822ab fix TZ parsing logic for identifying POSIX-form strings
  * 1f0c7cb1 riscv: rename __NR_fstatat __NR_newfstatat
  * d8cb888d remove return with expression in void function
  * b7a130e0 remove unnecessary cast for map_library return
  * bd3b9c4c add pthread_getname_np function
  * e1a51185 fix popen not to leak pipes from one child to another
  * e74acd59 remove spurious lock in popen
  * 9a40e842 define __STDC_UTF_{16,32}__ macros

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 ...-Rename-__NR_fstatat-__NR_newfstatat.patch | 32 -------------------
 meta/recipes-core/musl/musl_git.bb            |  3 +-
 2 files changed, 1 insertion(+), 34 deletions(-)
 delete mode 100644 meta/recipes-core/musl/musl/0001-riscv-Rename-__NR_fstatat-__NR_newfstatat.patch

diff --git a/meta/recipes-core/musl/musl/0001-riscv-Rename-__NR_fstatat-__NR_newfstatat.patch b/meta/recipes-core/musl/musl/0001-riscv-Rename-__NR_fstatat-__NR_newfstatat.patch
deleted file mode 100644
index 9d9f16cee6..0000000000
--- a/meta/recipes-core/musl/musl/0001-riscv-Rename-__NR_fstatat-__NR_newfstatat.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 40732d03990632049d5ba63dd736269a81756b16 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Wed, 19 May 2021 00:30:05 -0700
-Subject: [PATCH] riscv: Rename __NR_fstatat __NR_newfstatat
-
-on riscv64 this syscall is called __NR_newfstatat
-this helps the name match kernel UAPI for external
-programs
-
-Upstream-Status: Submitted [https://www.openwall.com/lists/musl/2021/05/19/3]
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-Cc: zabolcs Nagy <nsz@port70.net>
----
- arch/riscv64/bits/syscall.h.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/arch/riscv64/bits/syscall.h.in b/arch/riscv64/bits/syscall.h.in
-index f9c421d0..39c0d650 100644
---- a/arch/riscv64/bits/syscall.h.in
-+++ b/arch/riscv64/bits/syscall.h.in
-@@ -76,7 +76,7 @@
- #define __NR_splice 76
- #define __NR_tee 77
- #define __NR_readlinkat 78
--#define __NR_fstatat 79
-+#define __NR_newfstatat 79
- #define __NR_fstat 80
- #define __NR_sync 81
- #define __NR_fsync 82
--- 
-2.31.1
-
diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb
index f9c174d9c1..06b0e060d0 100644
--- a/meta/recipes-core/musl/musl_git.bb
+++ b/meta/recipes-core/musl/musl_git.bb
@@ -4,7 +4,7 @@
 require musl.inc
 inherit linuxloader
 
-SRCREV = "aad50fcd791e009961621ddfbe3d4c245fd689a3"
+SRCREV = "3f701faace7addc75d16dea8a6cd769fa5b3f260"
 
 BASEVER = "1.2.2"
 
@@ -15,7 +15,6 @@ PV = "${BASEVER}+git${SRCPV}"
 SRC_URI = "git://git.musl-libc.org/musl \
            file://0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch \
            file://0002-ldso-Use-syslibdir-and-libdir-as-default-pathes-to-l.patch \
-           file://0001-riscv-Rename-__NR_fstatat-__NR_newfstatat.patch \
           "
 
 S = "${WORKDIR}/git"
-- 
2.33.0


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

* [PATCH] musl: Update to latest tip of trunk
@ 2023-12-02  6:57 Khem Raj
  2023-12-03 16:24 ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2023-12-02  6:57 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

* f314e133 mntent: fields are delimited only by tabs or spaces, not general whitespace
* ee1d39bc mntent: unescape octal sequences
* e17b9d74 ldso: fix TLSDESC addend processing on archs with backwards descriptors
* 039d3c34 ldso: convert TLSDESC_BACKWARDS from "#ifdef" to "if" logic
* 7b6a6516 byte-based printf family: emit a nul byte for %lc with argument zero
* 8c086e76 remove arbitrary limit from dns result parsing
* 2265a4c9 pass AT_NO_AUTOMOUNT when emulating fstatat via statx
* 2d84486a __year_to_secs: fix dangling pointer
* c5459df1 timer_create: volatile static -> static volatile
* 7bb11f75 ensure valid setxid return value in an unexpected error case
* 7f3a2925 synccall: add separate exit_sem to fix thread release logic bug
* 5baf2d92 ldso: use __ehdr_start if available to locate its own ELF headers
* 725e17ed remove non-prototype declaration of basename from string.h
* 6be76895 elf.h: add typedefs for Elf64_Relr and Elf32_Relr

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-core/musl/musl_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb
index 7dd949ffafd..87ac1641af1 100644
--- a/meta/recipes-core/musl/musl_git.bb
+++ b/meta/recipes-core/musl/musl_git.bb
@@ -4,7 +4,7 @@
 require musl.inc
 inherit linuxloader
 
-SRCREV = "79bdacff83a6bd5b70ff5ae5eb8b6de82c2f7c30"
+SRCREV = "f314e133929b6379eccc632bef32eaebb66a7335"
 
 BASEVER = "1.2.4"
 
-- 
2.43.0



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

* Re: [PATCH] musl: Update to latest tip of trunk
  2023-12-02  6:57 [PATCH] musl: Update to latest tip of trunk Khem Raj
@ 2023-12-03 16:24 ` Khem Raj
  0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2023-12-03 16:24 UTC (permalink / raw)
  To: openembedded-core

There are two issues with this

1. SRC_URI needs to fall back to using git protocol
2. basename has been removed from string.h which causes few recipes to build [1]

I will see to work though them before we apply this patch

[1] https://errors.yoctoproject.org/Errors/Build/175430/

On Fri, Dec 1, 2023 at 10:57 PM Khem Raj <raj.khem@gmail.com> wrote:
>
> * f314e133 mntent: fields are delimited only by tabs or spaces, not general whitespace
> * ee1d39bc mntent: unescape octal sequences
> * e17b9d74 ldso: fix TLSDESC addend processing on archs with backwards descriptors
> * 039d3c34 ldso: convert TLSDESC_BACKWARDS from "#ifdef" to "if" logic
> * 7b6a6516 byte-based printf family: emit a nul byte for %lc with argument zero
> * 8c086e76 remove arbitrary limit from dns result parsing
> * 2265a4c9 pass AT_NO_AUTOMOUNT when emulating fstatat via statx
> * 2d84486a __year_to_secs: fix dangling pointer
> * c5459df1 timer_create: volatile static -> static volatile
> * 7bb11f75 ensure valid setxid return value in an unexpected error case
> * 7f3a2925 synccall: add separate exit_sem to fix thread release logic bug
> * 5baf2d92 ldso: use __ehdr_start if available to locate its own ELF headers
> * 725e17ed remove non-prototype declaration of basename from string.h
> * 6be76895 elf.h: add typedefs for Elf64_Relr and Elf32_Relr
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta/recipes-core/musl/musl_git.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb
> index 7dd949ffafd..87ac1641af1 100644
> --- a/meta/recipes-core/musl/musl_git.bb
> +++ b/meta/recipes-core/musl/musl_git.bb
> @@ -4,7 +4,7 @@
>  require musl.inc
>  inherit linuxloader
>
> -SRCREV = "79bdacff83a6bd5b70ff5ae5eb8b6de82c2f7c30"
> +SRCREV = "f314e133929b6379eccc632bef32eaebb66a7335"
>
>  BASEVER = "1.2.4"
>
> --
> 2.43.0
>


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

end of thread, other threads:[~2023-12-03 16:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-02  6:57 [PATCH] musl: Update to latest tip of trunk Khem Raj
2023-12-03 16:24 ` Khem Raj
  -- strict thread matches above, loose matches on Subject: below --
2021-08-27 18:06 Khem Raj

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