On Mon, 26 Mar 2007 17:31:18 +0200, "Franck Bui-Huu" <vagabon.xyz@xxxxxxxxx> wrote: > I suspect you're asking why I did not do this: Yes. > 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 suppose. "If you used newer compiler, you can get better result" is natural thing, isn't it? ;) --- Atsushi Nemoto