Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH V2] Add Xen 4.6
Date: Wed, 30 Mar 2016 09:30:50 +0200	[thread overview]
Message-ID: <56FB80AA.1050407@mind.be> (raw)
In-Reply-To: <74004942B5DA03468B2B76399A14BF2E7DB1003D@XSJ-PSEXMBX01.xlnx.xilinx.com>



On 03/30/16 01:37, Alistair Francis wrote:
>> -----Original Message-----
>> From: Arnout Vandecappelle [mailto:arnout at mind.be]
>> Sent: Tuesday, 29 March 2016 12:26 PM
>> To: Alistair Francis <alistai@xilinx.com>
>> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>;
>> buildroot at buildroot.org; maxime.ripard at free-electrons.com
>> Subject: Re: [PATCH V2] Add Xen 4.6
>>
>> On 03/28/16 20:59, Alistair Francis wrote:
>>> On Sun, Mar 27, 2016 at 5:54 AM, Arnout Vandecappelle<arnout@mind.be>
>> wrote:
>> [snip]
>>>>>   For some reason, it doesn't seem to be cross-compiling for me, it uses
>>>>> "gcc" to build. I think you need to pass TARGET_CONFIGURE_OPTS in
>>>>> XEN_MAKE_ENV.
>>> I see the same problem. I tried using TARGET_CONFIGURE_OPTS in
>>> XEN_MAKE_ENV but it still uses GCC.
>>>
>>> The configure scripts detects an AArch64 target correctly, but it
>>> still uses GCC. Any other ideas?
>>
>>    Try passing CROSS_COMPILE in XEN_MAKE_ENV.
>>
>>    You may also need to set XEN_TARGET_ARCH, AFAICS it is not derived
>> automatically.
>
> Sorry for the poorly formatted reply, I am sending this from my work email.
>
> I managed to get it to use aarch64-buildroot-linux-gnu-gcc using the
> CROSS_COMPILE=$(TARGET_CROSS) option , but now I see a lot of
> errors as apparently that version of GCC doesn't understand a lot of the
> command line options.
>
> Any idea why that would be? The GCC version is 4.9.3 which should be new enough.

  Can you put the build log in a pastebin and post it on the list? It's 
difficult to say anything just like this...

  Did you also pass XEN_TARGET_ARCH?

  Regards,
  Arnout

-- 
Arnout Vandecappelle      arnout dot vandecappelle at essensium dot com
Senior Embedded Software Architect . . . . . . +32-478-010353 (mobile)
Essensium, Mind division . . . . . . . . . . . . . . http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium . . . . . BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

  reply	other threads:[~2016-03-30  7:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-09  0:35 [Buildroot] [PATCH V2] Add Xen 4.6 Alistair Francis
2016-03-27 12:54 ` Arnout Vandecappelle
2016-03-28 18:59   ` Alistair Francis
2016-03-29 19:25     ` Arnout Vandecappelle
2016-03-29 23:37       ` Alistair Francis
2016-03-30  7:30         ` Arnout Vandecappelle [this message]
2016-04-04 23:45           ` Alistair Francis

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=56FB80AA.1050407@mind.be \
    --to=arnout@mind.be \
    --cc=buildroot@busybox.net \
    /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