Closed yurivict closed 2 years ago
===> Testing for blasfeo-0.1.3 CMake Deprecation Warning at CMakeLists.txt:36 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. -- Using linear algebra: HIGH_PERFORMANCE -- Using matrix format: PANELMAJ -- Using external BLAS: 0 -- Testing target GENERIC: assembly compilation [success] -- Testing target GENERIC: assembly run [success] -- Testing target GENERIC: intrinsic compilation [success] -- Testing target GENERIC: intrinsic run [success] -- Compiling for target: GENERIC -- Configuring done -- Generating done -- Build files have been written to: /disk-samsung/freebsd-ports/math/blasfeo/work/.build [ 25% 4/4] : && /usr/bin/cc -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -DLA_HIGH_PERFORMANCE -DBLASFEO_REF_API -DMF_PANELMAJ -DK_MAX_STACK=300 -DBLAS_API -DUSE_C99_MATH -DEXT_DEP -DEXTERNAL_BLAS_NONE -O2 -fPIC -DTARGET_GENERIC -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong tests/CMakeFiles/test_d_blasfeo_api.dir/test_d_blasfeo_api.c.o -o tests/test_d_blasfeo_api -Wl,-rpath,/disk-samsung/freebsd-ports/math/blasfeo/work/.build libblasfeo.so -lm && : FAILED: tests/test_d_blasfeo_api : && /usr/bin/cc -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -DLA_HIGH_PERFORMANCE -DBLASFEO_REF_API -DMF_PANELMAJ -DK_MAX_STACK=300 -DBLAS_API -DUSE_C99_MATH -DEXT_DEP -DEXTERNAL_BLAS_NONE -O2 -fPIC -DTARGET_GENERIC -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong tests/CMakeFiles/test_d_blasfeo_api.dir/test_d_blasfeo_api.c.o -o tests/test_d_blasfeo_api -Wl,-rpath,/disk-samsung/freebsd-ports/math/blasfeo/work/.build libblasfeo.so -lm && : ld: error: libblasfeo.so: undefined reference to kernel_dpack_buffer_fn [--no-allow-shlib-undefined] ld: error: libblasfeo.so: undefined reference to kernel_dpack_buffer_ft [--no-allow-shlib-undefined] ld: error: libblasfeo.so: undefined reference to kernel_dpack_buffer_ln [--no-allow-shlib-undefined] ld: error: libblasfeo.so: undefined reference to kernel_dpack_buffer_lt [--no-allow-shlib-undefined] ld: error: libblasfeo.so: undefined reference to kernel_dpack_buffer_ut [--no-allow-shlib-undefined] cc: error: linker command failed with exit code 1 (use -v to see invocation) [ 50% 4/4] : && /usr/bin/cc -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -DLA_HIGH_PERFORMANCE -DBLASFEO_REF_API -DMF_PANELMAJ -DK_MAX_STACK=300 -DBLAS_API -DUSE_C99_MATH -DEXT_DEP -DEXTERNAL_BLAS_NONE -O2 -fPIC -DTARGET_GENERIC -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong tests/CMakeFiles/test_s_blasfeo_api.dir/test_s_blasfeo_api.c.o -o tests/test_s_blasfeo_api -Wl,-rpath,/disk-samsung/freebsd-ports/math/blasfeo/work/.build libblasfeo.so -lm && : FAILED: tests/test_s_blasfeo_api : && /usr/bin/cc -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -DLA_HIGH_PERFORMANCE -DBLASFEO_REF_API -DMF_PANELMAJ -DK_MAX_STACK=300 -DBLAS_API -DUSE_C99_MATH -DEXT_DEP -DEXTERNAL_BLAS_NONE -O2 -fPIC -DTARGET_GENERIC -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong tests/CMakeFiles/test_s_blasfeo_api.dir/test_s_blasfeo_api.c.o -o tests/test_s_blasfeo_api -Wl,-rpath,/disk-samsung/freebsd-ports/math/blasfeo/work/.build libblasfeo.so -lm && : ld: error: libblasfeo.so: undefined reference to kernel_dpack_buffer_fn [--no-allow-shlib-undefined] ld: error: libblasfeo.so: undefined reference to kernel_dpack_buffer_ft [--no-allow-shlib-undefined] ld: error: libblasfeo.so: undefined reference to kernel_dpack_buffer_ln [--no-allow-shlib-undefined] ld: error: libblasfeo.so: undefined reference to kernel_dpack_buffer_lt [--no-allow-shlib-undefined] ld: error: libblasfeo.so: undefined reference to kernel_dpack_buffer_ut [--no-allow-shlib-undefined] cc: error: linker command failed with exit code 1 (use -v to see invocation) [ 75% 4/4] : && /usr/bin/cc -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -DLA_HIGH_PERFORMANCE -DBLASFEO_REF_API -DMF_PANELMAJ -DK_MAX_STACK=300 -DBLAS_API -DUSE_C99_MATH -DEXT_DEP -DEXTERNAL_BLAS_NONE -O2 -fPIC -DTARGET_GENERIC -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong tests/CMakeFiles/test_s_blas_api.dir/test_s_blas_api.c.o -o tests/test_s_blas_api -Wl,-rpath,/disk-samsung/freebsd-ports/math/blasfeo/work/.build libblasfeo.so -lm && : FAILED: tests/test_s_blas_api : && /usr/bin/cc -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -DLA_HIGH_PERFORMANCE -DBLASFEO_REF_API -DMF_PANELMAJ -DK_MAX_STACK=300 -DBLAS_API -DUSE_C99_MATH -DEXT_DEP -DEXTERNAL_BLAS_NONE -O2 -fPIC -DTARGET_GENERIC -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong tests/CMakeFiles/test_s_blas_api.dir/test_s_blas_api.c.o -o tests/test_s_blas_api -Wl,-rpath,/disk-samsung/freebsd-ports/math/blasfeo/work/.build libblasfeo.so -lm && : ld: error: undefined symbol: sgemm_ >>> referenced by test_s_blas_api.c >>> tests/CMakeFiles/test_s_blas_api.dir/test_s_blas_api.c.o:(main) ld: error: undefined symbol: blasfeo_sgemm >>> referenced by test_s_blas_api.c >>> tests/CMakeFiles/test_s_blas_api.dir/test_s_blas_api.c.o:(main) ld: error: libblasfeo.so: undefined reference to kernel_dpack_buffer_fn [--no-allow-shlib-undefined] ld: error: libblasfeo.so: undefined reference to kernel_dpack_buffer_ft [--no-allow-shlib-undefined] ld: error: libblasfeo.so: undefined reference to kernel_dpack_buffer_ln [--no-allow-shlib-undefined] ld: error: libblasfeo.so: undefined reference to kernel_dpack_buffer_lt [--no-allow-shlib-undefined] ld: error: libblasfeo.so: undefined reference to kernel_dpack_buffer_ut [--no-allow-shlib-undefined] cc: error: linker command failed with exit code 1 (use -v to see invocation) [100% 4/4] : && /usr/bin/cc -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -DLA_HIGH_PERFORMANCE -DBLASFEO_REF_API -DMF_PANELMAJ -DK_MAX_STACK=300 -DBLAS_API -DUSE_C99_MATH -DEXT_DEP -DEXTERNAL_BLAS_NONE -O2 -fPIC -DTARGET_GENERIC -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong tests/CMakeFiles/test_d_blas_api.dir/test_d_blas_api.c.o -o tests/test_d_blas_api -Wl,-rpath,/disk-samsung/freebsd-ports/math/blasfeo/work/.build libblasfeo.so -lm && : FAILED: tests/test_d_blas_api : && /usr/bin/cc -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -DLA_HIGH_PERFORMANCE -DBLASFEO_REF_API -DMF_PANELMAJ -DK_MAX_STACK=300 -DBLAS_API -DUSE_C99_MATH -DEXT_DEP -DEXTERNAL_BLAS_NONE -O2 -fPIC -DTARGET_GENERIC -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong tests/CMakeFiles/test_d_blas_api.dir/test_d_blas_api.c.o -o tests/test_d_blas_api -Wl,-rpath,/disk-samsung/freebsd-ports/math/blasfeo/work/.build libblasfeo.so -lm && : ld: error: undefined symbol: dsyrk_ >>> referenced by test_d_blas_api.c >>> tests/CMakeFiles/test_d_blas_api.dir/test_d_blas_api.c.o:(main) ld: error: undefined symbol: blas_dsyrk >>> referenced by test_d_blas_api.c >>> tests/CMakeFiles/test_d_blas_api.dir/test_d_blas_api.c.o:(main) ld: error: libblasfeo.so: undefined reference to kernel_dpack_buffer_fn [--no-allow-shlib-undefined] ld: error: libblasfeo.so: undefined reference to kernel_dpack_buffer_ft [--no-allow-shlib-undefined] ld: error: libblasfeo.so: undefined reference to kernel_dpack_buffer_ln [--no-allow-shlib-undefined] ld: error: libblasfeo.so: undefined reference to kernel_dpack_buffer_lt [--no-allow-shlib-undefined] ld: error: libblasfeo.so: undefined reference to kernel_dpack_buffer_ut [--no-allow-shlib-undefined] cc: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. *** Error code 1
Version: 0.1.3 clang-13 FreeBSD 13
Hi,
the issue with undefined reference to kernel_dpack_buffer_xx has been fixed in the current master branch about one month ago https://github.com/giaf/blasfeo/commit/a759241e98769bf94db395120c54f061925f8606
kernel_dpack_buffer_xx
Version: 0.1.3 clang-13 FreeBSD 13