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-next>] [day] [month] [year] [list]
Message-ID: <5645072A.9000103@redhat.com>
Date:	Thu, 12 Nov 2015 13:39:54 -0800
From:	Laura Abbott <labbott@...hat.com>
To:	Paul Mackerras <paulus@...ba.org>,
	Michael Ellerman <mpe@...erman.id.au>,
	Scott Wood <scottwood@...escale.com>,
	Tiejun Chen <tiejun.chen@...driver.com>,
	Benjamin Herrenschmidt <benh@...nel.crashing.org>
Cc:	"linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Section mismatches in arch/powerpc/kernel/head_64.S

Hi,

There seem to be section mismatches coming from head_64.S

WARNING: vmlinux.o(.text+0x8994): Section mismatch in reference from the
variable __boot_from_prom to the function .init.text:prom_init()
The function __boot_from_prom() references
the function __init prom_init().
This is often because __boot_from_prom lacks a __init
annotation or the annotation of prom_init is wrong.

WARNING: vmlinux.o(.text+0x8c30): Section mismatch in reference from the
variable start_here_multiplatform to the function .init.text:early_setup()
The function start_here_multiplatform() references
the function __init early_setup().
This is often because start_here_multiplatform lacks a __init
annotation or the annotation of early_setup is wrong.

WARNING: vmlinux.o(.text+0x8c54): Section mismatch in reference from the
variable start_here_common to the function .init.text:setup_system()
The function start_here_common() references
the function __init setup_system().
This is often because start_here_common lacks a __init
annotation or the annotation of setup_system is wrong.

WARNING: vmlinux.o(.text+0x8c68): Section mismatch in reference from the
variable start_here_common to the function .init.text:start_kernel()
The function start_here_common() references
the function __init start_kernel().
This is often because start_here_common lacks a __init
annotation or the annotation of start_kernel is wrong.

FATAL: modpost: Section mismatches detected.
Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them.
scripts/Makefile.modpost:97: recipe for target 'vmlinux.o' failed

These were noticed when I accidentally turned off CONFIG_SECTION_MISMATCH_WARN_ONLY
(see https://bugzilla.redhat.com/show_bug.cgi?id=1281446) which now
makes them a compilation failure. Config attached. Currently just working
around this by keeping that option on.

Thanks,
Laura

View attachment "kernel-4.4.0-ppc64le.config" of type "text/plain" (143445 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ