From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/go: bump version to 1.6.2
Date: Sat, 7 May 2016 21:45:14 +0300 [thread overview]
Message-ID: <20160507184514.GA2419@tarshish> (raw)
In-Reply-To: <20160507144313.4e7112af@free-electrons.com>
Hi Thomas, Christian,
On Sat, May 07, 2016 at 02:43:13PM +0200, Thomas Petazzoni wrote:
> Applied to master, thanks. However, I've noticed that on my machine,
> host-go-bootstrap doesn't build:
>
> net/rpc/jsonrpc
> # cmd/pprof
> /home/thomas/projets/buildroot/output/build/host-go-bootstrap-1.4.2/pkg/linux_amd64/runtime/cgo.a(_all.o): unknown relocation type 42; compiled without -fpic?
> /home/thomas/projets/buildroot/output/build/host-go-bootstrap-1.4.2/pkg/linux_amd64/runtime/cgo.a(_all.o): unknown relocation type 42; compiled without -fpic?
> runtime/cgo(.text): unexpected relocation type 298
> runtime/cgo(.text): unexpected relocation type 298
> # cmd/go
> /home/thomas/projets/buildroot/output/build/host-go-bootstrap-1.4.2/pkg/linux_amd64/runtime/cgo.a(_all.o): unknown relocation type 42; compiled without -fpic?
> /home/thomas/projets/buildroot/output/build/host-go-bootstrap-1.4.2/pkg/linux_amd64/runtime/cgo.a(_all.o): unknown relocation type 42; compiled without -fpic?
> runtime/cgo(.text): unexpected relocation type 298
> runtime/cgo(.text): unexpected relocation type 298
> package/pkg-generic.mk:195: recipe for target '/home/thomas/projets/buildroot/output/build/host-go-bootstrap-1.4.2/.stamp_built' failed
> make[1]: *** [/home/thomas/projets/buildroot/output/build/host-go-bootstrap-1.4.2/.stamp_built] Error 2
> Makefile:36: recipe for target '_all' failed
> make: *** [_all] Error 2
Seems to be fixed in 1.5.2. See
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807136.
> You should be able to reproduce with the following defconfig:
You'll most likely also need a relatively recent host binutils to reproduce.
baruch
> BR2_arm=y
> BR2_TOOLCHAIN_EXTERNAL=y
> BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
> BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
> BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-2016.02-3-g762b7c9.tar.bz2"
> BR2_TOOLCHAIN_EXTERNAL_GCC_4_7=y
> BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10=y
> BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
> # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set
> BR2_TOOLCHAIN_EXTERNAL_INET_RPC=y
> BR2_TOOLCHAIN_EXTERNAL_CXX=y
> BR2_INIT_NONE=y
> BR2_SYSTEM_BIN_SH_NONE=y
> # BR2_PACKAGE_BUSYBOX is not set
> BR2_PACKAGE_FLANNEL=y
> # BR2_TARGET_ROOTFS_TAR is not set
>
> Could you look into this?
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
next prev parent reply other threads:[~2016-05-07 18:45 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-06 16:23 [Buildroot] [PATCH 1/1] package/go: bump version to 1.6.2 Christian Stewart
2016-05-06 18:01 ` Geoff Levand
2016-05-07 12:43 ` Thomas Petazzoni
2016-05-07 13:05 ` Christian Stewart
2016-05-07 12:43 ` Thomas Petazzoni
2016-05-07 18:45 ` Baruch Siach [this message]
2016-05-07 19:40 ` Thomas Petazzoni
2016-05-07 20:55 ` Cam Hutchison
2016-05-08 12:39 ` Thomas Petazzoni
2016-05-08 12:46 ` Cam Hutchison
2016-05-08 12:59 ` Thomas Petazzoni
2016-05-10 17:37 ` Geoff Levand
2016-05-10 18:02 ` [Buildroot] [PATCH v2 " Geoff Levand
2016-05-10 18:12 ` Geoff Levand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160507184514.GA2419@tarshish \
--to=baruch@tkos.co.il \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox