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 afffcd09e5f15be53f327a80ee87d391312eb805)
Link: https://github.com/openwrt/openwrt/pull/17097
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2024-11-28 18:47:36 +00:00
..
2023-10-17 11:05:16 +02:00
2024-10-13 22:29:11 +03:00
2024-01-30 10:39:21 +01:00
2023-05-22 18:51:31 +02:00
2024-10-05 12:29:20 +02:00
2023-10-12 09:50:25 +02:00
2022-09-06 16:36:44 +01:00
2022-09-06 16:36:45 +01:00
2024-11-16 00:11:27 +01:00
2024-10-05 12:33:38 +02:00
2024-09-22 17:41:32 +02:00
2023-10-29 19:42:32 +01:00
2022-07-10 19:07:47 +02:00
2024-01-25 17:31:50 +01:00
2024-08-07 18:05:32 +02:00
2024-09-22 18:20:44 +02:00
2024-10-05 12:31:43 +02:00
2024-10-24 20:17:27 +02:00
2024-01-04 22:40:05 +01:00
2024-07-28 19:30:35 +02:00
2023-07-19 15:25:35 +02:00
2024-09-25 23:30:22 +02:00
2024-04-27 12:05:43 +02:00
2023-09-25 23:06:33 +02:00
2024-07-15 23:57:44 +02:00
2024-02-02 17:26:29 +01:00