[poky] gcc 4.9.1 and stdint.h
Richard Purdie
richard.purdie at linuxfoundation.org
Sun Nov 2 14:03:35 PST 2014
On Sun, 2014-11-02 at 21:05 +0100, Holger Hans Peter Freyther wrote:
> Hi,
>
> I have a small piece of initial bootloader and it fails to compile
> using master (f19b4e995ea47f9243f152b39337330307453c9f). The code
> does include "stdint.h" which ends up with a failure like this:
>
> tmp/sysroots/i686-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.1/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory
> | # include_next <stdint.h>
> | ^
> | compilation terminated.
>
>
> So somehow gcc doesn't know how to find the glibc version of
> stdint.h. With edison and dora the #include_next will move to
> the sysroot.
>
> Is this a regression of gcc-4.9? is this a wanted change?
What was the compiler commandline you used and did you specify the
sysroot? Was this was master or dizzy?
Cheers,
Richard
More information about the poky
mailing list