From: "H. Peter Anvin" <hpa@linux.intel.com>
To: Arthur Marsh <arthur.marsh@internode.on.net>
Cc: Jarkko Sakkinen <jarkko.sakkinen@intel.com>,
linux-kernel@vger.kernel.org
Subject: Re: commit 6520fe5564acf07ade7b18a1272db1184835c487 "x86, realmode: 16-bit real-mode code support for relocs tool" breaks cross-compilation from x86-64 -> x86-32
Date: Sun, 20 May 2012 08:58:30 -0700 [thread overview]
Message-ID: <4FB914A6.2000809@linux.intel.com> (raw)
In-Reply-To: <4FB8D7A8.60900@internode.on.net>
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
parent reply other threads:[~2012-05-20 15:58 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <4FB8D7A8.60900@internode.on.net>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FB914A6.2000809@linux.intel.com \
--to=hpa@linux.intel.com \
--cc=arthur.marsh@internode.on.net \
--cc=jarkko.sakkinen@intel.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox