Source: nnpack Version: 0.0~git20200414.57616b9-1 Severity: serious Tags: ftbfs Justification: fails to build from source
Hi, nnpack recently started to FTBFS, probably due to some updated toolchain packages: [ 45%] Linking CXX executable convolution-inference-alexnet-test /usr/bin/cmake -E cmake_link_script CMakeFiles/convolution-inference-alexnet-test.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/build/nnpack-0.0~git20200414.57616b9=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/convolution-inference-alexnet-test.dir/test/co nvolution-inference/alexnet.cc.o -o convolution-inference-alexnet-test libnnpack.a libnnpack_reference_layers.a -lcpuinfo -lpthread -lpthreadpool /usr/lib/x86_64-linux-gnu/libgtest.a -lpthread /usr/bin/ld: libnnpack.a(init.c.o):./obj-x86_64-linux-gnu/./src/init.c:119: undefined reference to `nnp_shdotxf1__avx2' /usr/bin/ld: libnnpack.a(init.c.o):(.data.rel.ro+0x8): undefined reference to `nnp_shdotxf2__avx2' /usr/bin/ld: libnnpack.a(init.c.o):(.data.rel.ro+0x10): undefined reference to `nnp_shdotxf3__avx2' /usr/bin/ld: libnnpack.a(init.c.o):(.data.rel.ro+0x18): undefined reference to `nnp_shdotxf4__avx2' /usr/bin/ld: libnnpack.a(init.c.o):(.data.rel.ro+0x20): undefined reference to `nnp_shdotxf5__avx2' /usr/bin/ld: libnnpack.a(init.c.o):(.data.rel.ro+0x28): undefined reference to `nnp_shdotxf6__avx2' /usr/bin/ld: libnnpack.a(init.c.o):(.data.rel.ro+0x30): undefined reference to `nnp_shdotxf7__avx2' /usr/bin/ld: libnnpack.a(init.c.o):(.data.rel.ro+0x38): undefined reference to `nnp_shdotxf8__avx2' collect2: error: ld returned 1 exit status make[3]: *** [CMakeFiles/convolution-inference-alexnet-test.dir/build.make:103: convolution-inference-alexnet-test] Error 1 In case it does matter, the CPU is an i7-9800X, i.e. the native target would be skylake-avx512. Andreas
nnpack_0.0~git20200414.57616b9-1.log.gz
Description: application/gzip