| Summary: | Valgrind incompatibility with binutils-2.42 on x86 with new nop patterns (unhandled instruction bytes: 0x2E 0x8D 0xB4 0x26) | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | Sam James <sam> |
| Component: | memcheck | Assignee: | Julian Seward <jseward> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | aurelien, debfx-kde, mark, pjfloyd, schwab, sj |
| Priority: | NOR | ||
| Version First Reported In: | 3.22 GIT | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Other | ||
| See Also: | http://bugs.debian.org/1057693 | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Sam James
2023-12-17 01:10:56 UTC
<mjw> For a testcase we probably should just have a simple assembly/byte sequence of all the "nops" used in https://sourceware.org/cgit/binutils-gdb/tree/gas/config/tc-i386.c#n1256 Should be fixed with this. Can someone check with the latest binutils? commit d35005cef8ad8207542738812705ceabf137d7e0 (HEAD -> master, origin/master, origin/HEAD, gnu_binutils_nop) Author: Paul Floyd <pjfloyd@wanadoo.fr> Date: Sun Dec 17 14:18:51 2023 +0100 Bug 478624 - Valgrind incompatibility with binutils-2.42 on x86 with new nop patterns (unhandled instruction bytes: 0x2E 0x8D 0xB4 0x26) It was a bit of a struggle to get the testcase to build with both clang and gcc (oddly enough gcc was more difficult) so I just resorted to using .byte arrays. Gentoo, Debian and Fedora already pulled in this patch. Now also added to VALGRIND_3_22_BRANCH: commit 41ff9aa49f6c54c66d0e6b37f265fd9cb0176057 Author: Paul Floyd <pjfloyd@wanadoo.fr> Date: Sun Dec 17 14:18:51 2023 +0100 Bug 478624 - Valgrind incompatibility with binutils-2.42 on x86 with new nop patterns (unhandled instruction bytes: 0x2E 0x8D 0xB4 0x26) It was a bit of a struggle to get the testcase to build with both clang and gcc (oddly enough gcc was more difficult) so I just resorted to using .byte arrays. (cherry picked from commit d35005cef8ad8207542738812705ceabf137d7e0) *** Bug 480680 has been marked as a duplicate of this bug. *** |