<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/go, branch 2016.11</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2016.11</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2016.11'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2016-11-11T20:35:29+00:00</updated>
<entry>
<title>go: remove powerpc64 big-endian from supported architectures</title>
<updated>2016-11-11T20:35:29+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2016-11-11T20:35:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=b1a2f09e6956f880c9f56d8be27e38adaca3179f'/>
<id>urn:sha1:b1a2f09e6956f880c9f56d8be27e38adaca3179f</id>
<content type='text'>
cgo currently doesn't properly support powerpc64 big-endian, as noted
in https://github.com/golang/go/issues/13192, and indeed, we have a
large number of build failures of Go packages on this
architecture. This commit therefore disables Go on PowerPC64
big-endian (PowerPC64 little-endian is fine).

Fixes:

  http://autobuild.buildroot.net/results/a6e9bac0a735f48d0ba0af081aeac4ed9fdfaca7/
  (flannel)

  http://autobuild.buildroot.net/results/230f52bc35f437836c7a76d4b58ef454635ee0d3/
  (docker-containerd)

  http://autobuild.buildroot.net/results/77c31d6e8f5efe3e024e27a160cf5d1d1952719e/
  (runc)

  http://autobuild.buildroot.net/results/a87b07417ea8bd81ffe27e5661b4359ddc0149ab/
  (docker-engine)

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>go: bump to 1.7.2</title>
<updated>2016-10-19T09:24:33+00:00</updated>
<author>
<name>Christian Stewart</name>
<email>christian@paral.in</email>
</author>
<published>2016-10-19T04:50:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=244ab37fbc591146bc2e117b08acf9d54681d0cb'/>
<id>urn:sha1:244ab37fbc591146bc2e117b08acf9d54681d0cb</id>
<content type='text'>
Signed-off-by: Christian Stewart &lt;christian@paral.in&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>MIPS: replace every BR2_mips_* with the new MIPS CPU options</title>
<updated>2016-10-15T11:22:17+00:00</updated>
<author>
<name>Vicente Olivert Riera</name>
<email>Vincent.Riera@imgtec.com</email>
</author>
<published>2016-09-30T09:36:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=45c92c60b163abefb0e78fe4f992d7cbbdaa72e8'/>
<id>urn:sha1:45c92c60b163abefb0e78fe4f992d7cbbdaa72e8</id>
<content type='text'>
Signed-off-by: Vicente Olivert Riera &lt;Vincent.Riera@imgtec.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>package/go: needs PIE support</title>
<updated>2016-07-24T19:50:05+00:00</updated>
<author>
<name>Romain Naour</name>
<email>romain.naour@gmail.com</email>
</author>
<published>2016-07-24T15:39:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=5f2ff6064497637d1af04a163d83e849902f4bc7'/>
<id>urn:sha1:5f2ff6064497637d1af04a163d83e849902f4bc7</id>
<content type='text'>
When built statically, runc try to link against Scrt1.o which is not
provided by uClibc ARM toolchain for static build only.

[...]arm-buildroot-linux-uclibcgnueabi/bin/ld: cannot find Scrt1.o: No such file or directory
collect2: error: ld returned 1 exit status

On ARM, Go forces the use of -pie, for some reason:

    pie := (goarch == "arm" &amp;&amp; goos == "linux") || goos == "android"
    if pie { // we need to use -pie for Linux/ARM to get accurate imported sym
              cgoLDFLAGS = append(cgoLDFLAGS, "-pie")
    }

For this reason, add a dependency on BR2_TOOLCHAIN_SUPPORTS_PIE for ARM
CPUs to disable Go for such toolchains.

While at it, rewrap Go dependencies.

[1] http://lists.busybox.net/pipermail/buildroot/2016-July/167206.html

Signed-off-by: Romain Naour &lt;romain.naour@gmail.com&gt;
Cc: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Cc: Christian Stewart &lt;christian@paral.in&gt;
Tested-by: Christian Stewart &lt;christian@paral.in&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>go: define a hidden boolean to specify if CGO linking is supported</title>
<updated>2016-07-06T19:22:46+00:00</updated>
<author>
<name>Vicente Olivert Riera</name>
<email>Vincent.Riera@imgtec.com</email>
</author>
<published>2016-07-06T08:34:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=70061a50bf952a749092e0b016fd764f4bffbdd8'/>
<id>urn:sha1:70061a50bf952a749092e0b016fd764f4bffbdd8</id>
<content type='text'>
Signed-off-by: Vicente Olivert Riera &lt;Vincent.Riera@imgtec.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>go: disable for MIPS R6</title>
<updated>2016-06-30T22:14:33+00:00</updated>
<author>
<name>Vicente Olivert Riera</name>
<email>Vincent.Riera@imgtec.com</email>
</author>
<published>2016-06-27T08:51:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=82c114b2271ededdf74643d7f0a2032e25b986a0'/>
<id>urn:sha1:82c114b2271ededdf74643d7f0a2032e25b986a0</id>
<content type='text'>
MIPS R6 support in Go has not yet been developed.

Signed-off-by: Vicente Olivert Riera &lt;Vincent.Riera@imgtec.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/go: Enable MIPS support</title>
<updated>2016-06-01T21:41:09+00:00</updated>
<author>
<name>Geoff Levand</name>
<email>geoff@infradead.org</email>
</author>
<published>2016-05-19T22:33:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=8e2bf3cb58f86d14e320229c9bb31753888410a5'/>
<id>urn:sha1:8e2bf3cb58f86d14e320229c9bb31753888410a5</id>
<content type='text'>
Enable go language support for mips64 and mips64el (mips64le), which
were added in go-1.6.2.

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 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>
</feed>
