Closed ZeroChaos- closed 10 months ago
This is puzzling. I've just tested, and build with gcc 13 for x86_64 succeeds on Ubuntu: https://github.com/solardiz/john/actions/runs/7361739125/job/20039405205
Related: #5326, #5327. We should definitely add more static
keywords in those files anyway, which will probably help, but it's unclear to me why gcc/ld would fail like that - looks like a gcc bug.
I'm on Gentoo, which as you may know means this could totally be my fault somehow. I am happy to test whatever you like in the way of fixes, but if you are pretty sure it's not your bug then feel free to close.
@ZeroChaos- I've pushed a change that will likely avoid the issue, please try again and let us know. Thank you!
I can confirm that HEAD works as of this moment. Thanks a lot for looking into it and fixing it so quickly.
Checklist
I understand all the instructions, I have replicated my error on HEAD but I haven't joined the mailing list.
IMPORTANT
We expect only reports of issues with the latest revision found in this GitHub repository. We do not expect in here, and have little use for, reports of issues only seen in a release or in a distro package.
Attach details about your OS and about john, including:
./john --list=build-info
. I can't build john to get this informationConfigured for building John the Ripper jumbo:
Target CPU ......................................... x86_64 SSE2, 64-bit LE AES-NI support ..................................... run-time detection Target OS .......................................... linux-gnu Cross compiling .................................... no Legacy arch header ................................. x86-64.h
Optional libraries/features found: Memory map (share/page large files) ................ yes Fork support ....................................... yes OpenMP support ..................................... yes (not for fast formats) OpenCL support ..................................... yes Generic crypt(3) format ............................ yes OpenSSL (many additional formats) .................. yes libgmp (PRINCE mode and faster SRP formats) ........ yes 128-bit integer (faster PRINCE mode) ............... yes libz (7z, pkzip and some other formats) ............ yes libbz2 (7z and gpg2john bz2 support) ............... yes libpcap (vncpcap2john and SIPdump) ................. no Non-free unrar code (complete RAR support) ......... yes librexgen (regex mode, see doc/README.librexgen) ... no OpenMPI support (default disabled) ................. yes Experimental code (default disabled) ............... no ZTEX USB-FPGA module 1.15y support ................. no
Install missing libraries to get any needed features that were omitted.
Configure finished. Now "make -s clean && make -sj4" to compile.