public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: "Burton, Ross" <ross.burton@intel.com>, Marek Vasut <marex@denx.de>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] u-boot: mkimage: Fix build of u-boot-mkimage
Date: Tue, 8 Nov 2016 16:43:32 -0800	[thread overview]
Message-ID: <03d91527-2e2f-0694-8339-22fe7158880e@gmail.com> (raw)
In-Reply-To: <CAJTo0LaSLN1eVRH1ju1w5Ba3PLh6d+E0ZwmRimxcN1DjKRk6iQ@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1232 bytes --]



On 11/8/16 4:15 PM, Burton, Ross wrote:
> 
> On 7 November 2016 at 18:20, Marek Vasut <marex@denx.de
> <mailto:marex@denx.de>> wrote:
> 
>     -EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${CC} ${CFLAGS}
>     ${LDFLAGS}" STRIP=true V=1'
>     +EXTRA_OEMAKE = 'HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}"'
>     +EXTRA_OEMAKE_append_class-target = 'CROSS_COMPILE="${TARGET_PREFIX}"
>     CC="${CC} ${CFLAGS} ${LDFLAGS}" STRIP=true V=1'
>     +EXTRA_OEMAKE_append_class-native = 'CC="${BUILD_CC} ${BUILD_CFLAGS}
>     ${BUILD_LDFLAGS}" STRIP=true V=1'
>     +EXTRA_OEMAKE_append_class-nativesdk = 'CC="${BUILD_CC} ${BUILD_CFLAGS}
>     ${BUILD_LDFLAGS}" STRIP=true V=1'
> 
> 
> You're going to start hating u-boot...
> 
> Fails on the autobuilder if you're building for a 32-bit x86 target on a
> 64-bit x86 host:
> 
> ERROR: QA Issue: Architecture did not match (x86-64, expected x86) on
> /work/i586-poky-linux-musl/u-boot-mkimage/1_2016.09.01-r0/packages-split/u-boot-mkimage/usr/bin/uboot-mkimage
> [arch]
> 
> I'm guessing that it is using the host compiler instead of the cross compiler.

isnt mkimage a host tool ? why are we building it for target ?

> 
> Ross
> 
> 


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

  reply	other threads:[~2016-11-09  0:43 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-07 18:20 [PATCH] u-boot: mkimage: Fix build of u-boot-mkimage Marek Vasut
2016-11-07 20:15 ` Burton, Ross
2016-11-07 20:21   ` Burton, Ross
2016-11-12 18:31     ` Marek Vasut
2016-11-14 14:45       ` Burton, Ross
2016-11-14 14:48         ` Marek Vasut
2016-11-07 20:43 ` Jussi Kukkonen
2016-11-08 14:49   ` Marek Vasut
2016-11-09  0:15 ` Burton, Ross
2016-11-09  0:43   ` Khem Raj [this message]
2016-11-09  0:45     ` Burton, Ross
2016-11-09  2:22       ` Gary Thomas
2016-11-12 18:31   ` Marek Vasut
  -- strict thread matches above, loose matches on Subject: below --
2016-11-02 12:07 Marek Vasut
2016-11-02 14:44 ` André Draszik
2016-11-02 14:48 ` Burton, Ross
2016-11-02 19:40   ` Marek Vasut
2016-11-02 23:06     ` Burton, Ross
2016-11-04 11:06       ` Stefan Müller-Klieser

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=03d91527-2e2f-0694-8339-22fe7158880e@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=marex@denx.de \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@intel.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox