<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes/goarch.bbclass, branch yocto-2.4</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=yocto-2.4</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=yocto-2.4'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2017-10-16T22:52:44+00:00</updated>
<entry>
<title>goarch.bbclass: Define HOST_GO386 and TARGET_GO386</title>
<updated>2017-10-16T22:52:44+00:00</updated>
<author>
<name>Paul Barker</name>
<email>pbarker@toganlabs.com</email>
</author>
<published>2017-10-13T19:25:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=68e77cfb8ac40926eb09f982cc835a0378ad029a'/>
<id>urn:sha1:68e77cfb8ac40926eb09f982cc835a0378ad029a</id>
<content type='text'>
These variables are used to control the floating-point instructions emitted by
the go compiler for x86 architectures.

The default is '387' which disables the use of sse/sse2 instructions and is safe
to use on all x86 processors from the i486 onwards.

If TUNE_FEATURES contains a feature set which is known to support sse/sse2
instructions then they are set to 'sse2' to enable the use of these
instructions. This is suitable for most processors from Pentium 4 onwards.

Only the 'core2' and 'corei7' TUNE_FEATURES are defined in the oe-core layer and
are known to support ss2 instructions. Other layers may introduce additional
tunings which support sse2 instructions and for these layers, TARGET_GO386
or go_map_386 should be overridden as needed.

(From OE-Core rev: 7e96cf3c9850dc34d53af73a9ac22b1624994484)

Signed-off-by: Paul Barker &lt;pbarker@toganlabs.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>goarch.bbclass: rework mips architecture checks</title>
<updated>2017-10-07T22:20:39+00:00</updated>
<author>
<name>Matt Madison</name>
<email>matt@madison.systems</email>
</author>
<published>2017-09-28T17:34:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b2646b5cf7850716e24ad18da1f6c27f369cb16d'/>
<id>urn:sha1:b2646b5cf7850716e24ad18da1f6c27f369cb16d</id>
<content type='text'>
Remove the TUNE_FEATURES references from go_map_arch,
to avoid an unwanted variable dependency.  Direct
comparisons of the architecture name are sufficient
for covering what Go currently supports, and using
TUNE_CCARGS_remove adequately handles the conflict
with the cgo-supplied flags for mips.

(From OE-Core rev: 1bc4c1d880096083d1891a74024fb225a6340b9b)

Signed-off-by: Matt Madison &lt;matt@madison.systems&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>goarch.bbclass: fixups for Go mips32 support</title>
<updated>2017-09-26T10:05:00+00:00</updated>
<author>
<name>Matt Madison</name>
<email>matt@madison.systems</email>
</author>
<published>2017-09-23T00:58:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=988e253f47dd84d6b90efad1c941998bc3e5a117'/>
<id>urn:sha1:988e253f47dd84d6b90efad1c941998bc3e5a117</id>
<content type='text'>
* Fix the regular expression in the mips test

* Flag as incompatible any mips32 tunes for n32 ABI
  or soft-float, as go does not support them.

* Replace mips32r2 tune with mips32r1. Go only supports
  mips32r1, which is a strict subset of r2.  Adjusting
  this tune is not ideal, but is hopefully a temporary
  measure until more complete mips32 ISA coverage
  arrives upstream.

[YOCTO #12108]

(From OE-Core rev: bdd20c296048937737da0f10bd1a3b63843c5bf4)

Signed-off-by: Matt Madison &lt;matt@madison.systems&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>goarch.bbclass: set ARM_INSTRUCTION_SET to "arm"</title>
<updated>2017-09-14T10:35:45+00:00</updated>
<author>
<name>Matt Madison</name>
<email>matt@madison.systems</email>
</author>
<published>2017-09-13T17:54:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e6542356b461b510f913eecd3850c075764acc3a'/>
<id>urn:sha1:e6542356b461b510f913eecd3850c075764acc3a</id>
<content type='text'>
Go does not play well with thumb, so ensure that the
toolchain and any packages use arm, not thumb, instructions.

(From OE-Core rev: 24da8c321831dcc5de00d65d6c5613efee109b57)

Signed-off-by: Matt Madison &lt;matt@madison.systems&gt;
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>goarch.bbclass: identify archs with Go dynamic linking support</title>
<updated>2017-09-14T10:35:45+00:00</updated>
<author>
<name>Matt Madison</name>
<email>matt@madison.systems</email>
</author>
<published>2017-09-13T17:54:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e3c693eaeaa4d417fefa1cf1f0e4d7ebe780d9d8'/>
<id>urn:sha1:e3c693eaeaa4d417fefa1cf1f0e4d7ebe780d9d8</id>
<content type='text'>
Go only supports shared libraries for some architectures, so
add a variable for use elsewhere that gets a non-null value
only for those architectures.

(From OE-Core rev: 2275712df152b73ce49b36bdf9f8d744c68c9c50)

Signed-off-by: Matt Madison &lt;matt@madison.systems&gt;
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>goarch.bbclass: Add support for ARMv5</title>
<updated>2017-09-11T16:30:30+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2017-09-08T21:04:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8738f2bfb6a4a3eb97a3c6e0a07c554fabad3052'/>
<id>urn:sha1:8738f2bfb6a4a3eb97a3c6e0a07c554fabad3052</id>
<content type='text'>
This adds support to return the proper ARMv5 format.

This change is based on the meta-golang[1] layer. Thanks to Matt
Madison &lt;matt@madison.systems&gt; for his work on this.

1. https://github.com/madisongh/meta-golang

(From OE-Core rev: e242e7c3617ded87582c5d384b15027498b0c1a4)

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>goarch.bbclass: Replace logic for setting GOARM</title>
<updated>2017-09-11T16:30:30+00:00</updated>
<author>
<name>Will Newton</name>
<email>will.newton@gmail.com</email>
</author>
<published>2017-09-08T21:04:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=602f786ecdace325e8f4858b3e07e9bd79229e64'/>
<id>urn:sha1:602f786ecdace325e8f4858b3e07e9bd79229e64</id>
<content type='text'>
The previous logic applied a regex to TUNE_FEATURES which could
set the GOARM value to 7 incorrectly, for example when dealing
with an arm1176 core. Simplify to check for the presence of
"armv7" instead. At the same time add a check for "armv6" and
set GOARM to 6 in that case.

(From OE-Core rev: 07b60c15e9ef650940afdde37bf3f3b9c50a336d)

Signed-off-by: Will Newton &lt;willn@resin.io&gt;
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>goarch.bbclass: Stop passing True as second argument of d.getVar</title>
<updated>2017-09-11T16:30:30+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2017-09-08T21:04:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b34479ee9fd43c14af81829b446d1bc95c5ced70'/>
<id>urn:sha1:b34479ee9fd43c14af81829b446d1bc95c5ced70</id>
<content type='text'>
The d.getVar has the second argument as True by default, avoid passing
it here.

(From OE-Core rev: 1a5026db41929d42bece22bd0ae60c13219a98f5)

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>goarch: Disable build for muslx32</title>
<updated>2017-08-18T22:46:38+00:00</updated>
<author>
<name>sweeaun</name>
<email>swee.aun.khor@intel.com</email>
</author>
<published>2017-08-17T02:07:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=178d5845c3f9e240032beb64cb136b5e22e50f8c'/>
<id>urn:sha1:178d5845c3f9e240032beb64cb136b5e22e50f8c</id>
<content type='text'>
Disable build for muslx32.

(From OE-Core rev: 7f6e47b0d8aec9cb22db50ccb40ebb01677f01ea)

Signed-off-by: sweeaun &lt;swee.aun.khor@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>go: centralize definition of COMPATIBLE_HOST</title>
<updated>2017-07-27T21:36:52+00:00</updated>
<author>
<name>Joe Slater</name>
<email>jslater@windriver.com</email>
</author>
<published>2017-07-26T22:14:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=25717652b6d600bed1b938c4a034b0d5f7fb661c'/>
<id>urn:sha1:25717652b6d600bed1b938c4a034b0d5f7fb661c</id>
<content type='text'>
Put it in goarch.bbclass which all go related recipes inherit.

(From OE-Core rev: 9e899bbc081cb932c1492f6d6802b908d70ef42f)

Signed-off-by: Joe Slater &lt;jslater@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
