diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2018-04-19 16:49:41 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2018-04-20 10:03:50 -0400 |
commit | fcc09c8c3639ca5c529d4f28db9b1d090331739f (patch) | |
tree | b7bb1e0b27ef1b600508c4dfb9080269c173e84c /recipes-containers/containerd/containerd-opencontainers_git.bb | |
parent | 7d2ee2dfa266f339d57823a72560ca2fcf01bd49 (diff) | |
download | meta-virtualization-fcc09c8c3639ca5c529d4f28db9b1d090331739f.tar.gz |
runc/containerd: fix build with go 1.9.x
go 1.9.x was triggering linkage errors on some build hosts due to
missing symbols.
| tmp/work/core2-64-poky-linux/runc-docker/1.0.0-rc5+gitAUTOINC+4fc53a81fb-r0/recipe-sysroot/usr/lib/../lib/libc.a(dl-reloc-static-pie.o): In function `elf_mac:
| /usr/src/debug/glibc/2.27-r0/git/sysdeps/x86_64/dl-machine.h:59: undefined reference to `_DYNAMIC'
| tmp/work/core2-64-poky-linux/runc-docker/1.0.0-rc5+gitAUTOINC+4fc53a81fb-r0/recipe-sysroot/usr/lib/../lib/libc.a(dl-reloc-static-pie.o): In function `elf_get:
| /usr/src/debug/glibc/2.27-r0/git/elf/get-dynamic-info.h:48: undefined reference to `_DYNAMIC'
By ensuring that our sysroot provided go binary and build flags make
it into the build enviroment we can build properly with 1.9 and 1.10
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-containers/containerd/containerd-opencontainers_git.bb')
-rw-r--r-- | recipes-containers/containerd/containerd-opencontainers_git.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-containers/containerd/containerd-opencontainers_git.bb b/recipes-containers/containerd/containerd-opencontainers_git.bb index 316eea74..c6b4f5e4 100644 --- a/recipes-containers/containerd/containerd-opencontainers_git.bb +++ b/recipes-containers/containerd/containerd-opencontainers_git.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | SRCREV = "cfd04396dc68220d1cecbe686a6cc3aa5ce3667c" | 1 | SRCREV = "cfd04396dc68220d1cecbe686a6cc3aa5ce3667c" |
2 | SRC_URI = "git://github.com/containerd/containerd;nobranch=1 \ | 2 | SRC_URI = "git://github.com/containerd/containerd;nobranch=1 \ |
3 | file://0001-containerd-shim-build-with-CGO.patch \ | 3 | file://0001-build-use-oe-provided-GO-and-flags.patch \ |
4 | " | 4 | " |
5 | 5 | ||
6 | include containerd.inc | 6 | include containerd.inc |