Hi all, Vpp master branch build failed, anyone have the save issue > > > @@@ Configuring vpp in > /home/dev/code/vpp/build-root/build-vpp_debug-native/vpp @@@@ > -- The C compiler identification is GNU 4.8.5 > -- Check for working C compiler: /usr/lib64/ccache/cc > -- Check for working C compiler: /usr/lib64/ccache/cc - works > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Detecting C compile features > -- Detecting C compile features - done > -- Performing Test compiler_flag_march_haswell > -- Performing Test compiler_flag_march_haswell - Failed > -- Performing Test compiler_flag_mtune_haswell > -- Performing Test compiler_flag_mtune_haswell - Failed > -- Performing Test compiler_flag_march_tremont > -- Performing Test compiler_flag_march_tremont - Failed > -- Performing Test compiler_flag_mtune_tremont > -- Performing Test compiler_flag_mtune_tremont - Failed > -- Performing Test compiler_flag_march_skylake_avx512 > -- Performing Test compiler_flag_march_skylake_avx512 - Failed > -- Performing Test compiler_flag_mtune_skylake_avx512 > -- Performing Test compiler_flag_mtune_skylake_avx512 - Failed > -- Performing Test compiler_flag_mprefer_vector_width_256 > -- Performing Test compiler_flag_mprefer_vector_width_256 - Failed > -- Performing Test compiler_flag_march_icelake_client > -- Performing Test compiler_flag_march_icelake_client - Failed > -- Performing Test compiler_flag_mtune_icelake_client > -- Performing Test compiler_flag_mtune_icelake_client - Failed > -- Performing Test compiler_flag_mprefer_vector_width_512 > -- Performing Test compiler_flag_mprefer_vector_width_512 - Failed > -- Looking for ccache > -- Looking for ccache - found > -- Performing Test compiler_flag_no_address_of_packed_member > -- Performing Test compiler_flag_no_address_of_packed_member - Success > -- Looking for pthread.h > -- Looking for pthread.h - found > -- Performing Test CMAKE_HAVE_LIBC_PTHREAD > -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed > -- Check if compiler accepts -pthread > -- Check if compiler accepts -pthread - yes > -- Found Threads: TRUE > -- Performing Test HAVE_FCNTL64 > -- Performing Test HAVE_FCNTL64 - Failed > -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "1.1.1i") > -- The ASM compiler identification is GNU > -- Found assembler: /usr/lib64/ccache/cc > -- Looking for libuuid > -- Found uuid in /usr/include > -- libbpf headers not found - af_xdp plugin disabled > -- Intel IPSecMB found: > /home/dev/code/vpp/build-root/install-vpp_debug-native/external/include > -- dpdk plugin needs libdpdk.a library - found at > /home/dev/code/vpp/build-root/install-vpp_debug-native/external/lib/libdpdk.a > > -- Found DPDK 21.5.0 in > /home/dev/code/vpp/build-root/install-vpp_debug-native/external/include > -- dpdk plugin needs numa library - found at /usr/lib64/libnuma.so > -- linux-cp plugin needs libnl-3.so library - found at > /usr/lib64/libnl-3.so > -- linux-cp plugin needs libnl-route-3.so.200 library - found at > /usr/lib64/libnl-route-3.so.200 > -- Found quicly 0.1.3-vpp in > /home/dev/code/vpp/build-root/install-vpp_debug-native/external/include > -- rdma plugin needs libibverbs.a library - found at > /home/dev/code/vpp/build-root/install-vpp_debug-native/external/lib/libibverbs.a > > -- rdma plugin needs librdma_util.a library - found at > /home/dev/code/vpp/build-root/install-vpp_debug-native/external/lib/librdma_util.a > > -- rdma plugin needs libmlx5.a library - found at > /home/dev/code/vpp/build-root/install-vpp_debug-native/external/lib/libmlx5.a > > -- Performing Test IBVERBS_COMPILES_CHECK > -- Performing Test IBVERBS_COMPILES_CHECK - Success > -- -- libdaq headers not found - snort3 DAQ disabled > -- -- libsrtp2.a library not found - srtp plugin disabled > -- tlsmbedtls plugin needs mbedtls library - found at > /usr/lib64/libmbedtls.so > -- tlsmbedtls plugin needs mbedx509 library - found at > /usr/lib64/libmbedx509.so > -- tlsmbedtls plugin needs mbedcrypto library - found at > /usr/lib64/libmbedcrypto.so > -- Looking for SSL_set_async_callback > -- Looking for SSL_set_async_callback - not found > -- Found picotls in > /home/dev/code/vpp/build-root/install-vpp_debug-native/external/include > and > /home/dev/code/vpp/build-root/install-vpp_debug-native/external/lib/libpicotls-core.a > > -- subunit library not found - vapi tests disabled > -- Found Python3: /usr/bin/python3.6 (found version "3.6.8") found > components: Interpreter > -- Configuration: > VPP version : 21.10-rc0~274-gee04de5 > VPP library version : 21.10 > GIT toplevel dir : /home/dev/code/vpp > Build type : debug > C flags : > Linker flags (apps) : > Linker flags (libs) : > Host processor : x86_64 > Target processor : x86_64 > Prefix path : /opt/vpp/external/x86_64 > /home/dev/code/vpp/build-root/install-vpp_debug-native/external > Install prefix : > /home/dev/code/vpp/build-root/install-vpp_debug-native/vpp > -- Configuring done > -- Generating done > -- Build files have been written to: > /home/dev/code/vpp/build-root/build-vpp_debug-native/vpp > @@@@ Building vpp in > /home/dev/code/vpp/build-root/build-vpp_debug-native/vpp @@@@ > [253/2034] Building C object CMake.../crypto_native_hsw.dir/aes_cbc.c.o > FAILED: > CMakeFiles/plugins/crypto_native/CMakeFiles/crypto_native_hsw.dir/aes_cbc.c.o > > ccache /usr/lib64/ccache/cc -DCLIB_DEBUG -I/home/dev/code/vpp/src > -ICMakeFiles -I/home/dev/code/vpp/src/plugins -ICMakeFiles/plugins -fPIC > -g -fPIC -Werror -Wall -Wno-address-of-packed-member -O0 -fstack-protector > -fno-common -march=haswell -maes -MD -MT > CMakeFiles/plugins/crypto_native/CMakeFiles/crypto_native_hsw.dir/aes_cbc.c.o > -MF > CMakeFiles/plugins/crypto_native/CMakeFiles/crypto_native_hsw.dir/aes_cbc.c.o.d > -o > CMakeFiles/plugins/crypto_native/CMakeFiles/crypto_native_hsw.dir/aes_cbc.c.o > -c /home/dev/code/vpp/src/plugins/crypto_native/aes_cbc.c > /home/dev/code/vpp/src/plugins/crypto_native/aes_cbc.c:1:0: error: bad > value (haswell) for -march= switch > /* > ^ > cc1: error: unrecognized command line option > "-Wno-address-of-packed-member" [-Werror] > cc1: all warnings being treated as errors > [256/2034] Building C object CMake.../crypto_native_hsw.dir/aes_gcm.c.o > FAILED: > CMakeFiles/plugins/crypto_native/CMakeFiles/crypto_native_hsw.dir/aes_gcm.c.o > > ccache /usr/lib64/ccache/cc -DCLIB_DEBUG -I/home/dev/code/vpp/src > -ICMakeFiles -I/home/dev/code/vpp/src/plugins -ICMakeFiles/plugins -fPIC > -g -fPIC -Werror -Wall -Wno-address-of-packed-member -O0 -fstack-protector > -fno-common -march=haswell -maes -MD -MT > CMakeFiles/plugins/crypto_native/CMakeFiles/crypto_native_hsw.dir/aes_gcm.c.o > -MF > CMakeFiles/plugins/crypto_native/CMakeFiles/crypto_native_hsw.dir/aes_gcm.c.o.d > -o > CMakeFiles/plugins/crypto_native/CMakeFiles/crypto_native_hsw.dir/aes_gcm.c.o > -c /home/dev/code/vpp/src/plugins/crypto_native/aes_gcm.c > /home/dev/code/vpp/src/plugins/crypto_native/aes_gcm.c:1:0: error: bad > value (haswell) for -march= switch > /* > ^ > cc1: error: unrecognized command line option > "-Wno-address-of-packed-member" [-Werror] > cc1: all warnings being treated as errors > [264/2034] Generating API header /...CMakeFiles/plugins/cnat/cnat.api.h > ninja: build stopped: subcommand failed. > make[1]: *** [vpp-build] Error 1 > make[1]: Leaving directory `/home/dev/code/vpp/build-root' > make: *** [build] Error 2 >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20022): https://lists.fd.io/g/vpp-dev/message/20022 Mute This Topic: https://lists.fd.io/mt/85151908/21656 Mute #vpp-dev:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp-dev Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-