Messages in this thread |  | | Date | Tue, 9 Dec 2025 07:11:07 -0800 | | Subject | Re: [PATCH v6 03/30] objtool: Disassemble code with libopcodes instead of running objdump | | From | Guenter Roeck <> |
| |
On 12/8/25 23:51, Alexandre Chartre wrote: > > On 12/9/25 07:58, Guenter Roeck wrote: >> Hi, >> >> On Fri, Nov 21, 2025 at 10:53:13AM +0100, Alexandre Chartre wrote: >>> objtool executes the objdump command to disassemble code. Use libopcodes >>> instead to have more control about the disassembly scope and output. >>> If libopcodes is not present then objtool is built without disassembly >>> support. >>> >>> Signed-off-by: Alexandre Chartre <alexandre.chartre@oracle.com> >> >> With this patch in mainline, I get the following build error when trying >> to build x86_64:defconfig (and other configurations). >> >> Bisect log is attached. I see the problem with gcc 11.4.0, 13.3.0, and >> 14.3.0. I tried with both Ubuntu 22.04 and 24.04. >> > > This sounds like a configuration issue depending on the binutils version; in > particular the setting of DISASM_INIT_STYLED (although that's supposed to be > automatically configured by tools/objtool/Makefile). > > Which binutils-devel version are you using? >
I tried 2.38 (with gcc 11.4), 2.42 (with gcc 13.3), and 2.44 (with gcc 14.3) in three different environments (Ubuntu 12.4, 14.4, and self-built tools).
Guenter
|  |