From fcc09c8c3639ca5c529d4f28db9b1d090331739f Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Thu, 19 Apr 2018 16:49:41 -0400 Subject: 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 --- recipes-containers/runc/runc.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-containers/runc/runc.inc') 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() { export CFLAGS="" export LDFLAGS="" - oe_runmake static + oe_runmake static } do_install() { -- cgit v1.2.3-54-g00ecf