From: GNU Libc Maintainers Date: Mon, 10 Jun 2024 20:25:19 +0000 (+0200) Subject: git-powerpc-longjmp X-Git-Tag: archive/raspbian/2.38-13+rpi1^2~78 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=609c4ebbea478283ed26c7a3f0f0eb11c07e73c8;p=glibc.git git-powerpc-longjmp commit 41d8c3bc33bcae1ebb8077b0442caef4917f763a Author: Samuel Thibault Date: Fri Aug 4 10:01:11 2023 +0200 powerpc longjmp: Fix build after chk hidden builtin fix 04bf7d2d8a79 ("chk: Add and fix hidden builtin definitions for *_chk") added an #undef for longjmp and siglongjmp to compensate for the definition in include/setjmp.h, but missed doing so for the powerpc version too. Fixes: 04bf7d2d8a79 ("chk: Add and fix hidden builtin definitions for *_chk") Gbp-Pq: Topic hurd-i386 Gbp-Pq: Name git-powerpc-longjmp.diff --- diff --git a/sysdeps/powerpc/longjmp.c b/sysdeps/powerpc/longjmp.c index 94addccf5..438a541b9 100644 --- a/sysdeps/powerpc/longjmp.c +++ b/sysdeps/powerpc/longjmp.c @@ -22,6 +22,9 @@ #include #include +#undef longjmp +#undef siglongjmp + extern void __vmx__longjmp (__jmp_buf __env, int __val) __attribute__ ((noreturn)); extern void __vmx__libc_longjmp (sigjmp_buf env, int val)