Openembedded Devel Discussions
 help / color / mirror / Atom feed
* linux-libc-headers-native, gcc-cross issue
@ 2010-06-20 20:51 Frans Meulenbroeks
  2010-06-20 22:45 ` Khem Raj
  2010-06-21 14:46 ` Tom Rini
  0 siblings, 2 replies; 10+ messages in thread
From: Frans Meulenbroeks @ 2010-06-20 20:51 UTC (permalink / raw)
  To: openembedded-devel

Dear all,

After the introduction of linux-libc-headers-native I've bumped into
the following issue.
linux-libc-headers-native installs unistd.h in sysroots
This causes other recipes to pick up the x86 files instead of the target ones.
I've seen this happen for both unistd.h and sigcontext.h

One of the recipes suffering from this is gcc-cross (for some architectures).
Reason is that files are compiled with
-I/home/frans/oe/tmp_angstrom/sysroots/i686-linux/usr/include whereas
the target specific includes are added with -isystem.
This causes the -I to win.

In the past sysroots/i686-linux/usr/include was empty, but with
linux-libc-headers-native it gets populated causing the files in there
to be used instead of the ones in the target ones.
By setting linux-libc-headers-native to ASSUME-PROVIDED and cleaning
and rebuilding TMPDIR I was able to avoid the problem.

However, I think this needs a more structural solution.
Suggestions are appreciated.

Frans.

PS: it might also be that other files suffer from this, but until now
I only had problems with gcc-cross



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-06-21 20:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-20 20:51 linux-libc-headers-native, gcc-cross issue Frans Meulenbroeks
2010-06-20 22:45 ` Khem Raj
2010-06-21 13:01   ` Frans Meulenbroeks
2010-06-21 17:40     ` Khem Raj
2010-06-21 19:32       ` Frans Meulenbroeks
2010-06-21 14:46 ` Tom Rini
2010-06-21 19:27   ` Frans Meulenbroeks
2010-06-21 19:36     ` Khem Raj
2010-06-21 19:49       ` Frans Meulenbroeks
2010-06-21 19:58         ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox