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

Bug#717557: gcc-4.8: can't compile working 64bit kernel with 32bit userspace gcc-4.8



On Sat, 2013-10-19 at 23:38 +0200, Matthias Klose wrote:
> Control: severity -1 important
> Control: tags -1 + moreinfo
> 
> > > 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.
> >
> > It looks like I can avoid this by changing the compile tests to use the
> > -nostdinc option.  But this change may possibly cause other problems,
> > and neither the pre-included header nor the fact that -nostdinc disables
> > it seem to be documented.
> 
> please attach the test program and the command line options used for this test
> case.  I think the issue is within the kernel build system not being prepared
> for multiarch and -nostdinc.

gcc-4.8 -m64 -x c -c /dev/null

-- 
Ben Hutchings
Time is nature's way of making sure that everything doesn't happen at once.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: