The following error is seen: 17.05.1/build/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c:29: /home/travis/build/darball/ovs/linux-3.16.46/arch/x86/include/asm/ dma-mapping.h:32:35: error: inlining failed in call to ‘get_dma_ops’: call is unlikely and code size would grow [-Werror=inline]
-Wno-error=inline is used to address the issues with the new environment. Suggested-by: Ben Pfaff <[email protected]> Signed-off-by: Darrell Ball <[email protected]> --- .travis/linux-build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh index efccdf1..d6f610e 100755 --- a/.travis/linux-build.sh +++ b/.travis/linux-build.sh @@ -61,6 +61,7 @@ function install_dpdk() cd dpdk-stable-$1 fi find ./ -type f | xargs sed -i 's/max-inline-insns-single=100/max-inline-insns-single=400/' + find ./ -type f | xargs sed -i 's/-Werror/-Werror -Wno-error=inline/' echo 'CONFIG_RTE_BUILD_FPIC=y' >>config/common_linuxapp sed -ri '/EXECENV_CFLAGS = -pthread -fPIC/{s/$/\nelse ifeq ($(CONFIG_RTE_BUILD_FPIC),y)/;s/$/\nEXECENV_CFLAGS = -pthread -fPIC/}' mk/exec-env/linuxapp/rte.vars.mk make config CC=gcc T=x86_64-native-linuxapp-gcc -- 1.9.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
