[Top] [All Lists]

Re: CONFIG_BUILD_ELF64 broken on IP32 since 2.6.20

To: "Maciej W. Rozycki" <>
Subject: Re: CONFIG_BUILD_ELF64 broken on IP32 since 2.6.20
From: Franck Bui-Huu <>
Date: Wed, 26 Sep 2007 15:34:50 +0200
Cc: Martin Michlmayr <>,, Atsushi Nemoto <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=nAOAJvCVBPqqY6pJXinQKUDnYKI2AYlO23cVidWMNRQ=; b=kAL7VcCd1iF9sVqa+pBZ21NcCTqabyt6aj8nZqPnhUkSKfcRJrbjsTW9QmJSeXAQPHE2WNvmImrcaXfjSZn86fVXDFsVZSOq7Aq3CwSZZUM7jzDVvCD2Qt/yFxcnxqCWQcNdkvKlDkvw9DZfMBXTEbPzAK0refmAhIMwKJQe6gw=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=rPgPaOmfqO5ddmei6rxYdspoHQOg+pdpBKNhQPlabzMtLop2dsZULnFTLh1GIrXq+zLrx5hKGMST/D1XqR9iZJJ8JV4VD9APvxpgbGPdRgoVcE3QkixqTBrH5A+t8BOexs1X81EA2eDKd/u9gInIsRE72FwzGPcjff+BhJ7jRdU=
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <> <> <> <>
User-agent: Thunderbird (X11/20070719)
Maciej W. Rozycki wrote:
> On Wed, 26 Sep 2007, Martin Michlmayr wrote:
>>> Weird, all these symbols seem to be 32 bits ones...
>>> Could you put somewhere your vmlinux you're actually running ?
>> Note that I'm using "make vmlinux.32"
>  It should not matter here -- the build is done using the ELF32 or ELF64 
> file format according to CONFIG_BUILD_ELF64 and if you request a target 

Except that if CONFIG_BUILD_ELF64 is set then we assume that the kernel
is linked in XKPHYS which results in Martin's crash since his kernel is
linked in CKSEG0.

If you can recall that was done for a micro-optimization in __pa() but it
was a huge mistake because it relies on the configuration of BUILD_ELF64
to be setup correctly by the user... So in this case there's no point to
set CONFIG_BUILD_ELF64='y' since it makes the kernel bigger and slower.
But it used to work until my change, so my own fault.

Now it's going to be fixed in v2.6.23 by Ralf's commit.

Martin, can you live with CONFIG_BUILD_ELF64='n' for now ?


<Prev in Thread] Current Thread [Next in Thread>