[Top] [All Lists]

Re: [PATCH]: Remove CONFIG_BUILD_ELF64 entirely

Subject: Re: [PATCH]: Remove CONFIG_BUILD_ELF64 entirely
From: Atsushi Nemoto <>
Date: Tue, 27 Mar 2007 00:45:11 +0900 (JST)
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <>
On Mon, 26 Mar 2007 17:31:18 +0200, "Franck Bui-Huu" <> 
> I suspect you're asking why I did not do this:


> I remove the call to cc-option because this function removes
> _silently_ '-msym32' option if it's not supported by the compiler. IOW
> it's really not what we want.
> IIRC I haven't found an other function like 'cc-option-strict' which
> makes a compilation error in case.
> So I assumed that the compiler will complain if it doesn't understand
> this option. But it may be incorrect. If so I can add an error message
> in Kbuild or add a new Kbuild helper. But I'd like to understand
> what's wrong with it before.

I think dropping gcc 3.x support for 64-bit kernel is not what we
wanted.  And -msym32 is just an optimization and kernel should be
buildable without it.  So "remove -msym32 silently" is not so bad, I

"If you used newer compiler, you can get better result" is natural
thing, isn't it? ;)
Atsushi Nemoto

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