From: Samuel Thibault Date: Fri, 4 Aug 2023 08:01:11 +0000 (+0200) Subject: powerpc longjmp: Fix build after chk hidden builtin fix X-Git-Tag: glibc-2.39~528 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41d8c3bc33bcae1ebb8077b0442caef4917f763a;p=thirdparty%2Fglibc.git 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") --- diff --git a/sysdeps/powerpc/longjmp.c b/sysdeps/powerpc/longjmp.c index 94addccf521..438a541b961 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)