<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-virtualization.git/recipes-devtools/go-cross/go-native.inc, branch container-cross-install</title>
<subtitle>Mirror of git.yoctoproject.org/meta-virtualization</subtitle>
<id>https://git.enea.com/cgit/linux/meta-virtualization.git/atom?h=container-cross-install</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-virtualization.git/atom?h=container-cross-install'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/'/>
<updated>2017-03-20T16:45:10+00:00</updated>
<entry>
<title>tools: remove go from meta-virtualization</title>
<updated>2017-03-20T16:45:10+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@windriver.com</email>
</author>
<published>2017-03-16T01:41:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=b44fce825df56c0f26adb6ae1f647ae07f6096ee'/>
<id>urn:sha1:b44fce825df56c0f26adb6ae1f647ae07f6096ee</id>
<content type='text'>
go is now part of oe-core, so we can drop the meta-virt local recipes.

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>go-native: Add work around for binutils &gt;= 2.27</title>
<updated>2016-10-19T16:37:52+00:00</updated>
<author>
<name>Jason Wessel</name>
<email>jason.wessel@windriver.com</email>
</author>
<published>2016-10-18T20:11:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=c3d8676a0cacc52536bb58828dcfdbc386e6e7c7'/>
<id>urn:sha1:c3d8676a0cacc52536bb58828dcfdbc386e6e7c7</id>
<content type='text'>
We only use go-native to bootstrap go-cross and according to a post in
the go-lang git it is possible to work around by disabling CGO:

https://github.com/golang/go/issues/16906

This patch fixes the compile failure with binutils 2.27 which has the
message:

cannot load DWARF output from $WORK/net/_obj//_cgo_.o: decoding dwarf section info at offset 0x4: unsupported version 0

Signed-off-by: Jason Wessel &lt;jason.wessel@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>go-cross: allow tmp directory to already exist</title>
<updated>2016-05-25T13:50:56+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@windriver.com</email>
</author>
<published>2016-05-25T13:49:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=313b06bfade57c1088de0924075a00c21f32769a'/>
<id>urn:sha1:313b06bfade57c1088de0924075a00c21f32769a</id>
<content type='text'>
The change [go-native: don't use host /var/tmp for temp build artifacts]
fixed builds, but it is possible that the tmp directory already exists, which
results in the following failure:

  | DEBUG: Executing shell function do_compile
  | mkdir: cannot create directory 'tmp/work/x86_64-linux/go-cross/1.6.2-r0/build-tmp': File exists
  | WARNING: exit code 1 from a shell command.
  | ERROR: Function failed: do_compile (log file is located at tmp/work/x86_64-linux/go-cross/1.6.2-r0/temp/log.do_compile.29142)

By adding a -p to the mkdir calls, we can survive this scenario.

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>go-native: don't use host /var/tmp for temp build artifacts</title>
<updated>2016-05-20T16:34:34+00:00</updated>
<author>
<name>Mark Asselstine</name>
<email>mark.asselstine@windriver.com</email>
</author>
<published>2016-05-20T14:55:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=3c3293e6b8a8c7a180a8eb0e450c0f0a99e055f4'/>
<id>urn:sha1:3c3293e6b8a8c7a180a8eb0e450c0f0a99e055f4</id>
<content type='text'>
Similar to a recent change for go-cross we can potentially run in to a
build failure:

  go tool dist: mkdtemp(/var/tmp/go-cbuild-A0rrP5): No such file or directory

when the host doesn't have a /var/tmp or when the permissions don't
allow for the creation of the temporary directory. Instead of relying
on /var/tmp we create and use a temporary directory in the $WORKDIR to
work around this issue. This is passed to the build via the TMPDIR
environment variable.

Signed-off-by: Mark Asselstine &lt;mark.asselstine@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>go-cross: uprev to 1.5.2</title>
<updated>2016-04-19T19:51:10+00:00</updated>
<author>
<name>Zongchun Yu</name>
<email>zongchun.yu@nxp.com</email>
</author>
<published>2016-04-05T09:54:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=12c601cd2df52ad123b337647eeb990f46422a25'/>
<id>urn:sha1:12c601cd2df52ad123b337647eeb990f46422a25</id>
<content type='text'>
* Add go-native as build bootstrap for go-cross.
* Upgrade go-cross to v1.5.2

Signed-off-by: Zongchun Yu &lt;zongchun.yu@nxp.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
</feed>
