lkml.org 
[lkml]   [2012]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: commit 6520fe5564acf07ade7b18a1272db1184835c487 "x86, realmode: 16-bit real-mode code support for relocs tool" breaks cross-compilation from x86-64 -> x86-32
On 05/20/2012 04:38 AM, Arthur Marsh wrote:
> Hi, I normally use the make-kpkg script on Debian unstable on an AMD64
> machine to rebuild 32-bit x86 kernels via the following command line:
>
> CONCURRENCY_LEVEL=8 DEB_HOST_ARCH=i386 \
> MAKEFLAGS="CC=gcc-4.7 LD=ld.gold" make-kpkg \
> --initrd --config menuconfig --arch i386 \
> --cross-compile - linux-image
>
> This failed recently with the output:
>
>
> Is this a problem with the Debian mk-kpkg command from kernel-package or
> the kernel's own build system?
>

Neither. It means you have exposed a linker bug. It was believed to be
only in GNU ld, but apparently it is in gold as well (building the
kernel with gold has always been iffy.)

The bisect isn't very useful, because you really want the result from
two patches later.

Let me emphasize: these patches only *detect* the failure, turning it
from silent corruption to an error message.

-hpa




\
 
 \ /
  Last update: 2012-05-20 18:41    [W:0.027 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site