diff options
2 files changed, 42 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager/0001-linker-scripts-Do-not-export-_IO_stdin_used.patch b/meta-networking/recipes-connectivity/networkmanager/networkmanager/0001-linker-scripts-Do-not-export-_IO_stdin_used.patch new file mode 100644 index 0000000000..71ad01f51c --- /dev/null +++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager/0001-linker-scripts-Do-not-export-_IO_stdin_used.patch | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | From 3ee6967689b3da30cc4551885d8bcdd44a7a9b52 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Thu, 31 Aug 2023 21:16:55 -0700 | ||
| 4 | Subject: [PATCH] linker-scripts: Do not export _IO_stdin_used | ||
| 5 | |||
| 6 | This is glibc specific and it is not needed with musl. | ||
| 7 | See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835550 | ||
| 8 | |||
| 9 | Upstream-Status: Pending | ||
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 11 | --- | ||
| 12 | linker-script-binary.ver | 1 - | ||
| 13 | tools/create-exports-NetworkManager.sh | 1 - | ||
| 14 | 2 files changed, 2 deletions(-) | ||
| 15 | |||
| 16 | diff --git a/linker-script-binary.ver b/linker-script-binary.ver | ||
| 17 | index a2780c0..f030d35 100644 | ||
| 18 | --- a/linker-script-binary.ver | ||
| 19 | +++ b/linker-script-binary.ver | ||
| 20 | @@ -1,6 +1,5 @@ | ||
| 21 | { | ||
| 22 | global: | ||
| 23 | - _IO_stdin_used; | ||
| 24 | local: | ||
| 25 | *; | ||
| 26 | }; | ||
| 27 | diff --git a/tools/create-exports-NetworkManager.sh b/tools/create-exports-NetworkManager.sh | ||
| 28 | index ef4b381..60865ad 100755 | ||
| 29 | --- a/tools/create-exports-NetworkManager.sh | ||
| 30 | +++ b/tools/create-exports-NetworkManager.sh | ||
| 31 | @@ -54,7 +54,6 @@ get_symbols_nm () { | ||
| 32 | |||
| 33 | get_symbols_explicit() { | ||
| 34 | cat <<EOF | _sort | ||
| 35 | -_IO_stdin_used | ||
| 36 | EOF | ||
| 37 | } | ||
| 38 | |||
| 39 | -- | ||
| 40 | 2.42.0 | ||
| 41 | |||
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb index 9ecb2f12f6..84ef70c9af 100644 --- a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb +++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb | |||
| @@ -31,6 +31,7 @@ SRC_URI = " \ | |||
| 31 | file://enable-dhcpcd.conf \ | 31 | file://enable-dhcpcd.conf \ |
| 32 | file://enable-iwd.conf \ | 32 | file://enable-iwd.conf \ |
| 33 | " | 33 | " |
| 34 | SRC_URI:append:libc-musl = " file://0001-linker-scripts-Do-not-export-_IO_stdin_used.patch" | ||
| 34 | 35 | ||
| 35 | SRC_URI[sha256sum] = "edca09637d182f806b3b12d8c5623d7badbd73ccca1ae63be20d2f298779fb9f" | 36 | SRC_URI[sha256sum] = "edca09637d182f806b3b12d8c5623d7badbd73ccca1ae63be20d2f298779fb9f" |
| 36 | 37 | ||
