stanislav@contivvpp:~/work/vpp$ gcc --version gcc (Ubuntu/Linaro 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
stanislav@contivvpp:~/work/vpp$ stanislav@contivvpp:~/work/vpp$ make build make[1]: Entering directory '/home/stanislav/work/vpp/build-root' @@@@ Arch for platform 'vpp' is native @@@@ @@@@ Finding source for dpdk @@@@ @@@@ Makefile fragment found in /home/stanislav/work/vpp/build-data/packages/dpdk.mk @@@@ @@@@ Source found in /home/stanislav/work/vpp/dpdk @@@@ @@@@ Arch for platform 'vpp' is native @@@@ @@@@ Finding source for vpp @@@@ @@@@ Makefile fragment found in /home/stanislav/work/vpp/build-data/packages/vpp.mk @@@@ @@@@ Source found in /home/stanislav/work/vpp/src @@@@ @@@@ Configuring dpdk in /home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk @@@@ @@@@ Building dpdk in /home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk @@@@ make[2]: Entering directory '/home/stanislav/work/vpp/dpdk' make check-deb .... .... .... /home/stanislav/work/vpp/build-data/../src/plugins/dpdk/device/init.c: In function ‘dpdk_init’: /home/stanislav/work/vpp/build-data/../src/plugins/dpdk/device/init.c:1743:3: error: static assertion failed: "DPDK RTE CACHE LINE SIZE does not match with 1<<CLIB_LOG2_CACHE_LINE_BYTES" STATIC_ASSERT (RTE_CACHE_LINE_SIZE == 1 << CLIB_LOG2_CACHE_LINE_BYTES, ^ /home/stanislav/work/vpp/build-data/../src/plugins/dpdk/device/init.c: At top level: cc1: error: unrecognized command line option ‘-Wno-address-of-packed-member’ [-Werror] cc1: all warnings being treated as errors Makefile:3694: recipe for target 'dpdk/device/dpdk_plugin_la-init.lo' failed make[5]: *** [dpdk/device/dpdk_plugin_la-init.lo] Error 1 make[5]: *** Waiting for unfinished jobs.... make[5]: Leaving directory '/home/stanislav/work/vpp/build-root/build-vpp_debug-native/vpp/plugins' Makefile:2395: recipe for target 'all' failed make[4]: *** [all] Error 2 make[4]: Leaving directory '/home/stanislav/work/vpp/build-root/build-vpp_debug-native/vpp/plugins' Makefile:8363: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/home/stanislav/work/vpp/build-root/build-vpp_debug-native/vpp' Makefile:4243: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/home/stanislav/work/vpp/build-root/build-vpp_debug-native/vpp' Makefile:691: recipe for target 'vpp-build' failed make[1]: *** [vpp-build] Error 2 make[1]: Leaving directory '/home/stanislav/work/vpp/build-root' Makefile:333: recipe for target 'build' failed make: *** [build] Error 2 From: Nitin Saxena [mailto:nitin.sax...@cavium.com] Sent: Wednesday, July 18, 2018 12:58 PM To: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: config.status: error: cannot find input file: `vlib/config.h.in' Hi Stanislav, Unfortunately I do not have access to ThunderX but my ThunderX2 compilation works on master branch. Also I observed that following gerrit job running on Cavium's ThunderX compiles src/vnet/ethernet/interface.c successfully. https://jenkins.fd.io/job/vpp-arm-verify-master-ubuntu1604/1404/console So I am guessing you are compiling VPP master branch natively on Cavium's ThunderX. So I suggest 1) Either remove -Werror from vpp_TAG_CFLAGS/vpp_debug/TAG_CFLAGS in build-data/platforms/vpp.mk and ignore warning 2) I am guessing problem with your GCC version? Which gcc version you are using? Can you try using gcc 5.4.0/5.5.0 Thanks, Nitin On Wednesday 18 July 2018 03:47 PM, Stanislav Chlebec wrote: External Email I got /home/stanislav/work/vpp/build-data/../src/vnet/ethernet/interface.c:529:785: error: self-comparison always evaluates to true [-Werror=tautological-compare] vlib_validate_buffer_enqueue_x4 (vm, node, next_index, ^ /home/stanislav/work/vpp/build-data/../src/vnet/ethernet/interface.c: At top level: cc1: error: unrecognized command line option ‘-Wno-address-of-packed-member’ [-Werror] cc1: all warnings being treated as errors Makefile:7307: recipe for target 'vnet/ethernet/interface.lo' failed -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9866): https://lists.fd.io/g/vpp-dev/message/9866 Mute This Topic: https://lists.fd.io/mt/23669223/675191 Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=2214648 Group Owner: vpp-dev+ow...@lists.fd.io<mailto:vpp-dev+ow...@lists.fd.io> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [nitin.sax...@cavium.com<mailto:nitin.sax...@cavium.com>] -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9877): https://lists.fd.io/g/vpp-dev/message/9877 Mute This Topic: https://lists.fd.io/mt/23669223/21656 Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-