All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Chen Qi" <Qi.Chen@windriver.com>
To: Bruce Ashfield <bruce.ashfield@gmail.com>
Cc: Ross Burton <ross@burtonini.com>,
	Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [RFC PATCH 2/3] tcmode-default: use go-binary-native by default
Date: Thu, 13 Aug 2020 10:07:38 +0800	[thread overview]
Message-ID: <007f3bff-ecf0-6c41-44cd-149def9eb74a@windriver.com> (raw)
In-Reply-To: <CADkTA4Nb8P3SV9JdB71w_6BJPHnefkGYPDChE0+L=5VyOsB8PA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3080 bytes --]

On 08/13/2020 01:13 AM, Bruce Ashfield wrote:
>
>
> On Wed, Aug 12, 2020 at 5:25 AM Chen Qi <Qi.Chen@windriver.com 
> <mailto:Qi.Chen@windriver.com>> wrote:
>
>     Hi Ross,
>
>     I've just tracked down to this patch about k8s build failure for arm.
>     I'm now setting the preferred provider to 'go-native' to avoid k8s
>     build regression.
>
>     go-native contains patches like
>     0001-allow-CC-and-CXX-to-have-multiple-words.patch.
>     These patches seem to make sense.
>
>     Do you have any idea how to deal with such situation?
>
>
> We've had lots of problems with 32bit arm and the new go compiler. I 
> just confirmed that k8s still builds 64 bit.
>
> And if this is the gnu-stubs.h issue, it's the same thing.
>
> It might be time to just exclude 32bit arm from some of the bigger 
> stack in meta-virt, since getting them to respect the cross go 
> compiler is getting harder and harder.
>
> That being said, I hunted down a few more incorrect 'go' calls in the 
> k8s build scripts, and can now build 32 bit again. But as for runtime, 
> I can't say if it works or not.
>

That's good news :)
But for excluding 32bit arm support, I have some doubt. Because as far 
as I know, there are some 32bit arm BSPs that are in use, e.g. 
xilinx-zynq and ti-am335x.

Best Regards,
Chen Qi

> Once I complete builds on other archs, I'll push the change to meta-virt.
>
> Bruce
>
>
>
>     Best Regards,
>     Chen Qi
>
>     On 06/17/2020 01:05 AM, Ross Burton wrote:
>>     From: Ross Burton<ross.burton@arm.com> <mailto:ross.burton@arm.com>
>>
>>     go-binary-native is faster and more portable than go-native, so use it
>>     by default.
>>
>>     Signed-off-by: Ross Burton<ross.burton@arm.com> <mailto:ross.burton@arm.com>
>>     ---
>>       meta/conf/distro/include/tcmode-default.inc | 4 ++++
>>       1 file changed, 4 insertions(+)
>>
>>     diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
>>     index ab4333144b..7103e10d3b 100644
>>     --- a/meta/conf/distro/include/tcmode-default.inc
>>     +++ b/meta/conf/distro/include/tcmode-default.inc
>>     @@ -66,6 +66,10 @@ PREFERRED_VERSION_qemu ?= "${QEMUVERSION}"
>>       PREFERRED_VERSION_qemu-native ?= "${QEMUVERSION}"
>>       PREFERRED_VERSION_nativesdk-qemu ?= "${QEMUVERSION}"
>>       
>>     +# Bootstrap Go using a binary release fromgolang.org <http://golang.org>.  If you want to bootstrap
>>     +# from source using the C-implemented Go 1.4 (only supports x86-64 hosts) then use
>>     +# go-native.
>>     +PREFERRED_PROVIDER_go-native ?= "go-binary-native"
>>       PREFERRED_VERSION_virtual/${TARGET_PREFIX}go ?= "${GOVERSION}"
>>       PREFERRED_VERSION_go-cross-${TUNE_PKGARCH} ?= "${GOVERSION}"
>>       PREFERRED_VERSION_go-crosssdk-${SDK_ARCH} ?= "${GOVERSION}"
>>
>>
>
>     
>
>
>
> -- 
> - Thou shalt not follow the NULL pointer, for chaos and madness await 
> thee at its end
> - "Use the force Harry" - Gandalf, Star Trek II
>


[-- Attachment #2: Type: text/html, Size: 6425 bytes --]

  reply	other threads:[~2020-08-13  2:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-16 17:05 [RFC PATCH 1/3] go-binary-native: add binary Go to bootstrap Ross Burton
2020-06-16 17:05 ` [RFC PATCH 2/3] tcmode-default: use go-binary-native by default Ross Burton
2020-08-12  9:30   ` [OE-core] " Chen Qi
2020-08-12 17:13     ` Bruce Ashfield
2020-08-13  2:07       ` Chen Qi [this message]
2020-06-16 17:05 ` [RFC PATCH 3/3] go-native: merge bb/inc and add comment Ross Burton

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=007f3bff-ecf0-6c41-44cd-149def9eb74a@windriver.com \
    --to=qi.chen@windriver.com \
    --cc=bruce.ashfield@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross@burtonini.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.