[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#721712: gcc-4.8 doesn't compile i386 linux kernel on amd64 system



On 2013-09-03 23:43:02 +0200, Bastian Blank wrote:
> On Tue, Sep 03, 2013 at 12:14:02PM +0000, Kusanagi Kouichi wrote:
> > gcc-4.8 doesn't compile i386 linux kernel on amd64 system. gcc-4.7
> > compiles it successfully.
> 
> If you have used V=1, you would have seen that the compiler calls miss
> the -m32 argument. This is broken in upstream Linux, see
> arch/x86/Makefile*.

-m32 is missing only with gcc 4.8 because it's broken with gcc 4.8.

$ :> empty.c
$ gcc-4.8 -m32 -c empty.c
In file included from <command-line>:0:0:
/usr/include/stdc-predef.h:30:26: fatal error: bits/predefs.h: No such file or directory
 #include <bits/predefs.h>
                          ^
compilation terminated.
$ gcc-4.7 -m32 -c empty.c
$


Reply to: