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>] [day] [month] [year] [list]
Message-ID: <1123639a-7d72-46a1-a241-f48317f4123f@gmx.de>
Date: Thu, 2 Jan 2025 12:01:32 +0100
From: Toralf Förster <toralf.foerster@....de>
To: Linux Kernel <linux-kernel@...r.kernel.org>
Subject: 6.12.y: vmlinux.o: warning: objtool: .text+0x0: unreachable
 instruction

In 6.12.y I get this warning if compiling the kernel for a hardened
stable Gentoo Linux:

make -f ./scripts/Makefile.vmlinux_o
# LD      vmlinux.o
   ld -m elf_x86_64 -z noexecstack --no-warn-rwx-segments -r -o
vmlinux.o   --whole-archive vmlinux.a --no-whole-archive --start-group
lib/lib.a arch/x86/lib/lib.a --end-group  ; ./tools/objtool/objtool
--hacks=jump_label --hacks=noinstr --ibt --orc --retpoline --rethunk
--sls --static-call --uaccess --link vmlinux.o
vmlinux.o: warning: objtool: .text+0x0: unreachable instruction
vmlinux.o: warning: objtool: .text+0x4: unreachable instruction
vmlinux.o: warning: objtool: .text+0xb: unreachable instruction
vmlinux.o: warning: objtool: .text+0x10: unreachable instruction
vmlinux.o: warning: objtool: .text+0x17: unreachable instruction
vmlinux.o: warning: objtool: .text+0x1e: unreachable instruction


Shall I ignore it ?
--
Toralf


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ