mirror of
https://git.yoctoproject.org/poky
synced 2026-07-15 15:37:03 +00:00
7a90e7adfb
On Ubuntu 26.04, gcc 15.2 defaults to --std=gnu23 in which static_assert is a keyword, and not a macro to define like with older GCC. This make MIPS64 code in gdb fail to compile with: | In file included from ../../gdb-14.2/opcodes/mips16-opc.c:25: | ../../gdb-14.2/opcodes/mips16-opc.c: In function ‘decode_mips16_operand’: | ../../gdb-14.2/opcodes/mips-formats.h:86:7: error: expected identifier or ‘(’ before ‘static_assert’ | 86 | static_assert[(1 << (SIZE)) == ARRAY_SIZE (MAP)]; \ | | ^~~~~~~~~~~~~ | ../../gdb-14.2/opcodes/mips16-opc.c:52:15: note: in expansion of macro ‘MAPPED_REG’ | 52 | case '.': MAPPED_REG (0, 0, GP, reg_0_map); | | ^~~~~~~~~~ (From OE-Core rev: 92a57b28a4e8e4fe917e4aa3d58079257ee9a41f) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Paul Barker <paul@pbarker.dev>
19 lines
1.1 KiB
PHP
19 lines
1.1 KiB
PHP
LICENSE = "GPL-2.0-only & GPL-3.0-only & LGPL-2.0-only & LGPL-3.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
|
|
file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
|
|
file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
|
|
file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674"
|
|
|
|
SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.xz \
|
|
file://0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch \
|
|
file://0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch \
|
|
file://0003-Dont-disable-libreadline.a-when-using-disable-static.patch \
|
|
file://0004-use-asm-sgidefs.h.patch \
|
|
file://0005-Change-order-of-CFLAGS.patch \
|
|
file://0006-resolve-restrict-keyword-conflict.patch \
|
|
file://0007-Fix-invalid-sigprocmask-call.patch \
|
|
file://0008-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \
|
|
file://0001-opcodes-fix-std-gnu23-compatibility-wrt-static_asser.patch \
|
|
"
|
|
SRC_URI[sha256sum] = "2d4dd8061d8ded12b6c63f55e45344881e8226105f4d2a9b234040efa5ce7772"
|