lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a736defa-eb1b-422c-9ec4-f9745ec67453@roeck-us.net>
Date: Tue, 9 Dec 2025 07:11:07 -0800
From: Guenter Roeck <linux@...ck-us.net>
To: Alexandre Chartre <alexandre.chartre@...cle.com>
Cc: linux-kernel@...r.kernel.org, mingo@...nel.org, jpoimboe@...nel.org,
 peterz@...radead.org, david.laight.linux@...il.com
Subject: Re: [PATCH v6 03/30] objtool: Disassemble code with libopcodes
 instead of running objdump

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@...cle.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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ