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]
Date:   Mon, 29 Nov 2021 12:43:55 -0500
From:   Steven Rostedt <rostedt@...dmis.org>
To:     LEROY Christophe <christophe.leroy@...roup.eu>
Cc:     Peter Zijlstra <peterz@...radead.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>
Subject: Re: [PATCH] recordmcount: Support empty section from recent
 binutils

On Fri, 26 Nov 2021 08:43:23 +0000
LEROY Christophe <christophe.leroy@...roup.eu> wrote:

> Le 24/11/2021 à 15:43, Christophe Leroy a écrit :
> > Looks like recent binutils (2.36 and over ?) may empty some section,
> > leading to failure like:
> > 
> > 	Cannot find symbol for section 11: .text.unlikely.
> > 	kernel/kexec_file.o: failed
> > 	make[1]: *** [scripts/Makefile.build:287: kernel/kexec_file.o] Error 1
> > 
> > In order to avoid that, ensure that the section has a content before
> > returning it's name in has_rel_mcount().  
> 
> This patch doesn't work, on PPC32 I get the following message with this 
> patch applied:
> 
> [    0.000000] ftrace: No functions to be traced?
> 
> Without the patch I get:
> 
> [    0.000000] ftrace: allocating 22381 entries in 66 pages
> [    0.000000] ftrace: allocated 66 pages with 2 groups

Because of this report, I have not applied this patch (even though I was
about to push it to Linus).

I'm pulling it from my queue until this gets resolved.

Thanks,

-- Steve

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ