On Thu, Feb 3, 2022 at 3:25 AM Richard Purdie
wrote:
>
> Target build output, stored in do_populate_sysroot or do_package can depend
> not only upon direct dependencies but also indirect ones. A good example is
> linux-libc-headers. The toolchain depends on this but most target recipes do
> not.
On Tue, Dec 21, 2021 at 10:15 AM Matt Madison via
lists.openembedded.org
wrote:
>
> On Tue, Dec 21, 2021 at 6:07 AM Paul Barker wrote:
> >
> > On 20/12/2021 22:34, Richard Purdie wrote:
> > > On Mon, 2021-12-20 at 17:01 +, Paul Barker wrote:
> > >>
On Sun, Jan 9, 2022 at 5:52 AM Peter Kjellerstedt
wrote:
>
> > -Original Message-
> > From: Matt Madison
> > Sent: den 9 januari 2022 13:04
> > To: Peter Kjellerstedt
> > Cc: Konrad Weihmann ; Richard Purdie
> > ; Patches and discussions about the
> > Cc: Patches and discussions about the oe-core layer > c...@lists.openembedded.org>
> > Subject: Re: [OE-core][PATCH] qemu.bbclass: drop OLDEST_KERNEL reference
> >
> > On 08.01.22 16:13, Richard Purdie wrote:
> > > On Sat, 2022-01-08 at 07:10 -0800,
On Sat, Jan 8, 2022 at 6:34 AM Richard Purdie
wrote:
>
> On Fri, 2022-01-07 at 06:44 -0800, Matt Madison wrote:
> > On Fri, Jan 7, 2022 at 4:56 AM Richard Purdie
> > wrote:
> > >
> > > On Fri, 2022-01-07 at 12:51 +, Richard Purdie via
> > > lists
On Fri, Jan 7, 2022 at 4:56 AM Richard Purdie
wrote:
>
> On Fri, 2022-01-07 at 12:51 +, Richard Purdie via lists.openembedded.org
> wrote:
> > On Fri, 2022-01-07 at 04:36 -0800, Matt Madison wrote:
> > > On Fri, Jan 7, 2022 at 3:19 AM Richard Purdie
> > > wr
On Fri, Jan 7, 2022 at 3:19 AM Richard Purdie
wrote:
>
> On Wed, 2021-12-15 at 12:16 -0800, Matt Madison wrote:
> > which is introducing task hash changes for some
> > allarch package builds, and should no longer
> > be needed with recent versions of qemu.
> >
&
On Sat, Jan 1, 2022 at 3:30 AM Alexander Kanavin wrote:
>
> This cannot be right: what we install for the target should not
> depend on what host it's being built on. If this was fixing
> some problem, there needs to be a different solution.
IIRC, I added this because the go toolchain doesn't
On Tue, Dec 21, 2021 at 6:07 AM Paul Barker wrote:
>
> On 20/12/2021 22:34, Richard Purdie wrote:
> > On Mon, 2021-12-20 at 17:01 +, Paul Barker wrote:
> >> On 17/12/2021 15:36, Matt Madison wrote:
> >>> This patch series switches to using the OE_IMPOR
021 at 18:37, Matt Madison wrote:
>>
>> to install the crate:// fetch handler.
>>
>> Signed-off-by: Matt Madison
>> ---
>> meta/classes/base.bbclass | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/classes/base.bb
On Sun, Dec 19, 2021 at 3:36 PM Richard Purdie
wrote:
>
> On Wed, 2021-12-15 at 12:16 -0800, Matt Madison wrote:
> > which is introducing task hash changes for some
> > allarch package builds, and should no longer
> > be needed with recent versions of qemu.
> >
&
On Thu, Dec 16, 2021 at 9:09 AM Matt Madison via
lists.openembedded.org
wrote:
>
> On Thu, Dec 16, 2021 at 7:53 AM Matt Madison via
> lists.openembedded.org
> wrote:
> >
> > On Thu, Dec 16, 2021 at 6:47 AM Joshua Watt wrote:
> > >
> > > On Wed, D
No longer required now that the crate fetcher
gets installed via OE_IMPORTS.
Signed-off-by: Matt Madison
---
meta/classes/crate-fetch.bbclass | 28
1 file changed, 28 deletions(-)
delete mode 100644 meta/classes/crate-fetch.bbclass
diff --git a/meta/classes/crate
to install the crate:// fetch handler.
Signed-off-by: Matt Madison
---
meta/classes/base.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index b709777f24..ee9950f207 100644
--- a/meta/classes/base.bbclass
+++ b
No longer needed now that the crate fetcher is
installed via OE_IMPORTS.
Signed-off-by: Matt Madison
---
meta/classes/cargo_common.bbclass | 2 --
1 file changed, 2 deletions(-)
diff --git a/meta/classes/cargo_common.bbclass
b/meta/classes/cargo_common.bbclass
index 23d82aa6ab..c403591434
This patch series switches to using the OE_IMPORTS mechanism
for installing the crate fetcher. This simplifies the addition
and clears up issues with interactions between SRCPV and
the shared-state fetching logic.
Matt Madison (4):
lib/crate.py: install crate fetcher on import
base.bbclass
to enable the move to using OE_IMPORTS for adding
this fetcher.
Signed-off-by: Matt Madison
---
meta/lib/crate.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/lib/crate.py b/meta/lib/crate.py
index d10f441875..f9db7c28cd 100644
--- a/meta/lib/crate.py
+++ b/meta/lib/crate.py
On Thu, Dec 16, 2021 at 7:53 AM Matt Madison via
lists.openembedded.org
wrote:
>
> On Thu, Dec 16, 2021 at 6:47 AM Joshua Watt wrote:
> >
> > On Wed, Dec 15, 2021 at 8:16 AM Matt Madison wrote:
> > >
> > > I'm finding that none of the Rust recipes are getti
On Thu, Dec 16, 2021 at 6:47 AM Joshua Watt wrote:
>
> On Wed, Dec 15, 2021 at 8:16 AM Matt Madison wrote:
> >
> > I'm finding that none of the Rust recipes are getting setscened in my
> > builds off
> > master due to the the SRCPV hack that was added to make
which enables us to drop the -r option on qemu-static-riscv32
invocations.
Signed-off-by: Matt Madison
---
meta/recipes-devtools/qemu/qemu.inc | 1 +
...s-minimum-kernel-version-for-riscv32.patch | 40 +++
2 files changed, 41 insertions(+)
create mode 100644
meta
patch to set minimum kernel version for riscv32.
With this patch, qemu for all supported archs should have a built-in
oldest kernel setting, eliminating the need for putting it on the
command line.
Matt Madison (2):
qemu.bbclass: drop OLDEST_KERNEL reference
qemu: add patch to set
which is introducing task hash changes for some
allarch package builds, and should no longer
be needed with recent versions of qemu.
Signed-off-by: Matt Madison
---
meta/classes/qemu.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/qemu.bbclass b/meta
On Wed, Dec 15, 2021 at 12:24 PM Khem Raj wrote:
>
>
>
> On 12/15/21 12:16 PM, Matt Madison wrote:
> > which is introducing task hash changes for some
> > allarch package builds, and should no longer
> > be needed with recent versions of qemu.
> >
>
> T
which is introducing task hash changes for some
allarch package builds, and should no longer
be needed with recent versions of qemu.
Signed-off-by: Matt Madison
---
meta/classes/qemu.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/qemu.bbclass b/meta
I'm finding that none of the Rust recipes are getting setscened in my builds off
master due to the the SRCPV hack that was added to make the cargo fetcher
visible during parsing. There's no error reported about it, but by adding an
exception handler into the sstate code I tracked it down to
On Fri, Dec 3, 2021 at 11:13 PM Alexander Kanavin
wrote:
> This replaces the specific gtkdoc wrapper setting
> (which was rejected by upstream in
> https://github.com/mesonbuild/meson/pull/9627)
> with a generic, officially supported and documented exe_wrapper,
> which is enabled subject to qemu
get processed
before the TARGET_ARCH changes in allarch.
Use an ordinary += assignment to fix this.
Signed-off-by: Matt Madison
---
meta/classes/autotools.bbclass | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/meta/classes/autotools.bbclass b/meta/classes
) !=
dc2ecf9029a051f391760e3317c8fc538d8640f2145af4dd1740db5a227b571a (qemux86)
Switching to a regular assignment, instead of using anonymous python, looks
like the
right solution.
Matt Madison (1):
autotools.bbclass: use ordinary append for file-checksums update
meta/classes/autotools.bbclass | 5 +
1 file changed, 1
so an explicit runtime dependency on one of the library
packages doesn't generate a message about libxcb and
libxcb-native both being providers.
Signed-off-by: Matt Madison
---
meta/recipes-graphics/xorg-lib/libxcb_1.14.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
I run my CI autobuilders on Ubuntu 20.04 servers, which generate sstate that I
mirror out to my development machine, which runs Ubuntu 20.10. That used to
work fine - everything would setscene in as expected. For some time now,
though, I see just about everything setscene in, and then
On Tue, Feb 9, 2021 at 6:34 AM Richard Purdie <
richard.pur...@linuxfoundation.org> wrote:
> The original patch contained some text which shouldn't have been there
> and used brackets in configure which isn't a great idea. Tweak the patch
> to resolve this.
>
> Signed-off-by: Richard Purdie
>
iate '!=' comparison
operator.
Signed-off-by: Matt Madison
---
meta/conf/layer.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
index 2d9cd05695..cda37c33b4 100644
--- a/meta/conf/layer.conf
+++ b/meta/conf/layer.c
to restore the intent of
making it a fallback for when there is no git timestamp to
retrieve.
Signed-off-by: Matt Madison
---
meta/classes/image.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 3b5600e550
on libxi, which is not actually needed.
The missing dependency doesn't cause problems in most cases,
since mesa also depends on libxdamage, but when an alternative
opengl implementation such as libglvnd is used, cogl fails
to configure.
Signed-off-by: Matt Madison
---
meta/recipes-graphics/cogl/cogl
for builds with a large modules package.
Signed-off-by: Matt Madison
---
meta/classes/kernel.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 301e3b86b2..aef5e97892 100644
--- a/meta/classes/kernel.bbclass
On Wed, Aug 7, 2019 at 10:36 PM Changqing Li wrote:
>
>
> On 8/7/19 10:16 PM, Richard Purdie wrote:
> > On Wed, 2019-08-07 at 10:35 +0800, Changqing Li wrote:
> >> On 8/6/19 6:47 PM, Richard Purdie wrote:
> >>> On Tue, 2019-08-06 at 14:54 +0800, changqing...@windriver.com
> >>> wrote:
>
On Wed, Jul 3, 2019 at 2:25 AM wrote:
>
> From: Mingli Yu
>
> Remove the ptest bbclass inherit logic to let
> each recipe inherit ptest individually if the
> specified recipe wants to support ptest to avoid
> the recipe which inherits go bblcass inheriting
> ptest automatically.
Recipes will
On Sun, Jun 30, 2019 at 6:59 PM Yu, Mingli wrote:
>
>
>
> On 2019年06月28日 19:02, Richard Purdie wrote:
> > On Fri, 2019-06-28 at 00:57 -0700, mingli...@windriver.com wrote:
> >> From: Mingli Yu
> >>
> >> The run-ptest logic for go-dep actually runs the
> >>
On Wed, Jun 26, 2019 at 11:40 PM Yu, Mingli wrote:
>
>
>
> On 2019年06月26日 22:00, Matt Madison wrote:
> > On Wed, Jun 26, 2019 at 2:02 AM Yu, Mingli wrote:
> >>
> >>
> >>
> >> On 2019年06月25日 20:23, Matt Madison wrote:
> >
On Wed, Jun 26, 2019 at 2:02 AM Yu, Mingli wrote:
>
>
>
> On 2019年06月25日 20:23, Matt Madison wrote:
> > On Fri, Jun 21, 2019 at 2:08 AM Yu, Mingli wrote:
> >>
> >> Hi Matt,
> >>
> >> I noticed your commit is the latest update for go-d
C
> root@qemux86-64:/usr/lib64/go-dep/ptest# ./run-ptest
> building testdep failed: exit status 1
> can't load package: package .: no Go files in
> /usr/lib64/go-dep/ptest/github.com/golang/dep/cmd/dep
> root@qemux86-64:/usr/lib64/go-dep/ptest#
>
> Thanks,
>
> On 2018年03月05日 0
The script needs to be executable so the service doesn't
fail.
Signed-off-by: Matt Madison
---
meta/recipes-devtools/apt/apt-package.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/apt/apt-package.inc
b/meta/recipes-devtools/apt/apt-package.inc
do_create_extlinux_config performs its own override processing
for several variables, so we have to explicitly add the label-
suffixed variable names to its vardeps to make sure that changes
get detected.
Signed-off-by: Matt Madison
---
meta/classes/uboot-extlinux-config.bbclass | 2 ++
1 file
On Thu, Dec 20, 2018 at 6:02 AM Damien Riegel wrote:
>
> On Thu, 20 Dec 2018 at 07:53, Matt Madison wrote:
> >
> > On Wed, Dec 19, 2018 at 5:52 PM Damien Riegel
> > wrote:
> > >
> > > On Wed, 19 Dec 2018 at 16:41, Matt Madison wrote:
> > &g
On Wed, Dec 19, 2018 at 5:52 PM Damien Riegel wrote:
>
> On Wed, 19 Dec 2018 at 16:41, Matt Madison wrote:
> >
> > On Wed, Dec 19, 2018 at 9:51 AM Damien Riegel
> > wrote:
> > >
> > > To package a go application in Yocto, one needs to also packag
On Wed, Dec 19, 2018 at 9:51 AM Damien Riegel wrote:
>
> To package a go application in Yocto, one needs to also package its
> dependencies to keep the build reproducible and under control. The
> default install task of the go class puts the source in ${libdir}/go/src.
>
> ${libdir}/go/src is
When running the make.bash script to build the host-side
tools, make sure that cgo is using CFLAGS and LDFLAGS for
the build host, rather than those for the target.
[YOCTO #12704]
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/recipes-devtools/go/go-runtime_1.9.bb | 2 +-
I've got a handle on the go-runtime issue, will send a patch shortly.
-Matt
On Sat, Apr 21, 2018 at 3:02 AM, Burton, Ross wrote:
> Good news is that went green, so the problem is restricted to
> CC_FOR_BUILD usage I guess.
>
> Ross
>
> On 21 April 2018 at 09:09, Burton,
On Fri, Mar 16, 2018 at 5:57 AM, Otavio Salvador
wrote:
> To use 'glide' this class does the integration and reduces code
> duplication.
>
> Signed-off-by: Otavio Salvador
> ---
>
> meta/classes/glide.bbclass | 9 +
> 1 file changed, 9
fixes to the compiler,
runtime, and the database/sql, math/big, net/http, and net/url
packages.
- go1.9.4 (released 2018/02/07) includes a security fix to “go get”.
Signed-off-by: Otavio Salvador <ota...@ossystems.com.br>
Signed-off-by: Ross Burton <ross.bur...@intel.com>
Signed-off-by:
One of the changes included in this point release update
fixes an issue with the construction of Go's shared runtim
library, so it would be great to backport this to rocko
to fix [YOCTO 12592].
Thanks,
-Matt
Otavio Salvador (1):
go: Upgrade 1.9 to 1.9.4 stable release
gt;>> On Sat, Mar 3, 2018 at 4:59 PM, Khem Raj <raj.k...@gmail.com> wrote:
>>>> On Sat, Mar 3, 2018 at 9:44 AM, Matt Madison <matt@madison.systems> wrote:
>>>>> Since it looks like I'll have to do a v5 on my series anyway, I can
>>>>> pull in
to allow GOVERSION to be set for using an older
go toolchain.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/conf/distro/include/tcmode-default.inc | 10 ++
1 file changed, 10 insertions(+)
diff --git a/meta/conf/distro/include/tcmode-default.inc
b/meta/conf/distro/i
since GO_LDFLAGS is also used by the dist tool, and it's confusing
to use a variable with the same name (but not exported, so unused
by make.bash/dist).
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/recipes-devtools/go/go-runtime.inc | 6 ++
1 file changed, 2 insertions
The statically-linked Go code in the toolchain is not compatible
with PIE, so disable its use in the C compiler during the
toolchain build.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/recipes-devtools/go/go-cross-canadian.inc| 6 +++---
meta/recipes-devtools/go/go
With go1.10 the NOPIE flags are only required for
MIPS target builds, and are now incompatible for
the other architectures.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/classes/go.bbclass | 3 ---
meta/classes/goarch.bbclass | 2 ++
2 files changed, 2 insertions
While useful on embedded devices for saving disk space, use
of shared runtime in Go is not the usual practice, so disable
it for nativesdk builds. We don't use it for native builds,
either, so this makes the SDK match the native environment
more closely.
Signed-off-by: Matt Madison <m
Eliminate some redundancy in the recipes by moving
some commonly-used variable settings to the common
include file. Also removed a duplicate inherit
from go-target.inc that was already in go-common.inc.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/recipes-devtools
to allow go programs to be linked either statically or
dynamically when cross-compiling with the SDK.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/recipes-core/packagegroups/packagegroup-go-sdk-target.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipe
The 'go env' in the do_compile function and
the set -x/+x in the do_install_ptest function
were used for debugging the bbclass, and aren't
really needed.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/classes/go.bbclass | 3 ---
1 file changed, 3 deletions(-)
diff --git
handle large numbers of tests, and to generate
'status: test name' output similar to Automake
tests.
* Install all non-vendored 'testdata' directories
from the source into the ptest package, as some
packages share test data among multiple tests.
Signed-off-by: Matt Madison <m
Any directory in a Go package's source tree called
'testdata' contains test data, and isn't necessary
for building.
Some packages include ELF files and other binaries
as test data, and staging them in the sysroot and
-dev package leads to unnecessary QA warnings.
Signed-off-by: Matt Madison
and export it. Go 1.10 now supports using this
separate variable locating its temporary files.
TMPDIR is still set, for compatibility with go1.9;
that can be dropped once 1.9 is retired.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/classes/go.bbclass | 13 +++--
Go 1.10 adds support for selecting hard/soft float
object code through the GOMIPS environment variable.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/classes/goarch.bbclass| 11 +++
meta/recipes-devtools/go/go-cross-canadian.inc | 1 +
meta/r
introduces significant changes to the go build
tool as well, requiring some further patches to make
it work for OE builds.
See https://golang.org/doc/go1.10 for a complete list
of new features and changes.
Following the update are some cleanup/improvement
patches.
Matt Madison (13):
go: update go 1.9
packaging QA warnings
* Set GOCACHE to 'off' to disable 1.10's build caching
in the go recipes and bbclass
* Update go_do_compile to compile both static and
dynamic objects dynamic linking is in use, since
go1.10's build tool is pickier about this
Signed-off-by: Matt Madison <matt@madison.syst
On Sat, Mar 3, 2018 at 8:40 AM, Khem Raj <raj.k...@gmail.com> wrote:
>
>
> On 3/2/18 12:33 PM, Matt Madison wrote:
>>
>> New in v4:
>> * updated the go source patch to protect
>>GOROOT to defer generating an error
>>until a build a
On Sat, Mar 3, 2018 at 8:53 AM, Richard Purdie
<richard.pur...@linuxfoundation.org> wrote:
> On Fri, 2018-03-02 at 12:33 -0800, Matt Madison wrote:
>> New in v4:
>> * updated the go source patch to protect
>> GOROOT to defer generating an error
>>
This was another setting left over from debugging the
recipes, and isn't needed by default.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/recipes-devtools/go/go-cross-canadian.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/go/go
since GO_LDFLAGS is also used by the dist tool, and it's confusing
to use a variable with the same name (but not exported, so unused
by make.bash/dist).
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/recipes-devtools/go/go-runtime.inc | 6 ++
1 file changed, 2 insertions
to allow go programs to be linked either statically or
dynamically when cross-compiling with the SDK.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/recipes-core/packagegroups/packagegroup-go-sdk-target.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipe
Eliminate some redundancy in the recipes by moving
some commonly-used variable settings to the common
include file. Also removed a duplicate inherit
from go-target.inc that was already in go-common.inc.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/recipes-devtools
While useful on embedded devices for saving disk space, use
of shared runtime in Go is not the usual practice, so disable
it for nativesdk builds. We don't use it for native builds,
either, so this makes the SDK match the native environment
more closely.
Signed-off-by: Matt Madison <m
The statically-linked Go code in the toolchain is not compatible
with PIE, so disable its use in the C compiler during the
toolchain build.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/recipes-devtools/go/go-cross-canadian.inc | 6 +++---
meta/recipes-devtools/go/go-targ
handle large numbers of tests, and to generate
'status: test name' output similar to Automake
tests.
* Install all non-vendored 'testdata' directories
from the source into the ptest package, as some
packages share test data among multiple tests.
Signed-off-by: Matt Madison <m
With go1.10 the NOPIE flags are only required for
MIPS target builds, and are now incompatible for
the other architectures.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/classes/go.bbclass | 3 ---
meta/classes/goarch.bbclass | 1 +
2 files changed, 1 insertion(+), 3 del
Any directory in a Go package's source tree called
'testdata' contains test data, and isn't necessary
for building.
Some packages include ELF files and other binaries
as test data, and staging them in the sysroot and
-dev package leads to unnecessary QA warnings.
Signed-off-by: Matt Madison
The 'go env' in the do_compile function and
the set -x/+x in the do_install_ptest function
were used for debugging the bbclass, and aren't
really needed.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/classes/go.bbclass | 3 ---
1 file changed, 3 deletions(-)
diff --git
list
of new features and changes.
Following the update are some cleanup/improvement
patches.
Matt Madison (13):
go: update go 1.9 -> go 1.10
go: set GOMIPS envrionment variable
go.bbclass: rename GO_TMPDIR -> GOTMPDIR
go.bbclass: remove debug-related commands
go.bbclass: don't stag
and export it. Go 1.10 now supports using this
separate variable locating its temporary files,
so TMPDIR doesn't have to be modified.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/classes/go.bbclass | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff
Go 1.10 adds support for selecting hard/soft float
object code through the GOMIPS environment variable.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/classes/goarch.bbclass| 11 +++
meta/recipes-devtools/go/go-cross-canadian.inc | 1 +
meta/r
packaging QA warnings
* Set GOCACHE to 'off' to disable 1.10's build caching
in the go recipes and bbclass
* Update go_do_compile to compile both static and
dynamic objects dynamic linking is in use, since
go1.10's build tool is pickier about this
Signed-off-by: Matt Madison <matt@madison.syst
On Thu, Mar 1, 2018 at 10:10 PM, Khem Raj <raj.k...@gmail.com> wrote:
> On Thu, Mar 1, 2018 at 9:43 PM, Khem Raj <raj.k...@gmail.com> wrote:
>>
>>
>> On 3/1/18 3:16 PM, Matt Madison wrote:
>>>
>>> New in v3:
>>> * reduced one of the
This was another setting left over from debugging the
recipes, and isn't needed by default.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/recipes-devtools/go/go-cross-canadian.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/go/go
to allow go programs to be linked either statically or
dynamically when cross-compiling with the SDK.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/recipes-core/packagegroups/packagegroup-go-sdk-target.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipe
since GO_LDFLAGS is also used by the dist tool, and it's confusing
to use a variable with the same name (but not exported, so unused
by make.bash/dist).
---
meta/recipes-devtools/go/go-runtime.inc | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git
With go1.10 the NOPIE flags are only required for
MIPS target builds, and are now incompatible for
the other architectures.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/classes/go.bbclass | 3 ---
meta/classes/goarch.bbclass | 1 +
2 files changed, 1 insertion(+), 3 del
The statically-linked Go code in the toolchain is not compatible
with PIE, so disable its use in the C compiler during the
toolchain build.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/recipes-devtools/go/go-cross-canadian.inc | 6 +++---
meta/recipes-devtools/go/go-targ
Eliminate some redundancy in the recipes by moving
some commonly-used variable settings to the common
include file. Also removed a duplicate inherit
from go-target.inc that was already in go-common.inc.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/recipes-devtools
and export it. Go 1.10 now supports using this
separate variable locating its temporary files,
so TMPDIR doesn't have to be modified.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/classes/go.bbclass | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff
While useful on embedded devices for saving disk space, use
of shared runtime in Go is not the usual practice, so disable
it for nativesdk builds. We don't use it for native builds,
either, so this makes the SDK match the native environment
more closely.
Signed-off-by: Matt Madison <m
handle large numbers of tests, and to generate
'status: test name' output similar to Automake
tests.
* Install all non-vendored 'testdata' directories
from the source into the ptest package, as some
packages share test data among multiple tests.
Signed-off-by: Matt Madison <m
Any directory in a Go package's source tree called
'testdata' contains test data, and isn't necessary
for building.
Some packages include ELF files and other binaries
as test data, and staging them in the sysroot and
-dev package leads to unnecessary QA warnings.
Signed-off-by: Matt Madison
Go 1.10 adds support for selecting hard/soft float
object code through the GOMIPS environment variable.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/classes/goarch.bbclass| 11 +++
meta/recipes-devtools/go/go-cross-canadian.inc | 1 +
meta/r
The 'go env' in the do_compile function and
the set -x/+x in the do_install_ptest function
were used for debugging the bbclass, and aren't
really needed.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/classes/go.bbclass | 3 ---
1 file changed, 3 deletions(-)
diff --git
packaging QA warnings
* Set GOCACHE to 'off' to disable 1.10's build caching
in the go recipes and bbclass
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/classes/go.bbclass| 2 +
meta/recipes-devtools/go/go-1.10.inc | 21 ++
...1-al
of new features and changes.
Following the update are some cleanup/improvement
patches.
Matt Madison (13):
go: update go 1.9 -> go 1.10
go: set GOMIPS envrionment variable
go.bbclass: rename GO_TMPDIR -> GOTMPDIR
go.bbclass: remove debug-related commands
go.bbclass: don't stage tes
On Wed, Feb 28, 2018 at 11:48 AM, Khem Raj <raj.k...@gmail.com> wrote:
> On Tue, Feb 27, 2018 at 4:36 AM, Matt Madison <matt@madison.systems> wrote:
>> * Patches and recipes reworked for go 1.10's significant
>> changes to its bootstrap and build steps
>>
>
Looks like a multilib issue. I'll fix it up and send out a v3.
Thanks,
-Matt
On Wed, Feb 28, 2018 at 3:44 AM, Richard Purdie
wrote:
> On Wed, 2018-02-28 at 08:42 -0300, Otavio Salvador wrote:
>> On Wed, Feb 28, 2018 at 8:37 AM, Richard Purdie
>>
The 'go env' in the do_compile function and
the set -x/+x in the do_install_ptest function
were used for debugging the bbclass, and aren't
really needed.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/classes/go.bbclass | 3 ---
1 file changed, 3 deletions(-)
diff --git
1 - 100 of 202 matches
Mail list logo