Skip to content

Instantly share code, notes, and snippets.

@mgdm

mgdm/build.txt Secret

Last active October 15, 2019 20:44
Show Gist options
  • Save mgdm/eed1c8123c7ddc95b5ac2c1ad8b98619 to your computer and use it in GitHub Desktop.
Save mgdm/eed1c8123c7ddc95b5ac2c1ad8b98619 to your computer and use it in GitHub Desktop.
these derivations will be built:
/nix/store/c1gvl1ds72447fy245ipwv4j6zm0jcra-cado-nfs-2.3.0.drv
building '/nix/store/c1gvl1ds72447fy245ipwv4j6zm0jcra-cado-nfs-2.3.0.drv'...
unpacking sources
unpacking source archive /nix/store/c4rsismxiaqnyhldr2ypcfqj2b7ynphr-cado-nfs
source root is cado-nfs
patching sources
configuring
fixing cmake files...
cmake flags: -DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/s57qsdrfzmf9a7zs6m7ri622gglfm0fh-cado-nfs-2.3.0/include -DCMAKE_INSTALL_LIBDIR=/nix/store/s57qsdrfzmf9a7zs6m7ri622gglfm0fh-cado-nfs-2.3.0/lib -DCMAKE_INSTALL_NAME_DIR=/nix/store/s57qsdrfzmf9a7zs6m7ri622gglfm0fh-cado-nfs-2.3.0/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_DEPLOYMENT_TARGET= -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=last -DCMAKE_STRIP=/nix/store/0y7jmqnj48ikjh37n3dl9kqw9hnn68nq-binutils-2.31.1/bin/strip -DCMAKE_RANLIB=/nix/store/0y7jmqnj48ikjh37n3dl9kqw9hnn68nq-binutils-2.31.1/bin/ranlib -DCMAKE_AR=/nix/store/0y7jmqnj48ikjh37n3dl9kqw9hnn68nq-binutils-2.31.1/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/s57qsdrfzmf9a7zs6m7ri622gglfm0fh-cado-nfs-2.3.0 -DCMAKE_INSTALL_PREFIX=$out
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Check for working C compiler: /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc
-- Check for working C compiler: /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/g++
-- Check for working CXX compiler: /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
head: cannot open '../.git_version' for reading: No such file or directory
-- Configuring CADO revision
-- CC=/nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc (from environment)
-- CXX=/nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/g++ (from environment)
-- C compiler: GNU 7.4.0
-- C++ compiler: GNU 7.4.0
-- Enabling C++11 support
-- CFLAGS=-std=c99 -g -W -Wall (synthetized)
-- CXXFLAGS=-std=c++11 -g -W -Wall -Wno-literal-suffix (synthetized)
-- GMP_INCDIR=/nix/store/q9qrrrz09fazn055v7qwyf2ckqgxhgfm-gmp-6.1.2-dev/include
-- GMP_LIBDIR=/nix/store/p6lv38iv2ajr0501187b40ylmh3r73y5-gmp-6.1.2/lib
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned long int
-- Check size of unsigned long int - done
-- Check size of unsigned long long int
-- Check size of unsigned long long int - done
-- bits in unsigned long: 64
-- bits in unsigned long long: 64
-- Testing for gmp_random predictability
-- Testing for gmp_random predictability -- ok
-- Testing whether sse-2 code can be used
-- Testing whether sse-2 code can be used -- Yes
-- Testing whether sse-3 code can be used
-- Testing whether sse-3 code can be used -- Yes, with -msse3
-- Testing whether ssse-3 code can be used
-- Testing whether ssse-3 code can be used -- Yes, with -mssse3
-- Testing whether sse-4.1 code can be used
-- Testing whether sse-4.1 code can be used -- Yes, with -msse4.1
-- Testing whether avx code can be used
-- Testing whether avx code can be used -- Yes, with -mavx
-- Testing whether avx2 code can be used
-- Testing whether avx2 code can be used -- Yes, with -mavx2
-- Testing whether pclmul code can be used
-- Testing whether pclmul code can be used -- Yes, with -mpclmul
-- Trying to compile gcc-style x86_64 inline assembly
-- Trying to compile gcc-style x86_64 inline assembly -- Success
-- Testing known bugs for compiler
-- Testing known bugs for compiler -- None found
-- Trying to compile gas-syntax assembly sources
-- Trying to compile gas-syntax assembly sources -- Success
-- Checking for alloca.h
-- Checking for alloca.h -- found in /nix/store/sr4253np2gz2bpha4gn8gqlmiw604155-glibc-2.27-dev/include
-- Looking for log2
-- Looking for log2 - requires m
-- Looking for exp2
-- Looking for exp2 - requires m
-- Looking for cabsl
-- Looking for cabsl - requires m
-- Looking for clog
-- Looking for clog - requires m
CMake Warning (dev) at /nix/store/k5xpvjc70is36vi7pwidww19bn7pchkv-cmake-3.13.4/share/cmake-3.13/Modules/CheckIncludeFiles.cmake:110 (message):
Policy CMP0075 is not set: Include file check macros honor
CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
CMAKE_REQUIRED_LIBRARIES is set to:
m
For compatibility with CMake 3.11 and below this check is ignoring it.
Call Stack (most recent call first):
config/posix.cmake:9 (CHECK_INCLUDE_FILES)
CMakeLists.txt:281 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Looking for include file sys/resource.h
-- Looking for include file sys/resource.h - found
-- Looking for include file sys/utsname.h
-- Looking for include file sys/utsname.h - found
-- Looking for include file sys/mman.h
-- Looking for include file sys/mman.h - found
-- Looking for include file sys/statvfs.h
-- Looking for include file sys/statvfs.h - found
-- Looking for include file sys/wait.h
-- Looking for include file sys/wait.h - found
-- Looking for include file libgen.h
-- Looking for include file libgen.h - found
-- Looking for include file sys/mman.h
-- Looking for include file sys/mman.h - found
-- Looking for SIGHUP
-- Looking for SIGHUP - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for nanosleep
-- Looking for nanosleep - found
-- Looking for usleep
-- Looking for usleep - found
-- Looking for popen
-- Looking for popen - found
-- Looking for pclose
-- Looking for pclose - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for lrand48
-- Looking for lrand48 - found
-- Looking for strdup
-- Looking for strdup - found
-- Looking for strndup
-- Looking for strndup - found
-- Looking for sigaction
-- Looking for sigaction - found
-- Looking for waitpid
-- Looking for waitpid - found
-- Looking for ctime_r
-- Looking for ctime_r - found
-- Looking for realpath
-- Looking for realpath - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Testing whether RUSAGE_THREAD can be used
-- Trying to compile with RUSAGE_THREAD -- Success
-- Testing the existence of __sync_fetch functions
-- Testing the existence of __sync_fetch functions -- Success
-- Testing the existence of asprintf/vasprintf functions
-- Testing the existence of asprintf/vasprintf functions -- Success
-- Checking for MinGW
-- Checking for MinGW -- no
-- Testing if rand() gives true alea
-- Testing if rand() gives true alea -- Probably
-- Testing if srand() yields a deterministic sequence
-- Performing Test SRAND_CHECK
-- Performing Test SRAND_CHECK - Success
-- Testing if srand() yields a deterministic sequence -- Yes
-- Testing if an int can be read from and written to an odd address
-- Testing if an int can be read from and written to an odd address -- Yes
-- Looking for strlcpy
-- Looking for strlcpy - not found
-- Looking for strlcat
-- Looking for strlcat - not found
-- Looking for include file linux/binfmts.h
-- Looking for include file linux/binfmts.h - found
-- HWLOC_INCDIR=HWLOC_INCDIR-NOTFOUND
-- HWLOC_LIB=HWLOC_LIB-NOTFOUND
-- /nix/store/w0rck0g2i12c7zmmcmngfpnszc5238ry-python3-3.7.4/bin/python3 --version returned: Python 3.7.4
-- Importing module sqlite3 in Python succeeded.
-- Perl version is 5.28.1
-- Performing Test HAVE_STD_SHARED_PTR_BASIC
-- Performing Test HAVE_STD_SHARED_PTR_BASIC - Success
-- Performing Test HAS_NOT_BUG_21397_STD_VERSION
-- Performing Test HAS_NOT_BUG_21397_STD_VERSION - Success
-- Looking for C++ include cxxabi.h
-- Looking for C++ include cxxabi.h - found
-- Looking for include file regex.h
-- Looking for include file regex.h - found
-- Building with static libraries (ENABLE_SHARED="")
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Looking for pthread_barrier_wait
-- Looking for pthread_barrier_wait - found
-- MPI is not enabled
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Using libs: (math) (pthreads)
-- GF(p) implementations enabled for DL linear algebra: p_1, p_2, p_3, p_4, p_5, p_6, p_7, p_8, p_9, p_10, p_11, p_12, p_13, p_14, p_15, pz
-- GF(p) SpMV backends for DL linear algebra: basicp, zone
-- GF(2) implementations enabled for linear algebra: u64k1, u64k2, u64k3, u64k4
-- GF(2) SpMV backends for linear algebra: bucket, basic, sliced
-- Main scripts will go to /build/cado-nfs/build/$out/bin
-- Libraries and binaries will go to /build/cado-nfs/build/$out/lib/cado-nfs-2.3.0
-- Data will go to /build/cado-nfs/build/$out/share/cado-nfs-2.3.0
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_INSTALL_INCLUDEDIR
CMAKE_INSTALL_LIBDIR
-- Build files have been written to: /build/cado-nfs/build
cmake: enabled parallel building
building
build flags: -j4 -l4 SHELL=/nix/store/cinw572b38aln37glr0zb8lxwrgaffl4-bash-4.4-p23/bin/bash
Scanning dependencies of target gf2x-build
Scanning dependencies of target list_modified_files
Scanning dependencies of target trialdiv
Scanning dependencies of target antebuffer
[ 0%] Generating list of modified files in working tree
[ 0%] Configuring gf2x
/nix/store/cinw572b38aln37glr0zb8lxwrgaffl4-bash-4.4-p23/bin/bash: /build/cado-nfs/scripts/list_modified_files.sh: /usr/bin/env: bad interpreter: No such file or directory
[ 0%] Building C object sieve/CMakeFiles/trialdiv.dir/trialdiv.c.o
make[2]: *** [utils/CMakeFiles/list_modified_files.dir/build.make:58: utils/CMakeFiles/list_modified_files] Error 126
make[1]: *** [CMakeFiles/Makefile2:310: utils/CMakeFiles/list_modified_files.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Configuring gf2x with options --disable-shared --disable-dependency-tracking --enable-fft-interface CC=/nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc CXX=/nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/g++ CFLAGS=-std=c99 -g -W -Wall -I/nix/store/q9qrrrz09fazn055v7qwyf2ckqgxhgfm-gmp-6.1.2-dev/include -I/build/cado-nfs CXXFLAGS=-std=c++11 -g -W -Wall -Wno-literal-suffix -I/nix/store/q9qrrrz09fazn055v7qwyf2ckqgxhgfm-gmp-6.1.2-dev/include -I/build/cado-nfs LDFLAGS=-Wl,-rpath,/nix/store/p6lv38iv2ajr0501187b40ylmh3r73y5-gmp-6.1.2/lib -L/nix/store/p6lv38iv2ajr0501187b40ylmh3r73y5-gmp-6.1.2/lib
/nix/store/cinw572b38aln37glr0zb8lxwrgaffl4-bash-4.4-p23/bin/bash: /build/cado-nfs/build/ccwrap.pl: /usr/bin/env: bad interpreter: No such file or directory
make[2]: *** [sieve/CMakeFiles/trialdiv.dir/build.make:63: sieve/CMakeFiles/trialdiv.dir/trialdiv.c.o] Error 126
make[1]: *** [CMakeFiles/Makefile2:904: sieve/CMakeFiles/trialdiv.dir/all] Error 2
[ 0%] Building C object utils/CMakeFiles/antebuffer.dir/antebuffer.c.o
/nix/store/cinw572b38aln37glr0zb8lxwrgaffl4-bash-4.4-p23/bin/bash: /build/cado-nfs/build/ccwrap.pl: /usr/bin/env: bad interpreter: No such file or directory
make[2]: *** [utils/CMakeFiles/antebuffer.dir/build.make:63: utils/CMakeFiles/antebuffer.dir/antebuffer.c.o] Error 126
make[2]: *** Waiting for unfinished jobs....
[ 0%] Building CXX object utils/CMakeFiles/antebuffer.dir/timing.cpp.o
/nix/store/cinw572b38aln37glr0zb8lxwrgaffl4-bash-4.4-p23/bin/bash: /build/cado-nfs/build/cxxwrap.pl: /usr/bin/env: bad interpreter: No such file or directory
make[2]: *** [utils/CMakeFiles/antebuffer.dir/build.make:76: utils/CMakeFiles/antebuffer.dir/timing.cpp.o] Error 126
[ 0%] Building C object utils/CMakeFiles/antebuffer.dir/memusage.c.o
/nix/store/cinw572b38aln37glr0zb8lxwrgaffl4-bash-4.4-p23/bin/bash: /build/cado-nfs/build/ccwrap.pl: /usr/bin/env: bad interpreter: No such file or directory
make[2]: *** [utils/CMakeFiles/antebuffer.dir/build.make:89: utils/CMakeFiles/antebuffer.dir/memusage.c.o] Error 126
make[1]: *** [CMakeFiles/Makefile2:273: utils/CMakeFiles/antebuffer.dir/all] Error 2
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc accepts -g... yes
checking for /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc option to accept ISO C89... none needed
checking whether /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc understands -c and -o together... yes
checking how to run the C preprocessor... /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc -E
checking for grep that handles long lines and -e... /nix/store/wnjv27b3j6jfdl0968xpcymlc7chpqil-gnugrep-3.3/bin/grep
checking for egrep... /nix/store/wnjv27b3j6jfdl0968xpcymlc7chpqil-gnugrep-3.3/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for a BSD-compatible install... /nix/store/d9s1kq1bnwqgxwcvv4zrc36ysnxg8gv7-coreutils-8.30/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /nix/store/d9s1kq1bnwqgxwcvv4zrc36ysnxg8gv7-coreutils-8.30/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc... none
checking whether to enable maintainer-specific portions of Makefiles... no
checking how to print strings... printf
checking for a sed that does not truncate output... /nix/store/x1khw8x0465xhkv6w31af75syyyxc65j-gnused-4.7/bin/sed
checking for fgrep... /nix/store/wnjv27b3j6jfdl0968xpcymlc7chpqil-gnugrep-3.3/bin/grep -F
checking for ld used by /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc... ld
checking if the linker (ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse nm output from /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc object... ok
checking for sysroot... no
checking for a working dd... /nix/store/d9s1kq1bnwqgxwcvv4zrc36ysnxg8gv7-coreutils-8.30/bin/dd
checking how to truncate binary pipes... /nix/store/d9s1kq1bnwqgxwcvv4zrc36ysnxg8gv7-coreutils-8.30/bin/dd bs=4096 count=1
/build/cado-nfs/gf2x/configure: line 7321: /usr/bin/file: No such file or directory
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc supports -fno-rtti -fno-exceptions... no
checking for /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc option to produce PIC... -fPIC -DPIC
checking if /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc PIC flag -fPIC -DPIC works... yes
checking if /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc static flag -static works... no
checking if /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc supports -c -o file.o... yes
checking if /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc supports -c -o file.o... (cached) yes
checking whether the /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc linker (ld) supports shared libraries... /nix/store/0y7jmqnj48ikjh37n3dl9kqw9hnn68nq-binutils-2.31.1/bin/ld: warning: cannot find entry symbol _start; not setting start address
yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for gcc... (cached) /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc accepts -g... (cached) yes
checking for /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc option to accept ISO C89... (cached) none needed
checking whether /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc understands -c and -o together... (cached) yes
checking whether we are using the GNU C++ compiler... yes
checking whether /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/g++ accepts -g... yes
checking dependency style of /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/g++... none
checking how to run the C++ preprocessor... /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/g++ -E
checking for ld used by /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/g++... ld
checking if the linker (ld) is GNU ld... yes
checking whether the /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/g++ linker (ld) supports shared libraries... yes
checking for /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/g++ option to produce PIC... -fPIC -DPIC
checking if /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/g++ PIC flag -fPIC -DPIC works... yes
checking if /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/g++ static flag -static works... no
checking if /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/g++ supports -c -o file.o... yes
checking if /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/g++ supports -c -o file.o... (cached) yes
checking whether the /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/g++ linker (ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking warning verbosity option... -Wall -W for C++ -Wall -W for C
checking for /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc option to accept ISO C99... none needed
checking how to run the C preprocessor... /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc -E
checking build system compiler /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc... yes
checking for build system executable suffix...
checking size of unsigned long... 8
checking whether /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc can compile and run sse-2 code... yes
checking whether -msse2 is also understood by the preprocessor... yes
checking whether /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc can compile and run sse-3 code... yes
checking whether -msse3 is also understood by the preprocessor... yes
checking whether /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc can compile and run ssse3 code... yes
checking whether -mssse3 is also understood by the preprocessor... yes
checking whether /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc can compile and run sse-4.1 code... yes
checking whether -msse4.1 is also understood by the preprocessor... yes
checking whether /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc can compile pclmulqdq and if it is supported by the hardware... yes
checking whether -mpclmul is also understood by the preprocessor... yes
configure: using ABI="default"
configure: CC="/nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc"
configure: CFLAGS="-std=c99 -g -W -Wall -I/nix/store/q9qrrrz09fazn055v7qwyf2ckqgxhgfm-gmp-6.1.2-dev/include -I/build/cado-nfs -Wall -W -msse2 -msse3 -mssse3 -msse4.1 -mpclmul"
configure: CPPFLAGS=" -msse2 -msse3 -mssse3 -msse4.1 -mpclmul"
configure: hwdir="x86_64_pclmul"
checking the number of bits in an unsigned long... 64
checking whether already_tuned/x86_64_pclmul/ is right assuming 64-bits unsigned longs... yes
4
4
File /build/cado-nfs/gf2x/toom-gpl.c is a placeholder, using an LGPL-licensed gf2x
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating version.sh
config.status: creating Makefile
config.status: creating tests/Makefile
config.status: creating lowlevel/Makefile
config.status: creating src/Makefile
config.status: creating fft/Makefile
config.status: creating apps/Makefile
config.status: creating gf2x/gf2x-config.h
config.status: creating gf2x/gf2x-config-export.h
config.status: linking /build/cado-nfs/gf2x/already_tuned/x86_64_pclmul/gf2x-thresholds.h to gf2x/gf2x-thresholds.h
config.status: linking /build/cado-nfs/gf2x/already_tuned/x86_64_pclmul/gf2x_mul1.h to gf2x/gf2x_mul1.h
config.status: linking /build/cado-nfs/gf2x/already_tuned/x86_64_pclmul/gf2x_mul2.h to gf2x/gf2x_mul2.h
config.status: linking /build/cado-nfs/gf2x/already_tuned/x86_64_pclmul/gf2x_mul3.h to gf2x/gf2x_mul3.h
config.status: linking /build/cado-nfs/gf2x/already_tuned/x86_64_pclmul/gf2x_mul4.h to gf2x/gf2x_mul4.h
config.status: linking /build/cado-nfs/gf2x/already_tuned/x86_64_pclmul/gf2x_mul5.h to gf2x/gf2x_mul5.h
config.status: linking /build/cado-nfs/gf2x/already_tuned/x86_64_pclmul/gf2x_mul6.h to gf2x/gf2x_mul6.h
config.status: linking /build/cado-nfs/gf2x/already_tuned/x86_64_pclmul/gf2x_mul7.h to gf2x/gf2x_mul7.h
config.status: linking /build/cado-nfs/gf2x/already_tuned/x86_64_pclmul/gf2x_mul8.h to gf2x/gf2x_mul8.h
config.status: linking /build/cado-nfs/gf2x/already_tuned/x86_64_pclmul/gf2x_mul9.h to gf2x/gf2x_mul9.h
config.status: executing depfiles commands
config.status: executing libtool commands
[ 0%] Building gf2x
make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
Making all in lowlevel
Making all in src
Making all in .
libtool: compile: /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc -DHAVE_CONFIG_H -I. -I/build/cado-nfs/gf2x -I./gf2x -I/build/cado-nfs/gf2x -I. -I/build/cado-nfs/gf2x/mpfq -I/build/cado-nfs/gf2x/fft/mpfq -msse2 -msse3 -mssse3 -msse4.1 -mpclmul -DCANTOR_BASE_FIELD_SIZE=128 -std=c99 -g -W -Wall -I/nix/store/q9qrrrz09fazn055v7qwyf2ckqgxhgfm-gmp-6.1.2-dev/include -I/build/cado-nfs -Wall -W -msse2 -msse3 -mssse3 -msse4.1 -mpclmul -c /build/cado-nfs/gf2x/gf2x.c -o libgf2x_la-gf2x.o
libtool: compile: /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc -DHAVE_CONFIG_H -I. -I/build/cado-nfs/gf2x -I./gf2x -I/build/cado-nfs/gf2x -I. -I/build/cado-nfs/gf2x/mpfq -I/build/cado-nfs/gf2x/fft/mpfq -msse2 -msse3 -mssse3 -msse4.1 -mpclmul -DCANTOR_BASE_FIELD_SIZE=128 -std=c99 -g -W -Wall -I/nix/store/q9qrrrz09fazn055v7qwyf2ckqgxhgfm-gmp-6.1.2-dev/include -I/build/cado-nfs -Wall -W -msse2 -msse3 -mssse3 -msse4.1 -mpclmul -c /build/cado-nfs/gf2x/toom.c -o libgf2x_la-toom.o
libtool: compile: /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc -DHAVE_CONFIG_H -I. -I/build/cado-nfs/gf2x -I./gf2x -I/build/cado-nfs/gf2x -I. -I/build/cado-nfs/gf2x/mpfq -I/build/cado-nfs/gf2x/fft/mpfq -msse2 -msse3 -mssse3 -msse4.1 -mpclmul -DCANTOR_BASE_FIELD_SIZE=128 -std=c99 -g -W -Wall -I/nix/store/q9qrrrz09fazn055v7qwyf2ckqgxhgfm-gmp-6.1.2-dev/include -I/build/cado-nfs -Wall -W -msse2 -msse3 -mssse3 -msse4.1 -mpclmul -c /build/cado-nfs/gf2x/toom128.c -o libgf2x_la-toom128.o
libtool: compile: /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc -DHAVE_CONFIG_H -I. -I/build/cado-nfs/gf2x -I./gf2x -I/build/cado-nfs/gf2x -I. -I/build/cado-nfs/gf2x/mpfq -I/build/cado-nfs/gf2x/fft/mpfq -msse2 -msse3 -mssse3 -msse4.1 -mpclmul -DCANTOR_BASE_FIELD_SIZE=128 -std=c99 -g -W -Wall -I/nix/store/q9qrrrz09fazn055v7qwyf2ckqgxhgfm-gmp-6.1.2-dev/include -I/build/cado-nfs -Wall -W -msse2 -msse3 -mssse3 -msse4.1 -mpclmul -c /build/cado-nfs/gf2x/toom-gpl.c -o libgf2x_la-toom-gpl.o
libtool: compile: /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc -DHAVE_CONFIG_H -I. -I/build/cado-nfs/gf2x -I./gf2x -I/build/cado-nfs/gf2x -I. -I/build/cado-nfs/gf2x/mpfq -I/build/cado-nfs/gf2x/fft/mpfq -msse2 -msse3 -mssse3 -msse4.1 -mpclmul -DCANTOR_BASE_FIELD_SIZE=128 -std=c99 -g -W -Wall -I/nix/store/q9qrrrz09fazn055v7qwyf2ckqgxhgfm-gmp-6.1.2-dev/include -I/build/cado-nfs -Wall -W -msse2 -msse3 -mssse3 -msse4.1 -mpclmul -c /build/cado-nfs/gf2x/fft/gf2x-ternary-fft.c -o fft/libgf2x_la-gf2x-ternary-fft.o
libtool: compile: /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc -DHAVE_CONFIG_H -I. -I/build/cado-nfs/gf2x -I./gf2x -I/build/cado-nfs/gf2x -I. -I/build/cado-nfs/gf2x/mpfq -I/build/cado-nfs/gf2x/fft/mpfq -msse2 -msse3 -mssse3 -msse4.1 -mpclmul -DCANTOR_BASE_FIELD_SIZE=128 -std=c99 -g -W -Wall -I/nix/store/q9qrrrz09fazn055v7qwyf2ckqgxhgfm-gmp-6.1.2-dev/include -I/build/cado-nfs -Wall -W -msse2 -msse3 -mssse3 -msse4.1 -mpclmul -c /build/cado-nfs/gf2x/fft/gf2x-fake-fft.c -o fft/libgf2x_la-gf2x-fake-fft.o
libtool: compile: /nix/store/ghzg4kg0sjif58smj2lfm2bdvjwim85y-gcc-wrapper-7.4.0/bin/gcc -DHAVE_CONFIG_H -I. -I/build/cado-nfs/gf2x -I./gf2x -I/build/cado-nfs/gf2x -I. -I/build/cado-nfs/gf2x/mpfq -I/build/cado-nfs/gf2x/fft/mpfq -msse2 -msse3 -mssse3 -msse4.1 -mpclmul -DCANTOR_BASE_FIELD_SIZE=128 -std=c99 -g -W -Wall -I/nix/store/q9qrrrz09fazn055v7qwyf2ckqgxhgfm-gmp-6.1.2-dev/include -I/build/cado-nfs -Wall -W -msse2 -msse3 -mssse3 -msse4.1 -mpclmul -c /build/cado-nfs/gf2x/fft/gf2x-cantor-fft.c -o fft/libgf2x_la-gf2x-cantor-fft.o
libtool: link: ar cru .libs/libgf2x.a libgf2x_la-gf2x.o libgf2x_la-toom.o libgf2x_la-toom128.o libgf2x_la-toom-gpl.o fft/libgf2x_la-gf2x-ternary-fft.o fft/libgf2x_la-gf2x-fake-fft.o fft/libgf2x_la-gf2x-cantor-fft.o
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib .libs/libgf2x.a
libtool: link: ( cd ".libs" && rm -f "libgf2x.la" && ln -s "../libgf2x.la" "libgf2x.la" )
Making all in fft
Making all in tests
[ 0%] Built target gf2x-build
make: *** [Makefile:141: all] Error 2
builder for '/nix/store/c1gvl1ds72447fy245ipwv4j6zm0jcra-cado-nfs-2.3.0.drv' failed with exit code 2
error: build of '/nix/store/c1gvl1ds72447fy245ipwv4j6zm0jcra-cado-nfs-2.3.0.drv' failed
Derive([("out","/nix/store/s57qsdrfzmf9a7zs6m7ri622gglfm0fh-cado-nfs-2.3.0","","")],[("/nix/store/1srkql8wirn2bki2j6633zcq573asyy9-bash-4.4-p23.drv",["out"]),("/nix/store/67xf0rlwdlbrl8y524j0nlxp4z3q9ss0-coreutils-8.30.drv",["out"]),("/nix/store/76a8fmd5bbcky78sfd4xai262cpin0rg-perl-5.28.1.drv",["out"]),("/nix/store/99x0ng15s8xyfi1gxpcyr57438ypfi6b-gmp-6.1.2.drv",["dev"]),("/nix/store/9hr2d4jnff2w0rf2lcdavh3ymvyvcapp-vim-8.1.0578.drv",["out"]),("/nix/store/d1gjiiwb2dh5cb5r5as4a1gdv69a1bfj-cado-nfs.drv",["out"]),("/nix/store/n92pgp5f6a7i2531f0x4kx1fkb504l22-stdenv-linux.drv",["out"]),("/nix/store/r2fpl8clcbmqsrvh11gn6yx4xxlz23ch-cmake-3.13.4.drv",["out"]),("/nix/store/y4jz7qkg7nd0lwc8f39wpsasm9zn406x-python3-3.7.4.drv",["out"])],["/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh"],"x86_64-linux","/nix/store/cinw572b38aln37glr0zb8lxwrgaffl4-bash-4.4-p23/bin/bash",["-e","/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh"],[("buildInputs","/nix/store/q9qrrrz09fazn055v7qwyf2ckqgxhgfm-gmp-6.1.2-dev"),("builder","/nix/store/cinw572b38aln37glr0zb8lxwrgaffl4-bash-4.4-p23/bin/bash"),("cmakeFlags","-DCMAKE_INSTALL_PREFIX=$out"),("configureFlags",""),("depsBuildBuild",""),("depsBuildBuildPropagated",""),("depsBuildTarget",""),("depsBuildTargetPropagated",""),("depsHostHost",""),("depsHostHostPropagated",""),("depsTargetTarget",""),("depsTargetTargetPropagated",""),("doCheck",""),("doInstallCheck",""),("name","cado-nfs-2.3.0"),("nativeBuildInputs","/nix/store/k5xpvjc70is36vi7pwidww19bn7pchkv-cmake-3.13.4 /nix/store/d9s1kq1bnwqgxwcvv4zrc36ysnxg8gv7-coreutils-8.30 /nix/store/hbpv13fxgmqnbifhm9g27nx5dm9zqf7v-perl-5.28.1 /nix/store/w0rck0g2i12c7zmmcmngfpnszc5238ry-python3-3.7.4 /nix/store/lw3fcylkbray03m3bnqabvp3s1xymnxn-vim-8.1.0578"),("out","/nix/store/s57qsdrfzmf9a7zs6m7ri622gglfm0fh-cado-nfs-2.3.0"),("outputs","out"),("preConfigure","export NIX_LDFLAGS=\"$NIX_LDFLAGS -lpthread\"\n# export CMAKE_INSTALL_PREFIX=$out\n"),("propagatedBuildInputs",""),("propagatedNativeBuildInputs",""),("src","/nix/store/c4rsismxiaqnyhldr2ypcfqj2b7ynphr-cado-nfs"),("stdenv","/nix/store/l9hi0ywl5rhcxd5ppprqv03adr03icq7-stdenv-linux"),("strictDeps",""),("system","x86_64-linux"),("version","2.3.0")])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment