Bug#1002989: nnpack: FTBFS undefined reference to `nnp_shdotxf[1-8]_avx2'

Andreas Beckmann anbe at debian.org
Sun Jan 2 10:05:00 GMT 2022


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nnpack_0.0~git20200414.57616b9-1.log.gz
Type: application/gzip
Size: 17068 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20220102/8efa6ee2/attachment.gz>


More information about the debian-science-maintainers mailing list