package/gdb: fix build of 8.0.1 with glibc 2.29
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 13 May 2019 21:15:37 +0000 (23:15 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 14 May 2019 16:21:42 +0000 (18:21 +0200)
commitb8b23ac20829776c841db94434fc42817ddfca61
treea483063caf95465cccec427dfcf844fef1e17168
parentb978a2a1e7a8a5e0514ea71f2243e339850f47e2
package/gdb: fix build of 8.0.1 with glibc 2.29

Between glibc 2.28 and glibc 2.29, commit
89983cb37c9319806a551e8fe9f3a11ff8f973e1 ("Update siginfo constants
from Linux kernel (bug 21286)") was merged. This commit moved the
TRAP_HWBKPT definition from an IA64-specific header to an
architecture-agnostic header.

This change exhibited a build issue that until then was only visible
on IA64 (which Buildroot does not support). This Buildroot commit
backports a patch from gdb upstream (which is in gdb since 8.2) which
mentions IA64 because it was originally meant to fix only the
IA64-related issue. But the glibc change, this change has become
visible on all architectures.

Fixes:
 - No autobuilder failures

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/gdb/8.0.1/0006-gdb-Fix-ia64-defining-TRAP_HWBKPT-before-including-gdb_wait-h.patch [new file with mode: 0644]