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/runc/runc.inc | |
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/runc/runc.inc')
-rw-r--r-- | recipes-containers/runc/runc.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-containers/runc/runc.inc b/recipes-containers/runc/runc.inc index ec017225..9199cef9 100644 --- a/recipes-containers/runc/runc.inc +++ b/recipes-containers/runc/runc.inc | |||
@@ -51,7 +51,7 @@ do_compile() { | |||
51 | export CFLAGS="" | 51 | export CFLAGS="" |
52 | export LDFLAGS="" | 52 | export LDFLAGS="" |
53 | 53 | ||
54 | oe_runmake static | 54 | oe_runmake static |
55 | } | 55 | } |
56 | 56 | ||
57 | do_install() { | 57 | do_install() { |