]> code.ossystems Code Review - openembedded-core.git/commitdiff
distro: default: Change Go default version to 1.9
authorOtavio Salvador <otavio@ossystems.com.br>
Wed, 11 Apr 2018 14:32:52 +0000 (11:32 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 Apr 2018 15:55:26 +0000 (16:55 +0100)
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]

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/conf/distro/include/tcmode-default.inc

index 7862edb6333a7fe7bf155cab8465a78f7b3fcb06..00399ae820c9f3892ea029a1cd850b4a44a2ee7e 100644 (file)
@@ -72,7 +72,7 @@ PREFERRED_VERSION_nativesdk-qemu ?= "${QEMUVERSION}"
 # Setup suitable toolchain flags
 require conf/distro/include/as-needed.inc
 
-GOVERSION ?= "1.10%"
+GOVERSION ?= "1.9%"
 PREFERRED_VERSION_virtual/${TARGET_PREFIX}go ?= "${GOVERSION}"
 PREFERRED_VERSION_go-cross-${TARGET_ARCH} ?= "${GOVERSION}"
 PREFERRED_VERSION_go-crosssdk-${SDK_ARCH} ?= "${GOVERSION}"