<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/go, branch 2016.05</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2016.05</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2016.05'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2016-05-26T19:06:55+00:00</updated>
<entry>
<title>package/go: add double quotes around TARGET_CC/TARGET_CXX</title>
<updated>2016-05-26T19:06:55+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2016-05-26T19:06:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=4a1e4a5c7dd94e0490df95597635eb48e4f7f7fb'/>
<id>urn:sha1:4a1e4a5c7dd94e0490df95597635eb48e4f7f7fb</id>
<content type='text'>
Using double quotes around TARGET_CC/TARGET_CXX is mandatory, since
they are composed of several words when ccache support is enabled.

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/go: Set file timestamp</title>
<updated>2016-05-26T19:05:52+00:00</updated>
<author>
<name>Geoff Levand</name>
<email>geoff@infradead.org</email>
</author>
<published>2016-05-26T18:21:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=6cb235a4deb07406d516454708b8d9667f6832ba'/>
<id>urn:sha1:6cb235a4deb07406d516454708b8d9667f6832ba</id>
<content type='text'>
Set all file timestamps to prevent the go compiler from rebuilding any
built in packages when programs are built.

Signed-off-by: Geoff Levand &lt;geoff@infradead.org&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/go: Add HOST_GO_CGO_ENABLED</title>
<updated>2016-05-26T19:05:17+00:00</updated>
<author>
<name>Geoff Levand</name>
<email>geoff@infradead.org</email>
</author>
<published>2016-05-26T18:21:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=e1f14a78978d65a44685375939586a3a2c8d6e41'/>
<id>urn:sha1:e1f14a78978d65a44685375939586a3a2c8d6e41</id>
<content type='text'>
The go compiler's cgo support uses threads.  If BR2_TOOLCHAIN_HAS_THREADS is
set, build in cgo support for any go programs that may need it.  Note that
any target package needing cgo support must include
'depends on BR2_TOOLCHAIN_HAS_THREADS' in its config file.

Fixes build errors like these:

  error: #warning requested reentrant code

  http://autobuild.buildroot.net/results/42a8d07101d8d954511d1c884ecb66e8d861899e

Signed-off-by: Geoff Levand &lt;geoff@infradead.org&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/go: Add HOST_GO_TARGET_ENV</title>
<updated>2016-05-26T19:04:24+00:00</updated>
<author>
<name>Geoff Levand</name>
<email>geoff@infradead.org</email>
</author>
<published>2016-05-26T18:21:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=86b0f0e68553eb5019f23ebfd4ac29c13149c882'/>
<id>urn:sha1:86b0f0e68553eb5019f23ebfd4ac29c13149c882</id>
<content type='text'>
For the convenience of package makefiles define the new
make variables HOST_GO_TOOLDIR and HOST_GO_TARGET_ENV.

Signed-off-by: Geoff Levand &lt;geoff@infradead.org&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/go: Build host tools with host CC</title>
<updated>2016-05-26T19:03:53+00:00</updated>
<author>
<name>Geoff Levand</name>
<email>geoff@infradead.org</email>
</author>
<published>2016-05-26T18:21:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=60c5c96ae109dcea48e0997b5e6e6645ac9b8629'/>
<id>urn:sha1:60c5c96ae109dcea48e0997b5e6e6645ac9b8629</id>
<content type='text'>
The go build system doesn't have the notion of cross compiling, but just the
notion of architecture.  When the host and target architectures are different
it expects to be given a target cross compiler in CC_FOR_TARGET.  When the
architectures are the same it will use CC_FOR_TARGET for both host and target
compilation.  To work around this limitation build and install a set of
compiler and tool binaries built with CC_FOR_TARGET set to the host compiler.
Also, the go build system is not compatible with ccache, so use
HOSTCC_NOCCACHE.  See https://github.com/golang/go/issues/11685.

Fixes build errors like these:

  host/usr/bin/go: No such file or directory

  http://autobuild.buildroot.net/results/6664189a6f3a815978e8d0a1d7ef408ca47e2874/

Signed-off-by: Geoff Levand &lt;geoff@infradead.org&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/go: Fix powerpc64 config typo</title>
<updated>2016-05-12T14:21:04+00:00</updated>
<author>
<name>Geoff Levand</name>
<email>geoff@infradead.org</email>
</author>
<published>2016-05-12T00:08:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=b6b718ca4bd1efa51674a824ff8d32a90a1d6584'/>
<id>urn:sha1:b6b718ca4bd1efa51674a824ff8d32a90a1d6584</id>
<content type='text'>
Fix typo in config powerpc64 depends.  Go language only supports 64 bit powerpc.

Also add BR2_powerpc64le to depends list.

Signed-off-by: Geoff Levand &lt;geoff@infradead.org&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/go: bump version to 1.6.2</title>
<updated>2016-05-07T12:31:04+00:00</updated>
<author>
<name>Christian Stewart</name>
<email>christian@paral.in</email>
</author>
<published>2016-05-06T16:23:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=abfaf47e4c4054cac9e8869f43ddf77c28fbb588'/>
<id>urn:sha1:abfaf47e4c4054cac9e8869f43ddf77c28fbb588</id>
<content type='text'>
Golang has significant improvements to support for multiarch in later
versions. This bump is required to make many go programs functional
under arm64, for example.

Signed-off-by: Christian Stewart &lt;christian@paral.in&gt;
Acked-by: Geoff Levand &lt;geoff@infradead.org&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>go: new host package</title>
<updated>2016-04-20T20:29:34+00:00</updated>
<author>
<name>Geoff Levand</name>
<email>geoff@infradead.org</email>
</author>
<published>2016-04-04T19:31:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=ec50eb3e4226e69d11dffff8e509a981586dd81f'/>
<id>urn:sha1:ec50eb3e4226e69d11dffff8e509a981586dd81f</id>
<content type='text'>
Add a new package 'go' which builds the host cross compiler and
libraries for the go programming language.

Signed-off-by: Geoff Levand &lt;geoff@infradead.org&gt;
[Thomas:
 - Put the computation of GO_GOARM inside the ifeq ($(BR2_arm),y)
   condition rather than duplicating this condition.
 - Remove the GO_GOARCH=unknown case, since there is no way to fall in
   this case as only supported architectures can use host-go.
 - Remove the GO_GOARM=unknown case, since we are sure that only
   ARMv5/6/7 will use host-go.
 - Rename HOST_GO_FINAL to HOST_GO_ROOT, since it's really the "root"
   of the Go installation.
 - Remove visible Config.in.host option.]
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
</feed>
