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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:	Tue, 14 Oct 2008 12:27:12 -0500 (CDT)
From:	linuxtwidler@...il.com
To:	linux-kernel@...r.kernel.org
Subject: Patch 1 / 1 - Fix section mismatch for i386_start_kernel

Hello,

Using 2.6.27 (32bit, x86) on Gentoo, I received the following error when
compiling the kernel:

---------------------------------------------------------
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.
---------------------------------------------------------

I found a similar error with the 64bit (x86_64) version and developed a
patch from that.

Attached is the patch and a stripped down config file to trigger the error.

Download attachment "2.6.27-head_32.patch" of type "application/octet-stream" (258 bytes)

Download attachment "2.6.27.config" of type "application/octet-stream" (14592 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ