Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645908 - app-crypt/johntheripper-1.7.9-r11 errors in bits/floatn.h
Summary: app-crypt/johntheripper-1.7.9-r11 errors in bits/floatn.h
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
Depends on:
Reported: 2018-01-27 18:57 UTC by Keith Harrison
Modified: 2018-09-11 15:30 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,61.51 KB, text/plain)
2018-01-27 19:36 UTC, Keith Harrison
Details (,7.10 KB, text/plain)
2018-01-27 19:36 UTC, Keith Harrison

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Harrison 2018-01-27 18:57:42 UTC
[ -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 "" --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
Comment 1 Keith Harrison 2018-01-27 19:36:18 UTC
Created attachment 516916 [details]
Comment 2 Keith Harrison 2018-01-27 19:36:50 UTC
Created attachment 516918 [details]
Comment 4 Keith Harrison 2018-01-27 20:00:34 UTC
Possible duplicate of