openwrt/target/linux/generic
Pavel Shirov 0826b224b5 kernel: packages: fix building package/devel/perf with -O3
Add patch to fix failure to build package/devel/perf when
CONFIG_TARGET_OPTIMIZATION has -O3 enabled with this error:

```
In function 'elf_close',
    inlined from 'elf_close' at elf.c:41:6,
    inlined from 'elf_find_func_offset_from_file' at elf.c:267:2:
elf.c:45:9: error: 'elf_fd.elf' may be used uninitialized [-Werror=maybe-uninitialized]
   45 |         elf_end(elf_fd->elf);
      |         ^~~~~~~~~~~~~~~~~~~~
elf.c: In function 'elf_find_func_offset_from_file':
elf.c:260:23: note: 'elf_fd.elf' was declared here
  260 |         struct elf_fd elf_fd;
      |                       ^~~~~~
In function 'elf_close',
    inlined from 'elf_close' at elf.c:41:6,
    inlined from 'elf_find_func_offset_from_file' at elf.c:267:2:
elf.c:46:9: error: 'elf_fd.fd' may be used uninitialized [-Werror=maybe-uninitialized]
   46 |         close(elf_fd->fd);
      |         ^~~~~~~~~~~~~~~~~
elf.c: In function 'elf_find_func_offset_from_file':
elf.c:260:23: note: 'elf_fd.fd' was declared here
  260 |         struct elf_fd elf_fd;
      |                       ^~~~~~
```

Link: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/commit/?id=fab45b962749
Signed-off-by: Pavel Shirov <nstorm.ahoy166@silomails.com>
Link: https://github.com/openwrt/openwrt/pull/17141
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-12-08 19:02:48 +01:00
..
backport-6.6 kernel: packages: fix building package/devel/perf with -O3 2024-12-08 19:02:48 +01:00
files kernel: fallback-sprom: create separate header files 2024-12-08 13:32:46 +01:00
hack-6.6 kernel: fallback-sprom: create separate header files 2024-12-08 13:32:46 +01:00
image
other-files
pending-6.6 generic: mtd: spinand: add support for FORESEE F35SQA002G 2024-12-06 14:38:53 +01:00
config-6.6 kernel: enable pressure interface 2024-11-25 00:15:41 +01:00
config-filter kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
PATCHES