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]
Date:	Wed, 15 Oct 2008 20:47:41 -0500 (CDT)
From:	linuxtwidler@...il.com
To:	linux-kernel@...r.kernel.org
Cc:	"Greg KH" <gregkh@...e.de>,
	"Andrew Morton" <akpm@...ux-foundation.org>,
	torvalds@...ux-foundation.org, stable@...nel.org
Subject: [PATCH 1/1] fix for arch/x86/kernel/head_32.S

Hi,


The attached patch resolves the warning message below when compiling the
kernel.  Also attached is a minimalistic config file that reliably
triggers the warning.

Kernel versions 2.6.27 (from Linus's tarball) and 2.6.27.1 (from Greg KH's
git tree) are both affected.

Gentoo Linux x86 (32bit)
GCC version is 4.3.2
Processor is Petium III (Katmai), 550MHz, 512KB Cache.
RAM is 512MB


Signed-off-by: Lee Leahu <linuxtwidler@...il.com>


---------------------------------------------------------------
...
  LD      vmlinux.o
  MODPOST vmlinux.o
WARNING: vmlinux.o(.cpuinit.data+0x0): Section mismatch in reference from
the variable initial_code to the function .init.text:i386_start_kernel()
The variable __cpuinitdata initial_code references
a function __init i386_start_kernel().
If i386_start_kernel is only used by initial_code then
annotate i386_start_kernel with a matching annotation.

...
---------------------------------------------------------------



Download attachment "2.6.27.1-head_32.S.patch" of type "application/octet-stream" (300 bytes)

Download attachment "2.6.27.1.config" of type "application/octet-stream" (14558 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ