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

Doug Goldstein cardoe at cardoe.com
Tue Dec 22 06:26:09 PST 2015

On 12/22/15 7:00 AM, Chris Patterson wrote:
> 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

So actually the only variables that should be sed'd are LD, CC, CPP, and
CXX. I actually tracked this down a while back and I've got a patchset
that needs to be submitted that contains a number of fixes for 4.6 as well.

Doug Goldstein

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 959 bytes
Desc: OpenPGP digital signature
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20151222/a59a3124/attachment.pgp>

More information about the meta-virtualization mailing list