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: <20250224172147.1de3fda5@gandalf.local.home>
Date: Mon, 24 Feb 2025 17:21:47 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: "Arnd Bergmann" <arnd@...db.de>
Cc: linux-kernel@...r.kernel.org, linux-trace-kernel@...r.kernel.org,
 linux-kbuild@...r.kernel.org, bpf <bpf@...r.kernel.org>,
 linux-arm-kernel@...ts.infradead.org, linux-s390@...r.kernel.org, "Masami
 Hiramatsu" <mhiramat@...nel.org>, "Mark Rutland" <mark.rutland@....com>,
 "Mathieu Desnoyers" <mathieu.desnoyers@...icios.com>, "Andrew Morton"
 <akpm@...ux-foundation.org>, "Peter Zijlstra" <peterz@...radead.org>,
 "Linus Torvalds" <torvalds@...ux-foundation.org>, "Masahiro Yamada"
 <masahiroy@...nel.org>, "Nathan Chancellor" <nathan@...nel.org>, "Nicolas
 Schier" <nicolas@...sle.eu>, "Zheng Yejian" <zhengyejian1@...wei.com>,
 "Martin Kelly" <martin.kelly@...wdstrike.com>, "Christophe Leroy"
 <christophe.leroy@...roup.eu>, "Josh Poimboeuf" <jpoimboe@...hat.com>,
 "Heiko Carstens" <hca@...ux.ibm.com>, "Catalin Marinas"
 <catalin.marinas@....com>, "Will Deacon" <will@...nel.org>, "Vasily Gorbik"
 <gor@...ux.ibm.com>, "Alexander Gordeev" <agordeev@...ux.ibm.com>
Subject: Re: [PATCH v5 2/6] scripts/sorttable: Have mcount rela sort use
 direct values

On Mon, 24 Feb 2025 22:10:53 +0100
"Arnd Bergmann" <arnd@...db.de> wrote:

> This is what I get on arm64 randconfig builds using clang after your
> patch:
> 
>   failed to sort mcount 'Expected 24260 mcount elements but found 0
>   ': vmlinux
>   Failed to sort kernel tables
> 
> I have not tried to understand what your patch does. See the attached
> defconfig for a reproducer.

Hmm, I haven't tried building this with clang.

Can you compile without that commit, run and give me the output from these
two programs:

 ./dump_elf_sym vmlinux __start_mcount_loc __stop_mcount_loc
 ./dump_elf_rela vmlinux .rela.dyn

If the second one fails, remove the '.rela.dyn' and see what that shows.

 https://rostedt.org/code/dump_elf_sym.c
 https://rostedt.org/code/dump_elf_rela.c


Thanks,

-- Steve

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ