openwrt/package/libs
Ryan Keane 9591c1631d
elfutils: Backport some patches to fix errors
On aarch64 musl gcc 14.x compiler, trying compiling elfutils 0.192 with
lto option enabled will cause null-dereference error.
Example error message:

...
elf_compress.c: In function 'elf_compress':
elf_compress.c:675:26: error: potential null pointer dereference [-Werror=null-dereference]
  675 |           shdr->sh_flags |= SHF_COMPRESSED;
      |                          ^
elf_compress_gnu.c: In function 'elf_compress_gnu':
elf_compress_gnu.c:127:25: error: potential null pointer dereference [-Werror=null-dereference]
  127 |           shdr->sh_size = new_size;
      |                         ^                      ^
...

This is a false postive warning but will abort compilation if gcc has
`-Werror` flag. This commit add a patch for this, see the bugzilla
report below.

This commit backports a series of patches to fix some errors.

Add patch:
- 007-add-libeu-symbols-to-libelf.patch
- 008-fix-autoconf-ENABLE_IMA_VERIFICATION.patch
- 009-fix-null-dereference-with-lto.patch

Link: https://sourceware.org/bugzilla/show_bug.cgi?id=32311
Signed-off-by: Ryan Keane <the.ra2.ifv@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16886
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit afffcd09e5)
Link: https://github.com/openwrt/openwrt/pull/17097
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2024-11-28 18:47:36 +00:00
..
argp-standalone treewide: opt-out of tree-wide LTO usage 2023-03-21 18:28:23 +01:00
elfutils elfutils: Backport some patches to fix errors 2024-11-28 18:47:36 +00:00
gettext-full gettext-full: update to 0.22.5 2024-04-25 21:33:51 +02:00
gmp gmp: update to 6.3 2023-10-17 11:05:16 +02:00
jansson treewide: add support for "lto" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
libbpf libbpf: bump to 1.4.6 2024-10-13 22:29:11 +03:00
libbsd libbsd: update to 0.11.8 2024-01-30 10:39:21 +01:00
libcap libcap: update to 2.69 2023-05-22 18:51:31 +02:00
libevent2 libevent2: make cmake use relative imported path 2024-03-13 00:24:43 +00:00
libiconv-full libiconv-full: add host build 2022-07-17 14:21:03 +02:00
libjson-c libjson-c: update to 0.18 2024-10-05 12:29:20 +02:00
libmd libmd: update to 1.1.0 2023-10-12 09:50:25 +02:00
libmnl libmnl: add PKG_CPE_ID 2022-09-06 16:36:44 +01:00
libnetfilter-conntrack packages: assign PKG_CPE_ID for all missing packages 2023-09-19 20:21:13 +02:00
libnfnetlink libnfnetlink: add PKG_CPE_ID 2022-09-06 16:36:45 +01:00
libnftnl libnftnl: update to 1.2.8 2024-11-16 00:11:27 +01:00
libnl libnl: update to 3.10.0 2024-10-05 12:33:38 +02:00
libnl-tiny treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
libpcap libpcap: update to 1.10.5 2024-09-22 17:41:32 +02:00
libselinux libselinux: opt-out of lto usage 2023-10-29 19:42:32 +01:00
libsemanage libaudit: update to 3.1.4, join with daemon and utils, rename 2024-04-29 00:53:43 +02:00
libsepol libsepol: opt-out of lto usage 2023-10-29 19:42:32 +01:00
libtool libtool: update to 2.4.7 2022-07-10 19:07:47 +02:00
libtraceevent libtraceevent: update to 1.8.2 2024-01-25 17:31:50 +01:00
libtracefs libtracefs: update to 1.8 2024-01-25 17:31:50 +01:00
libubox treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
libunistring libunistring: update to 1.2 2024-08-07 18:05:32 +02:00
libunwind libunwind: add support for loongarch64 2024-05-04 14:14:24 +08:00
libusb libusb: update to 1.0.27 2024-09-22 18:20:44 +02:00
libxml2 libxml2: update to 2.13.4 2024-10-05 12:31:43 +02:00
mbedtls mbedtls: update to 3.6.2 2024-10-24 20:17:27 +02:00
mpfr mpfr: import from packages feed 2024-01-04 22:40:05 +01:00
musl-fts musl-fts: remove shared libraries from host 2022-03-27 14:38:13 +02:00
ncurses ncurses: Fix path in ncursesw.pc 2024-07-28 19:30:35 +02:00
nettle nettle: update to 3.9.1 2023-07-19 15:25:35 +02:00
openssl openssl: update download mirrors 2024-09-25 23:30:22 +02:00
pcre2 package/libs/pcre2: fix PKG_CPE_ID 2024-04-27 12:05:43 +02:00
popt treewide: Add extra CPE identifier 2023-09-25 23:06:33 +02:00
readline libreadlne: create symlinks for .so 2024-11-28 18:47:29 +00:00
sysfsutils treewide: Add extra CPE identifier 2023-09-25 23:06:33 +02:00
toolchain libquadmath: Add libquadmath to the toolchain 2024-06-17 13:12:29 +02:00
uclient uclient: update to Git HEAD (2024-10-22) 2024-10-22 13:15:54 +02:00
udebug treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
ustream-ssl ustream-ssl: update to Git HEAD (2024-07-28) 2024-08-25 17:27:32 +02:00
wolfssl wolfssl: Update to version 5.7.2 2024-07-15 23:57:44 +02:00
zlib zlib: update to 1.3.1 2024-02-02 17:26:29 +01:00