openwrt/toolchain
Josef Schlehofer ed12436ee9 toolchain/gdb: backport patch for macOS to fix invalid range
With the recent macOS update to Ventura, it looks like gdb could not be
compiled with clang16 and newer version, because it fails with:
./../gdbsupport/enum-flags.h:95:52: error: integer value -1 is outside the valid range of values [0, 15] for this enumeration type [-Wenum-constexpr-conversion]
    integer_for_size<sizeof (T), static_cast<bool>(T (-1) < T (0))>::type
                                                   ^
./../gdbsupport/enum-flags.h:95:52: error: integer value -1 is outside the valid range of values [0, 1] for this enumeration type [-Wenum-constexpr-conversion]
./../gdbsupport/enum-flags.h:95:52: error: integer value -1 is outside the valid range of values [0, 3] for this enumeration type [-Wenum-constexpr-conversion]
./../gdbsupport/enum-flags.h:95:52: error: integer value -1 is outside the valid range of values [0, 3] for this enumeration type [-Wenum-constexpr-conversion]
4 errors generated.

- Upstream bug:
https://sourceware.org/bugzilla/show_bug.cgi?id=30423

- Backported upstream commit:
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ae61525fcf456ab395d55c45492a106d1275873a

Fixes: https://github.com/openwrt/openwrt/issues/15314

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/15315
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-04-30 12:36:19 +02:00
..
binutils toolchain: assign PKG_CPE_ID 2023-09-27 22:37:01 +02:00
fortify-headers fortify-headers: add __extension__ mark to strings.h 2023-08-11 12:53:33 +02:00
gcc config: fix CONFIG_GDB appearing in main menuconfig menu 2024-04-18 11:52:56 +02:00
gdb toolchain/gdb: backport patch for macOS to fix invalid range 2024-04-30 12:36:19 +02:00
glibc toolchain: glibc: Update glibc 2.37 to recent HEAD 2024-02-10 12:53:42 +01:00
kernel-headers toolchain: kernel-headers: remove debugging env dump 2024-04-27 06:52:38 +00:00
musl toolchain: musl: add PKG_CPE_ID 2023-09-27 22:37:01 +02:00
nasm toolchain: assign PKG_CPE_ID 2023-09-27 22:37:01 +02:00
wrapper buildroot: allow specifying libc personality for external toolchains 2013-02-20 15:06:10 +00:00
build_version toolchain: add a version that can be bumped to force toolchain/target rebuild 2021-11-16 22:02:45 +01:00
Config.in treewide: strip useless default n Kconfig lines 2023-02-03 12:50:15 +01:00
info.mk uClibc cleanup: - use full version string (0.9.30.1), instead of base (0.9.30) + extra (.1) - remove support for 0.9.28 and snapshots (building from SVN to be added later) 2009-04-24 02:07:24 +00:00
Makefile toolchain: remove references to $(LIBC)/utils subtarget 2023-02-25 13:45:18 +01:00