[meta-virtualization] Help: consul do_compile failed after go upgrade to v1.12.
Hongzhi, Song
hongzhi.song at windriver.com
Mon Mar 18 20:15:19 PDT 2019
Hi Bruce,
There is a failure on do_compile of consul under meta-cloud-services.
This is introduced by go-1.12 which was upgraded several days ago.
But it can't be reproduced on my ubuntu-host, while only be reproduced
on Yocto.
I try my best to fix it but has no result.
So, I will be great appreciate for anyone's help.
Thanks,
Hongzhi
There are some info about the failure:
Error info:
[
# github.com/hashicorp/consul/connect/certgen
type..eUfRrckI: missing section for relocation target type..FEeY9FdU
type..eUfRrckI: reloc 8 (R_CALL) to non-elf symbol type..FEeY9FdU
(outer=type..FEeY9FdU) 49 (SABIALIAS)
# github.com/hashicorp/consul
type..eUfRrckI: missing section for relocation target type..FEeY9FdU
type..K6Uq9NPs: missing section for relocation target type..tBBUxeDj
]
The above info come from go/src/cmd/link/internal/ld/data.go
Commit ID from go upstream:
685aca45dc8435df7b7e8059a42a8a98efdaf22c
cmd/compile, cmd/link: separate stable and internal ABIs
Script: consul: run.do_compile
The following command failed with -linkshared. It will pass if
remove -linkshared.
x86_64-poky-linux-go install *-linkshared* -p 128 -v -ldflags="-r
/usr/lib/go/pkg/linux_amd64_dynlink -extldflags ' -m64 -march=core2
-mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong
-D_FORTIFY_SOURCE=2 -Wformat -Wformat-security
-Werror=format-security
--sysroot=/ala-lpggp22/hsong/poky/build/tmp/work/core2-64-poky-linux/consul/git-r0/recipe-sysroot
-Wl,-rpath-link=/ala-lpggp22/hsong/poky/build/tmp/work/core2-64-poky-linux/consul/git-r0/recipe-sysroot/usr/lib/go/pkg/linux_amd64_dynlink
-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
-fstack-protector-strong -Wl,-z,relro,-z,now'" -buildmode=pie
`go_list_packages`
[EOF]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20190319/ce51b5ca/attachment.html>
More information about the meta-virtualization
mailing list