From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Holger Hans Peter Freyther <holger@freyther.de>
Cc: poky@yoctoproject.org
Subject: Re: gcc 4.9.1 and stdint.h
Date: Sun, 02 Nov 2014 22:03:35 +0000 [thread overview]
Message-ID: <1414965815.5111.1.camel@ted> (raw)
In-Reply-To: <20141102200530.GE6886@xiaoyu.lan>
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
next prev parent reply other threads:[~2014-11-02 22:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-02 20:05 gcc 4.9.1 and stdint.h Holger Hans Peter Freyther
2014-11-02 22:03 ` Richard Purdie [this message]
2014-11-03 7:22 ` Holger Hans Peter Freyther
2014-11-03 8:04 ` Richard Purdie
2014-11-03 15:12 ` Holger Hans Peter Freyther
2014-11-03 15:37 ` Richard Purdie
2014-11-07 16:58 ` Holger Hans Peter Freyther
2014-11-12 13:21 ` Richard Purdie
2014-11-12 13:50 ` Holger Hans Peter Freyther
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1414965815.5111.1.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=holger@freyther.de \
--cc=poky@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.