diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2018-04-11 11:32:52 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-04-13 16:58:07 +0100 |
commit | f6d8c3f88504307da2123b6da2b010e29bc79eed (patch) | |
tree | 0a4f330ce37b369cf5703dbf71eb43fd3b3a651b | |
parent | 16174d9342f2c0ed376d8e797e8a7f04ed04f57c (diff) | |
download | poky-f6d8c3f88504307da2123b6da2b010e29bc79eed.tar.gz |
distro: default: Change Go default version to 1.9
For the time being, there is a serious bug[1] in Go 1.10 when it comes to
use the shared runtime support which cases problems in multiple projects.
1. https://github.com/golang/go/issues/24640
It is still unclear if the problem arises from a bug inside the
compiler itself or it makes a real problem more visible. Either way,
using 1.10 as default seems to be a risk so we are changing back to
1.9 for now.
Refs: [YOCTO: #12631]
(From OE-Core rev: c5b5055d2dc04317a7a64c150046a6435a6805c2)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/conf/distro/include/tcmode-default.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index 7862edb633..00399ae820 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc | |||
@@ -72,7 +72,7 @@ PREFERRED_VERSION_nativesdk-qemu ?= "${QEMUVERSION}" | |||
72 | # Setup suitable toolchain flags | 72 | # Setup suitable toolchain flags |
73 | require conf/distro/include/as-needed.inc | 73 | require conf/distro/include/as-needed.inc |
74 | 74 | ||
75 | GOVERSION ?= "1.10%" | 75 | GOVERSION ?= "1.9%" |
76 | PREFERRED_VERSION_virtual/${TARGET_PREFIX}go ?= "${GOVERSION}" | 76 | PREFERRED_VERSION_virtual/${TARGET_PREFIX}go ?= "${GOVERSION}" |
77 | PREFERRED_VERSION_go-cross-${TARGET_ARCH} ?= "${GOVERSION}" | 77 | PREFERRED_VERSION_go-cross-${TARGET_ARCH} ?= "${GOVERSION}" |
78 | PREFERRED_VERSION_go-crosssdk-${SDK_ARCH} ?= "${GOVERSION}" | 78 | PREFERRED_VERSION_go-crosssdk-${SDK_ARCH} ?= "${GOVERSION}" |