From: Paul Floyd Date: Fri, 23 Dec 2022 13:49:39 +0000 (+0100) Subject: Bug 463027 - broken check for MPX instruction support in assembler X-Git-Tag: VALGRIND_3_21_0~268 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=316282cd3b357fe94cac466754adb42c17fad7d2;p=thirdparty%2Fvalgrind.git Bug 463027 - broken check for MPX instruction support in assembler --- diff --git a/NEWS b/NEWS index d777d9160c..c9376dcca9 100644 --- a/NEWS +++ b/NEWS @@ -27,6 +27,7 @@ are not entered into bugzilla tend to get forgotten about or ignored. 444110 priv/guest_ppc_toIR.c:36198:31: warning: duplicated 'if' condition. 459476 vgdb: allow address reuse to avoid "address already in use" errorsuse" errors 462830 WARNING: unhandled amd64-freebsd syscall: 474 +463027 broken check for MPX instruction support in assembler To see details of a given bug, visit https://bugs.kde.org/show_bug.cgi?id=XXXXXX diff --git a/configure.ac b/configure.ac index 41047dc2c6..5ae9377119 100755 --- a/configure.ac +++ b/configure.ac @@ -3410,9 +3410,9 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[ asm ("bndmov %bnd0,(%rsp)"); asm ("bndldx 3(%rbx,%rdx), %bnd2"); asm ("bnd call foo\n" - bnd jmp end\n" - foo: bnd ret\n" - end: nop"); + "bnd jmp end\n" + "foo: bnd ret\n" + "end: nop"); } while (0) ]])], [ ac_have_as_mpx=yes