Skip to content

Commit

Permalink
distro: default: Change Go default version to 1.9
Browse files Browse the repository at this point in the history
Source: poky
MR: 00000
Type: Integration
Disposition: Merged from poky
ChangeID: f6d8c3f
Description:

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. golang/go#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>
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
  • Loading branch information
otavio authored and jpuhlman committed Apr 21, 2018
1 parent 1bfd840 commit 28e2347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta/conf/distro/include/tcmode-default.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 28e2347

Please sign in to comment.