[meta-virtualization] [PATCH 3/4] xen: uprev to 4.6.0

Chris Patterson cjp256 at gmail.com
Tue Dec 22 05:00:59 PST 2015


On Tue, Dec 22, 2015 at 12:45 AM, Doug Goldstein <cardoe at cardoe.com> wrote:

> Any reason why you can't work with upstream on a solution to the headers
> cross compile issue?
>

I wouldn't declare that it is a bug, but it sounded like upstream just
wasn't "finished" yet.  If you look at the commit that introduced it,
it was deemed to be "simplistic" and was meant only for native builds.

commit 6f1d3ce238905fc7b4c563a3611576ca25a09a49
Author: Keir Fraser <keir.fraser at citrix.com>
Date:   Wed Jun 17 07:21:03 2009 +0100

    Introduce mechanism to check standard conformance of headers

    While pretty simplistic, it appears to serve the purpose at the moment
    (i.e. it spotted two places where a GNU extension was used withou
    proper preprocessor conditionals). The "simplistic" here includes that
    the checking gets only done for native builds, and ia64 gets excluded
    due to its arch-specific header intentionally (for whatever reason)
    checking that anonymous struct/unions can be used.

    Signed-off-by: Jan Beulich <jbeulich at novell.com>


Since it appeared to be a sanity check (for developers?), I didn't
think it was worth digging in too far.

But since you asked!! I did revisit and it actually looks like the
root problem was that CXX is being dropping its OE cross flags (most
importantly, --sysroot).

It appears that CXX needs to be added to the list of variables updated
in ${S}/config/StdGNU.mk.  I'll fix that and post a v2 shortly :)

Thanks!
-Chris


More information about the meta-virtualization mailing list