<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-devtools/go/go-cross-canadian.inc, branch styhead</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=styhead</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=styhead'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2024-03-06T12:13:16+00:00</updated>
<entry>
<title>go: Drop linkmode with nativesdk/cross-canadian</title>
<updated>2024-03-06T12:13:16+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2024-03-03T22:24:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=891d30a5d435081b72790eba86a642ce5df0a353'/>
<id>urn:sha1:891d30a5d435081b72790eba86a642ce5df0a353</id>
<content type='text'>
In 1.22 this appears to cause failures and no longer appears to be needed.

(From OE-Core rev: 6fe1a4336adbee546085fa76ed9448f82736a590)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>go-cross-canadian.inc: drop PE, PR from /usr/src/debug paths</title>
<updated>2023-11-20T15:30:52+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>martin.jansa@gmail.com</email>
</author>
<published>2023-11-16T22:48:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=bdeaf30f8d86c99048965abd31532f955f13c7e9'/>
<id>urn:sha1:bdeaf30f8d86c99048965abd31532f955f13c7e9</id>
<content type='text'>
(From OE-Core rev: 0ad662f443dfc1850d818d96f9e223086ff99ef4)

Signed-off-by: Martin Jansa &lt;martin.jansa@gmail.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>gcc/go: Drop crosssdk suffix from virtual provides to improve dependency handling</title>
<updated>2023-05-02T09:24:50+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2023-05-01T11:01:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=768c89e306d0486acf8bc76cecef90436f6551b3'/>
<id>urn:sha1:768c89e306d0486acf8bc76cecef90436f6551b3</id>
<content type='text'>
There is little point in having "crosssdk" suffex added to the virtual provider within
gcc/go since the TARGET_PREFIX or SDK_PREFIX already encapsulates this. Remove it
allowing some of the special case overriding to be removed.

This also allows removal of some of the MLPREFIX usage since again, the triplet
also covers this.

(From OE-Core rev: fe0206ba482d209b24e636d578aa68ba5e67ba1b)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>go-cross-canadian: use gcc-crosssdk, not gcc-native</title>
<updated>2023-02-15T10:21:34+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex.kanavin@gmail.com</email>
</author>
<published>2023-02-10T06:42:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=34157b4b1aa40fbf2a70238a553e54f6bd157ace'/>
<id>urn:sha1:34157b4b1aa40fbf2a70238a553e54f6bd157ace</id>
<content type='text'>
The recipe was building native go against build host headers and libraries,
and then installing it as a nativesdk item, which is entirely incorrect. This has
been working by coincidence (go generally uses C and C libraries lightly)
but with go 1.20 this turned into hard breakage.

Also nativesdk sysroot was being passed in incorrectly.

(From OE-Core rev: 9212704a0e6ba79c3a3c4d85fc132e0ab6de1747)

Signed-off-by: Alexander Kanavin &lt;alex@linutronix.de&gt;
Signed-off-by: Luca Ceresoli &lt;luca.ceresoli@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>go: Remove three unnecessary paths from do_compile[dirs]</title>
<updated>2022-03-15T08:40:09+00:00</updated>
<author>
<name>Peter Kjellerstedt</name>
<email>peter.kjellerstedt@axis.com</email>
</author>
<published>2022-03-14T14:16:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c41e58279a13b3c2fe0dbba4ba39510fe593d582'/>
<id>urn:sha1:c41e58279a13b3c2fe0dbba4ba39510fe593d582</id>
<content type='text'>
There is no reason to include a path in foo[dirs] if it is also in
foo[cleandirs] (except if it is the last path in foo[dirs]).

(From OE-Core rev: 9f610748f760b2d58d5250b55ae4b268909f33ef)

Signed-off-by: Peter Kjellerstedt &lt;peter.kjellerstedt@axis.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>go: Extract common environment setup.</title>
<updated>2019-11-25T17:57:22+00:00</updated>
<author>
<name>Alex Kube</name>
<email>alexander.j.kube@gmail.com</email>
</author>
<published>2019-10-25T19:19:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d4aa1998364f2cac1419b442da4c39699e42391a'/>
<id>urn:sha1:d4aa1998364f2cac1419b442da4c39699e42391a</id>
<content type='text'>
Add default values for go environment variables to go-common.inc.
Override where appropriate in other go*.inc files, and use
host/target tuples from goarch for setting CC flags.

(From OE-Core rev: 1e3f040b1f68fa1f808851ecd9623544e935e9ad)

Signed-off-by: Alex Kube &lt;alexander.j.kube@gmail.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>go-cross-canadian: set default value of DEBUG_PREFIX_MAP</title>
<updated>2019-02-15T16:05:37+00:00</updated>
<author>
<name>Kai Kang</name>
<email>kai.kang@windriver.com</email>
</author>
<published>2019-02-15T02:06:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=936eab2dab929544483d5ec3530de6c91f50484c'/>
<id>urn:sha1:936eab2dab929544483d5ec3530de6c91f50484c</id>
<content type='text'>
It uses gcc on build machine during go-cross-canadian bootstrap, but the
gcc version may be old and not support option '-fmacro-prefix-map' which
is one of default values of DEBUG_PREFIX_MAP.

So set default value of DEBUG_PREFIX_MAP for go-cross-canadian.

(From OE-Core rev: bd19d2b138e1a7fbfdf0b7a7dec0bc04a3aaa219)

Signed-off-by: Kai Kang &lt;kai.kang@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>recipes: Drop virtual/libc-for-gcc</title>
<updated>2018-12-26T11:19:54+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2018-12-19T22:29:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1867965acd5291725069346eda9b239e60af2694'/>
<id>urn:sha1:1867965acd5291725069346eda9b239e60af2694</id>
<content type='text'>
We no longer have special "libc" for gcc so we can rely on plain
virtual/libc and reduce the complexity in the dependencies.

(From OE-Core rev: 122217b421f749b5fef52bea44ad6e04bc8f8d3a)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>go: disable PIE CFLAGS for nativesdk and cross-canadian builds</title>
<updated>2018-03-06T14:43:10+00:00</updated>
<author>
<name>Matt Madison</name>
<email>matt@madison.systems</email>
</author>
<published>2018-03-04T21:09:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8701fe54a801705a99136f3a5d2afb5e47d37a29'/>
<id>urn:sha1:8701fe54a801705a99136f3a5d2afb5e47d37a29</id>
<content type='text'>
The statically-linked Go code in the toolchain is not compatible
with PIE, so disable its use in the C compiler during the
toolchain build.

(From OE-Core rev: cc7b179917c715b29822200fe91ecd755a5750e6)

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>go: move common settings to go-common.inc</title>
<updated>2018-03-06T14:43:10+00:00</updated>
<author>
<name>Matt Madison</name>
<email>matt@madison.systems</email>
</author>
<published>2018-03-04T21:09:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=020915eb9b2dd4632b44ba7c18bd09f944a03042'/>
<id>urn:sha1:020915eb9b2dd4632b44ba7c18bd09f944a03042</id>
<content type='text'>
Eliminate some redundancy in the recipes by moving
some commonly-used variable settings to the common
include file.  Also removed a duplicate inherit
from go-target.inc that was already in go-common.inc.

(From OE-Core rev: e72d2a7b7ee7913095a35ae92c3ca364de00c8a7)

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