Created
May 20, 2022 08:36
-
-
Save Madouura/01bac15373b6569af269176095ffb120 to your computer and use it in GitHub Desktop.
zstd: riscv64 error log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[nixos@nixos:~]$ nix-shell -p zstd | |
this derivation will be built: | |
/nix/store/wpz79b0gp0gfv0nhzgmy0pcba9m5b87z-zstd-1.5.2.drv | |
building '/nix/store/wpz79b0gp0gfv0nhzgmy0pcba9m5b87z-zstd-1.5.2.drv'... | |
unpacking sources | |
unpacking source archive /nix/store/2ac7jy5m3cvwkc7k8x04r3l55mh9qffx-source | |
source root is source | |
patching sources | |
applying patch /nix/store/n91acyjrlchm0snw0w16i4683pf788ax-playtests-darwin.patch | |
patching file tests/playTests.sh | |
Hunk #2 succeeded at 1026 (offset 69 lines). | |
updateAutotoolsGnuConfigScriptsPhase | |
configuring | |
fixing cmake files... | |
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_SKIP_BUILD_RPATH=ON -DCMAKE_INSTALL_LOCALEDIR=/nix/store/2vzvxa7xix1v16vy08614a8xx7ahxazd-zstd-1.5.2/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/2vzvxa7xix1v16vy08614a8xx7ahxazd-zstd-1.5.2/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/2vzvxa7xix1v16vy08614a8xx7ahxazd-zstd-1.5.2/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/2vzvxa7xix1v16vy08614a8xx7ahxazd-zstd-1.5.2/share/doc/zstd -DCMAKE_INSTALL_INFODIR=/nix/store/vszd6ddfllhnz72qygbnnswlzmq7nayz-zstd-1.5.2-bin/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/k26wgxf58d7bj945pg0zdjy23bwq30sb-zstd-1.5.2-man/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/zi0p8cmyqbgk6rfiynla777dw1295z6f-zstd-1.5.2-dev/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/zi0p8cmyqbgk6rfiynla777dw1295z6f-zstd-1.5.2-dev/include -DCMAKE_INSTALL_SBINDIR=/nix/store/vszd6ddfllhnz72qygbnnswlzmq7nayz-zstd-1.5.2-bin/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/vszd6ddfllhnz72qygbnnswlzmq7nayz-zstd-1.5.2-bin/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/2vzvxa7xix1v16vy08614a8xx7ahxazd-zstd-1.5.2/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/kdzscgz0ald8c8fry8p3fmqk21qm0saf-gcc-wrapper-11.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/gmv095d7l9gaih11lgnr0nc5zpa6lpna-binutils-2.38/bin/ranlib -DCMAKE_AR=/nix/store/gmv095d7l9gaih11lgnr0nc5zpa6lpna-binutils-2.38/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/2vzvxa7xix1v16vy08614a8xx7ahxazd-zstd-1.5.2 -DZSTD_BUILD_CONTRIB:BOOL=ON -DZSTD_BUILD_SHARED:BOOL=ON -DZSTD_BUILD_STATIC:BOOL=OFF -DZSTD_BUILD_TESTS:BOOL=ON -DZSTD_LEGACY_SUPPORT:BOOL=OFF -DZSTD_PROGRAMS_LINK_SHARED:BOOL=ON | |
-- The C compiler identification is GNU 11.3.0 | |
-- The CXX compiler identification is GNU 11.3.0 | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Check for working C compiler: /nix/store/kdzscgz0ald8c8fry8p3fmqk21qm0saf-gcc-wrapper-11.3.0/bin/gcc - skipped | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Check for working CXX compiler: /nix/store/kdzscgz0ald8c8fry8p3fmqk21qm0saf-gcc-wrapper-11.3.0/bin/g++ - skipped | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done | |
-- ZSTD VERSION: 1.5.2 | |
-- Performing Test CXX_FLAG_STD_CPLUSPLUS11 | |
-- Performing Test CXX_FLAG_STD_CPLUSPLUS11 - Success | |
-- Performing Test C_FLAG_STD_C99 | |
-- Performing Test C_FLAG_STD_C99 - Success | |
-- Performing Test C_FLAG_WALL | |
-- Performing Test C_FLAG_WALL - Success | |
-- Performing Test CXX_FLAG_WALL | |
-- Performing Test CXX_FLAG_WALL - Success | |
-- Performing Test C_FLAG_WEXTRA | |
-- Performing Test C_FLAG_WEXTRA - Success | |
-- Performing Test CXX_FLAG_WEXTRA | |
-- Performing Test CXX_FLAG_WEXTRA - Success | |
-- Performing Test C_FLAG_WUNDEF | |
-- Performing Test C_FLAG_WUNDEF - Success | |
-- Performing Test CXX_FLAG_WUNDEF | |
-- Performing Test CXX_FLAG_WUNDEF - Success | |
-- Performing Test C_FLAG_WSHADOW | |
-- Performing Test C_FLAG_WSHADOW - Success | |
-- Performing Test CXX_FLAG_WSHADOW | |
-- Performing Test CXX_FLAG_WSHADOW - Success | |
-- Performing Test C_FLAG_WCAST_ALIGN | |
-- Performing Test C_FLAG_WCAST_ALIGN - Success | |
-- Performing Test CXX_FLAG_WCAST_ALIGN | |
-- Performing Test CXX_FLAG_WCAST_ALIGN - Success | |
-- Performing Test C_FLAG_WCAST_QUAL | |
-- Performing Test C_FLAG_WCAST_QUAL - Success | |
-- Performing Test CXX_FLAG_WCAST_QUAL | |
-- Performing Test CXX_FLAG_WCAST_QUAL - Success | |
-- Performing Test C_FLAG_WSTRICT_PROTOTYPES | |
-- Performing Test C_FLAG_WSTRICT_PROTOTYPES - Success | |
-- Performing Test C_FLAG_DDEBUGLEVEL_1 | |
-- Performing Test C_FLAG_DDEBUGLEVEL_1 - Success | |
-- Performing Test CXX_FLAG_DDEBUGLEVEL_1 | |
-- Performing Test CXX_FLAG_DDEBUGLEVEL_1 - Success | |
-- CMAKE_INSTALL_PREFIX: /nix/store/2vzvxa7xix1v16vy08614a8xx7ahxazd-zstd-1.5.2 | |
-- CMAKE_INSTALL_LIBDIR: /nix/store/2vzvxa7xix1v16vy08614a8xx7ahxazd-zstd-1.5.2/lib | |
-- ZSTD_LEGACY_SUPPORT not defined! | |
-- ZSTD_MULTITHREAD_SUPPORT is enabled | |
-- Looking for pthread.h | |
-- Looking for pthread.h - found | |
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD | |
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success | |
-- Found Threads: TRUE | |
-- The ASM compiler identification is GNU | |
-- Found assembler: /nix/store/kdzscgz0ald8c8fry8p3fmqk21qm0saf-gcc-wrapper-11.3.0/bin/gcc | |
-- Configuring done | |
-- Generating done | |
CMake Warning: | |
Manually-specified variables were not used by the project: | |
CMAKE_EXPORT_NO_PACKAGE_REGISTRY | |
-- Build files have been written to: /build/source/build_ | |
cmake: enabled parallel building | |
building | |
build flags: -j2 -l2 SHELL=/nix/store/2i50irdjbbdc38k42sj05dzdn6cs275z-bash-5.1-p16/bin/bash | |
Scanning dependencies of target libzstd_shared | |
[ 1%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/common/debug.c.o | |
[ 2%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/common/entropy_common.c.o | |
[ 3%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/common/error_private.c.o | |
[ 4%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/common/fse_decompress.c.o | |
[ 5%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/common/pool.c.o | |
[ 6%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/common/threading.c.o | |
[ 7%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/common/xxhash.c.o | |
[ 8%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/common/zstd_common.c.o | |
[ 9%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/compress/fse_compress.c.o | |
[ 10%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/compress/hist.c.o | |
[ 12%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/compress/huf_compress.c.o | |
[ 13%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/compress/zstd_compress.c.o | |
[ 14%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/compress/zstd_compress_literals.c.o | |
[ 15%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/compress/zstd_compress_sequences.c.o | |
[ 16%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/compress/zstd_compress_superblock.c.o | |
[ 17%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/compress/zstd_double_fast.c.o | |
[ 18%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/compress/zstd_fast.c.o | |
[ 19%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/compress/zstd_lazy.c.o | |
[ 20%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/compress/zstd_ldm.c.o | |
[ 21%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/compress/zstd_opt.c.o | |
[ 23%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/compress/zstdmt_compress.c.o | |
[ 24%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/decompress/huf_decompress.c.o | |
[ 25%] Building ASM object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/decompress/huf_decompress_amd64.S.o | |
[ 26%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/decompress/zstd_ddict.c.o | |
[ 27%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/decompress/zstd_decompress.c.o | |
[ 28%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/decompress/zstd_decompress_block.c.o | |
[ 29%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/dictBuilder/cover.c.o | |
[ 30%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/dictBuilder/divsufsort.c.o | |
[ 31%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/dictBuilder/fastcover.c.o | |
[ 32%] Building C object lib/CMakeFiles/libzstd_shared.dir/build/source/lib/dictBuilder/zdict.c.o | |
[ 34%] Linking C shared library libzstd.so | |
[ 34%] Built target libzstd_shared | |
[ 35%] Copying manpage zstd.1 | |
[ 35%] Built target zstd.1 | |
[ 36%] Copying manpage zstdgrep.1 | |
[ 36%] Built target zstdgrep.1 | |
[ 37%] Copying manpage zstdless.1 | |
[ 37%] Built target zstdless.1 | |
[ 38%] Creating zstdcat.1 symlink | |
[ 38%] Built target zstdcat.1 | |
[ 39%] Creating unzstd.1 symlink | |
[ 39%] Built target unzstd.1 | |
[ 40%] Building C object programs/CMakeFiles/zstd-frugal.dir/build/source/programs/zstdcli.c.o | |
[ 41%] Building C object programs/CMakeFiles/zstd-frugal.dir/build/source/programs/util.c.o | |
[ 42%] Building C object programs/CMakeFiles/zstd-frugal.dir/build/source/programs/timefn.c.o | |
[ 43%] Building C object programs/CMakeFiles/zstd-frugal.dir/build/source/programs/fileio.c.o | |
[ 45%] Linking C executable zstd-frugal | |
[ 45%] Built target zstd-frugal | |
[ 46%] Building C object tests/CMakeFiles/datagen.dir/build/source/programs/datagen.c.o | |
[ 47%] Building C object tests/CMakeFiles/datagen.dir/build/source/tests/datagencli.c.o | |
[ 48%] Linking C executable datagen | |
[ 48%] Built target datagen | |
[ 49%] Building C object tests/CMakeFiles/fullbench.dir/build/source/programs/datagen.c.o | |
[ 50%] Building C object tests/CMakeFiles/fullbench.dir/build/source/programs/util.c.o | |
[ 51%] Building C object tests/CMakeFiles/fullbench.dir/build/source/programs/timefn.c.o | |
[ 52%] Building C object tests/CMakeFiles/fullbench.dir/build/source/programs/benchfn.c.o | |
[ 53%] Building C object tests/CMakeFiles/fullbench.dir/build/source/programs/benchzstd.c.o | |
[ 54%] Building C object tests/CMakeFiles/fullbench.dir/build/source/tests/fullbench.c.o | |
[ 56%] Linking C executable fullbench | |
[ 56%] Built target fullbench | |
[ 57%] Building C object tests/CMakeFiles/fuzzer.dir/build/source/programs/datagen.c.o | |
[ 58%] Building C object tests/CMakeFiles/fuzzer.dir/build/source/programs/util.c.o | |
[ 59%] Building C object tests/CMakeFiles/fuzzer.dir/build/source/programs/timefn.c.o | |
[ 60%] Building C object tests/CMakeFiles/fuzzer.dir/build/source/tests/fuzzer.c.o | |
[ 61%] Linking C executable fuzzer | |
[ 61%] Built target fuzzer | |
[ 62%] Building C object tests/CMakeFiles/zstreamtest.dir/build/source/programs/datagen.c.o | |
[ 63%] Building C object tests/CMakeFiles/zstreamtest.dir/build/source/programs/util.c.o | |
[ 64%] Building C object tests/CMakeFiles/zstreamtest.dir/build/source/programs/timefn.c.o | |
[ 65%] Building C object tests/CMakeFiles/zstreamtest.dir/build/source/tests/seqgen.c.o | |
[ 67%] Building C object tests/CMakeFiles/zstreamtest.dir/build/source/tests/zstreamtest.c.o | |
[ 68%] Linking C executable zstreamtest | |
[ 68%] Built target zstreamtest | |
[ 69%] Building C object tests/CMakeFiles/paramgrill.dir/build/source/programs/benchfn.c.o | |
[ 70%] Building C object tests/CMakeFiles/paramgrill.dir/build/source/programs/benchzstd.c.o | |
[ 71%] Building C object tests/CMakeFiles/paramgrill.dir/build/source/programs/datagen.c.o | |
[ 72%] Building C object tests/CMakeFiles/paramgrill.dir/build/source/programs/util.c.o | |
[ 73%] Building C object tests/CMakeFiles/paramgrill.dir/build/source/programs/timefn.c.o | |
[ 74%] Building C object tests/CMakeFiles/paramgrill.dir/build/source/tests/paramgrill.c.o | |
[ 75%] Linking C executable paramgrill | |
[ 75%] Built target paramgrill | |
[ 76%] Building C object contrib/pzstd/CMakeFiles/pzstd.dir/build/source/programs/util.c.o | |
[ 78%] Building CXX object contrib/pzstd/CMakeFiles/pzstd.dir/build/source/contrib/pzstd/main.cpp.o | |
[ 79%] Building CXX object contrib/pzstd/CMakeFiles/pzstd.dir/build/source/contrib/pzstd/Options.cpp.o | |
[ 80%] Building CXX object contrib/pzstd/CMakeFiles/pzstd.dir/build/source/contrib/pzstd/Pzstd.cpp.o | |
[ 81%] Building CXX object contrib/pzstd/CMakeFiles/pzstd.dir/build/source/contrib/pzstd/SkippableFrame.cpp.o | |
[ 82%] Linking CXX executable pzstd | |
/nix/store/gmv095d7l9gaih11lgnr0nc5zpa6lpna-binutils-2.38/bin/ld: CMakeFiles/pzstd.dir/build/source/contrib/pzstd/Pzstd.cpp.o: in function `__gnu_cxx::__exchange_and_add_dispatch(int*, int)': | |
/nix/store/ag0swmagni5ki0fnp91rzmlmvyhswjf1-gcc-11.3.0/include/c++/11.3.0/ext/atomicity.h:101: undefined reference to `__atomic_compare_exchange_1' | |
/nix/store/gmv095d7l9gaih11lgnr0nc5zpa6lpna-binutils-2.38/bin/ld: CMakeFiles/pzstd.dir/build/source/contrib/pzstd/Pzstd.cpp.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_data(char*)': | |
/nix/store/ag0swmagni5ki0fnp91rzmlmvyhswjf1-gcc-11.3.0/include/c++/11.3.0/bits/basic_string.h:187: undefined reference to `__atomic_compare_exchange_1' | |
/nix/store/gmv095d7l9gaih11lgnr0nc5zpa6lpna-binutils-2.38/bin/ld: CMakeFiles/pzstd.dir/build/source/contrib/pzstd/Pzstd.cpp.o: in function `.L0 ': | |
/build/source/contrib/pzstd/Pzstd.cpp:277: undefined reference to `__atomic_compare_exchange_1' | |
/nix/store/gmv095d7l9gaih11lgnr0nc5zpa6lpna-binutils-2.38/bin/ld: CMakeFiles/pzstd.dir/build/source/contrib/pzstd/Pzstd.cpp.o: in function `std::_Sp_counted_deleter<unsigned char*, void (*)(unsigned char*), std::allocator<void>, (__gnu_cxx::_Lock_policy)1>::_Sp_counted_deleter(unsigned char*, void (*)(unsigned char*), std::allocator<void> const&)': | |
/nix/store/ag0swmagni5ki0fnp91rzmlmvyhswjf1-gcc-11.3.0/include/c++/11.3.0/bits/shared_ptr_base.h:436: undefined reference to `__atomic_compare_exchange_1' | |
/nix/store/gmv095d7l9gaih11lgnr0nc5zpa6lpna-binutils-2.38/bin/ld: CMakeFiles/pzstd.dir/build/source/contrib/pzstd/Pzstd.cpp.o: in function `std::__atomic_base<bool>::load(std::memory_order) const': | |
/nix/store/ag0swmagni5ki0fnp91rzmlmvyhswjf1-gcc-11.3.0/include/c++/11.3.0/bits/atomic_base.h:481: undefined reference to `__atomic_compare_exchange_1' | |
/nix/store/gmv095d7l9gaih11lgnr0nc5zpa6lpna-binutils-2.38/bin/ld: CMakeFiles/pzstd.dir/build/source/contrib/pzstd/Pzstd.cpp.o:/nix/store/ag0swmagni5ki0fnp91rzmlmvyhswjf1-gcc-11.3.0/include/c++/11.3.0/bits/atomic_base.h:571: more undefined references to `__atomic_compare_exchange_1' follow | |
collect2: error: ld returned 1 exit status | |
make[2]: *** [contrib/pzstd/CMakeFiles/pzstd.dir/build.make:162: contrib/pzstd/pzstd] Error 1 | |
make[1]: *** [CMakeFiles/Makefile2:683: contrib/pzstd/CMakeFiles/pzstd.dir/all] Error 2 | |
make: *** [Makefile:146: all] Error 2 | |
error: builder for '/nix/store/wpz79b0gp0gfv0nhzgmy0pcba9m5b87z-zstd-1.5.2.drv' failed with exit code 2; | |
last 10 log lines: | |
> /build/source/contrib/pzstd/Pzstd.cpp:277: undefined reference to `__atomic_compare_exchange_1' | |
> /nix/store/gmv095d7l9gaih11lgnr0nc5zpa6lpna-binutils-2.38/bin/ld: CMakeFiles/pzstd.dir/build/source/contrib/pzstd/Pzstd.cpp.o: in function `std::_Sp_counted_deleter<unsigned char*, void (*)(unsigned char*), std::allocator<void>, (__gnu_cxx::_Lock_policy)1>::_Sp_counted_deleter(unsigned char*, void (*)(unsigned char*), std::allocator<void> const&)': | |
> /nix/store/ag0swmagni5ki0fnp91rzmlmvyhswjf1-gcc-11.3.0/include/c++/11.3.0/bits/shared_ptr_base.h:436: undefined reference to `__atomic_compare_exchange_1' | |
> /nix/store/gmv095d7l9gaih11lgnr0nc5zpa6lpna-binutils-2.38/bin/ld: CMakeFiles/pzstd.dir/build/source/contrib/pzstd/Pzstd.cpp.o: in function `std::__atomic_base<bool>::load(std::memory_order) const': | |
> /nix/store/ag0swmagni5ki0fnp91rzmlmvyhswjf1-gcc-11.3.0/include/c++/11.3.0/bits/atomic_base.h:481: undefined reference to `__atomic_compare_exchange_1' | |
> /nix/store/gmv095d7l9gaih11lgnr0nc5zpa6lpna-binutils-2.38/bin/ld: CMakeFiles/pzstd.dir/build/source/contrib/pzstd/Pzstd.cpp.o:/nix/store/ag0swmagni5ki0fnp91rzmlmvyhswjf1-gcc-11.3.0/include/c++/11.3.0/bits/atomic_base.h:571: more undefined references to `__atomic_compare_exchange_1' follow | |
> collect2: error: ld returned 1 exit status | |
> make[2]: *** [contrib/pzstd/CMakeFiles/pzstd.dir/build.make:162: contrib/pzstd/pzstd] Error 1 | |
> make[1]: *** [CMakeFiles/Makefile2:683: contrib/pzstd/CMakeFiles/pzstd.dir/all] Error 2 | |
> make: *** [Makefile:146: all] Error 2 | |
For full logs, run 'nix log /nix/store/wpz79b0gp0gfv0nhzgmy0pcba9m5b87z-zstd-1.5.2.drv'. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment