<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-virtualization.git/recipes-devtools/go-cross/go-cross_1.3.bb, branch pyro-nfvaccess</title>
<subtitle>Mirror of git.yoctoproject.org/meta-virtualization</subtitle>
<id>https://git.enea.com/cgit/linux/meta-virtualization.git/atom?h=pyro-nfvaccess</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-virtualization.git/atom?h=pyro-nfvaccess'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/'/>
<updated>2015-10-13T15:29:57+00:00</updated>
<entry>
<title>Enable go-cross 1.3 to coexist with later versions</title>
<updated>2015-10-13T15:29:57+00:00</updated>
<author>
<name>Amy Fong</name>
<email>amy.fong@windriver.com</email>
</author>
<published>2015-10-06T18:41:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=d0ef47396d1ea7c67b27898f6d0401cbcef45281'/>
<id>urn:sha1:d0ef47396d1ea7c67b27898f6d0401cbcef45281</id>
<content type='text'>
Since we need go 1.3 to co-exist with later versions (ie 1.4),
package go-cross_1.3 as go-cross-1.3_1.3.

go 1.3 will be installed to a different path than go-cross, this requires
go packages needing go 1.3 to set its PATH to:
        export PATH=${STAGING_BINDIR_NATIVE}/${HOST_SYS}/go-1.3:$PATH

Signed-off-by: Amy Fong &lt;amy.fong@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>Backport go-cross: set alignment for the .rel.plt section on 32-bit architectures</title>
<updated>2015-10-13T15:29:57+00:00</updated>
<author>
<name>Amy Fong</name>
<email>amy.fong@windriver.com</email>
</author>
<published>2015-10-06T18:41:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=7817649098ea61e8d3e31600a589e856fc254006'/>
<id>urn:sha1:7817649098ea61e8d3e31600a589e856fc254006</id>
<content type='text'>
submitted to upstream https://github.com/errordeveloper/oe-meta-go

    go-cross: set alignment for the .rel.plt section on 32-bit architectures

    This patch is cherry picked from golang's upstream, and this patch will
    fix the package of etcd's following build error:

    ERROR: debugedit failed with exit code 256 (cmd was 'bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/rpm/bin/debugedit' -b 'bitbake_build/tmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi' -d '/usr/src/debug' -i -l 'bitbake_build/tmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi/etcd/git-r0/debugsources.list' 'bitbake_build/tmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi/etcd/git-r0/package/usr/bin/etcd'):
    bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/rpm/bin/debugedit: elf_update: invalid section alignment
    ERROR: Function failed: split_and_strip_files
    ERROR: Logfile of failure stored in: bitbake_build/tmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi/etcd/git-r0/temp/do_package/log.do_package.109414
    ERROR: Task 12 (layers/meta-overc/meta-pod/recipes-connectivity/etcd/etcd_git.bb, do_package) failed with exit code '1'

    Signed-off-by: fupan li &lt;fupan.li@windriver.com&gt;

Signed-off-by: Amy Fong &lt;amy.fong@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>Backport go-cross: fix the building failed for quark bsp</title>
<updated>2015-10-13T15:29:57+00:00</updated>
<author>
<name>Amy Fong</name>
<email>amy.fong@windriver.com</email>
</author>
<published>2015-10-06T18:41:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=4988689b73150d333905329b1ce0277afe4cdf9e'/>
<id>urn:sha1:4988689b73150d333905329b1ce0277afe4cdf9e</id>
<content type='text'>
submitted to upstream https://github.com/errordeveloper/oe-meta-go

    go-cross: fix the building failed for quark bsp

    Quark used i586 architecture, and golang dealt intel 32bit
    architecture as 386, so export GOARCH = "386" when the TARGET_ARCH
    is i586 to support quark bsp.

    Signed-off-by: fupan li &lt;fupan.li@windriver.com&gt;

Signed-off-by: Amy Fong &lt;amy.fong@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>Backport go-cross: fix the bug of cross building error</title>
<updated>2015-10-13T15:29:57+00:00</updated>
<author>
<name>Amy Fong</name>
<email>amy.fong@windriver.com</email>
</author>
<published>2015-10-06T18:41:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=7360250a0f3694d1090e009ec344b2f18fc98514'/>
<id>urn:sha1:7360250a0f3694d1090e009ec344b2f18fc98514</id>
<content type='text'>
submitted to upstream https://github.com/errordeveloper/oe-meta-go

    go-cross: fix the bug of cross building error

    When a package's recipe inherit "cross" bbclass, its CC and CXX are defined
    as the host native gcc and g++ instead of the host cross toolchain, fot this
    case, CC_FOR_TARGET and CXX_FOR_TARGET should be defined the same with CC and
    CXX, instead they are should be define as host cross toolchain's CC and CXX,
    otherwise, it will build failed for target arm architecture as below:

    | # Building packages and commands for linux/arm.
    | + CC='gcc '
    | + bitbake_build/tmp/work/x86_64-wrs-linux-gnueabi/go-cross/1.4-r0/go/pkg/tool/linux_amd64/go_bootstrap install -ccflags '' -gcflags '' -ldflags '' -v std
    | runtime
    | errors
    | sync/atomic
    | unicode
    | unicode/utf8
    | math
    | sort
    | encoding
    | unicode/utf16
    | container/list
    | crypto/subtle
    | runtime/cgo
    | container/ring
    | image/color
    | runtime/race
    | # runtime/cgo
    | gcc: error: unrecognized command line option '-marm'

    Signed-off-by: fupan li &lt;fupan.li@windriver.com&gt;

Signed-off-by: Amy Fong &lt;amy.fong@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>docker: needs go 1.3</title>
<updated>2015-10-13T15:29:57+00:00</updated>
<author>
<name>Amy Fong</name>
<email>amy.fong@windriver.com</email>
</author>
<published>2015-10-06T18:41:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=ac2adfb1696f191f15bcfeb13dab2d10fd6b7ce1'/>
<id>urn:sha1:ac2adfb1696f191f15bcfeb13dab2d10fd6b7ce1</id>
<content type='text'>
The current version of docker (1.6.2) requires go 1.3

See go 1.4 sqlite issue:
https://github.com/docker/docker/issues/9649

Signed-off-by: Amy Fong &lt;amy.fong@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
</feed>
