[ -f ../run/john.local.conf ] || touch ../run/john.local.conf x86_64-pc-linux-gnu-gcc -c -Wall -include ../config.gentoo -O2 -march=native -pipe -fPIC -fPIE -fopenmp -DCL_VERSION_1_0 -DHAVE_CUDA -DJOHN_AVX -DHAVE_CRYPT -DHAVE_DL -O0 john.c x86_64-pc-linux-gnu-gcc genmkvpwd.o mkvlib.o memory.o miscnl.o -Wl,-O1 -Wl,--as-needed -lOpenCL -L/opt/cuda/lib64 -lcudart -lssl -lcrypto -lm -lz -fopenmp -lcrypt -ldl -lssl -lcrypto -lm -lz -fopenmp -o ../run/genmkvpwd In file included from params.h:17:0, from john.c:20: arch.h:38:0: warning: "JOHN_AVX" redefined #define JOHN_AVX <command-line>:0:0: note: this is the location of the previous definition #$ cicc --c++14 --gnu_version=60400 --allow_managed -arch compute_30 -m64 -ftz=0 -prec_div=1 -prec_sqrt=1 -fmad=1 --include_file_name "tmpxft_00000355_00000000-2_cuda_common.fatbin.c" -tused -nvvmir-library "/opt/cuda/bin/../nvvm/libdevice/libdevice.10.bc" --gen_module_id_file --module_id_file_name "/var/tmp/portage/app-crypt/johntheripper-1.7.9-r11/temp/tmpxft_00000355_00000000-3_cuda_common.module_id" --orig_src_file_name "cuda_common.cu" --gen_c_file_name "/var/tmp/portage/app-crypt/johntheripper-1.7.9-r11/temp/tmpxft_00000355_00000000-5_cuda_common.cudafe1.c" --stub_file_name "/var/tmp/portage/app-crypt/johntheripper-1.7.9-r11/temp/tmpxft_00000355_00000000-5_cuda_common.cudafe1.stub.c" --gen_device_file_name "/var/tmp/portage/app-crypt/johntheripper-1.7.9-r11/temp/tmpxft_00000355_00000000-5_cuda_common.cudafe1.gpu" "/var/tmp/portage/app-crypt/johntheripper-1.7.9-r11/temp/tmpxft_00000355_00000000-6_cuda_common.cpp1.ii" -o "/var/tmp/portage/app-crypt/johntheripper-1.7.9-r11/temp/tmpxft_00000355_00000000-5_cuda_common.ptx" x86_64-pc-linux-gnu-gcc mkvcalcproba.o -Wl,-O1 -Wl,--as-needed -lOpenCL -L/opt/cuda/lib64 -lcudart -lssl -lcrypto -lm -lz -fopenmp -lcrypt -ldl -lssl -lcrypto -lm -lz -fopenmp -o ../run/mkvcalcproba x86_64-pc-linux-gnu-gcc tgtsnarf.o -Wl,-O1 -Wl,--as-needed -lOpenCL -L/opt/cuda/lib64 -lcudart -lssl -lcrypto -lm -lz -fopenmp -lcrypt -ldl -lssl -lcrypto -lm -lz -fopenmp -o ../run/tgtsnarf x86_64-pc-linux-gnu-gcc raw2dyna.o -Wl,-O1 -Wl,--as-needed -lOpenCL -L/opt/cuda/lib64 -lcudart -lssl -lcrypto -lm -lz -fopenmp -lcrypt -ldl -lssl -lcrypto -lm -lz -fopenmp -o ../run/raw2dyna x86_64-pc-linux-gnu-gcc calc_stat.o -Wl,-O1 -Wl,--as-needed -lOpenCL -L/opt/cuda/lib64 -lcudart -lssl -lcrypto -lm -lz -fopenmp -lcrypt -ldl -lssl -lcrypto -lm -lz -fopenmp -o ../run/calc_stat /usr/include/bits/floatn.h(61): error: invalid argument to attribute "__mode__" /usr/include/bits/floatn.h(73): error: identifier "__float128" is undefined 2 errors detected in the compilation of "/var/tmp/portage/app-crypt/johntheripper-1.7.9-r11/temp/tmpxft_00000355_00000000-6_cuda_common.cpp1.ii". # --error 0x1 -- make[1]: *** [Makefile:1442: cuda_common.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/var/tmp/portage/app-crypt/johntheripper-1.7.9-r11/work/john-1.7.9/src' make: *** [Makefile:336: linux-x86-64-avx] Error 2 make: Leaving directory '/var/tmp/portage/app-crypt/johntheripper-1.7.9-r11/work/john-1.7.9/src' * ERROR: app-crypt/johntheripper-1.7.9-r11::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-crypt/johntheripper-1.7.9-r11::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-crypt/johntheripper-1.7.9-r11::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-crypt/johntheripper-1.7.9-r11/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-crypt/johntheripper-1.7.9-r11/temp/environment'. * Working directory: '/var/tmp/portage/app-crypt/johntheripper-1.7.9-r11/work/john-1.7.9' * S: '/var/tmp/portage/app-crypt/johntheripper-1.7.9-r11/work/john-1.7.9' This began a few months ago after upgrading, I think it began happening after upgrading glibc
Created attachment 516916 [details] build.log
Created attachment 516918 [details] emerge.info
https://bugs.archlinux.org/task/55580 https://git.archlinux.org/svntogit/community.git/commit/trunk?h=packages/cuda&id=ae90e4d243510e9565e66e9e8e08c509f5719fe0
Possible duplicate of https://bugs.gentoo.org/645688