mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #354] "make win32-mingw-x86-sse2" warnings #94
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#94
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kholia on GitHub (Jul 21, 2013).
Original GitHub issue: https://github.com/openwall/john/issues/354
After struggling for many hours, I was able to get MinGW builds going (on Fedora 19!).
My patches are at https://github.com/kholia/JohnTheRipper/tree/Windows.
@jfoug @magnumripper please have a look.
@magnumripper commented on GitHub (Jul 23, 2013):
I'm not sure but I think you should revert the Makefile changes and change it to something similar to linux-x86-64-clang, ie. you redefine CC, LDFLAGS etc within the build target.
@kholia commented on GitHub (Jul 23, 2013):
@magnumripper is the following patch ready for bleeding-jumbo?
@magnumripper commented on GitHub (Jul 23, 2013):
Looks good to me. Although you might want to try if mingw can produce binaries that fork OK. If they do, this patch is not needed. IIRC the
__CYGWIN32__was put there after seeing some kind of unreliable behaviour... I think it was things like the mother process can't signal/kill the children.@magnumripper commented on GitHub (Jul 23, 2013):
If the "M$" branch is obsolete, I want it deleted please.
@kholia commented on GitHub (Jul 23, 2013):
"M$" branch is gone now. Apologies for the poor name choice.
I don't think MinGW supports fork() stuff at all.
@magnumripper commented on GitHub (Mar 7, 2014):
Was this an old version of MinGW? According to @jfoug, neither MinGW, Cygwin nor even MSVC has problems with stuff like
%lluanymore.@kholia commented on GitHub (Mar 7, 2014):
I am using a recent MinGW release.
@jfoug commented on GitHub (Mar 7, 2014):
%lld (x,i,u, etc), has been valid in VC for a long time. VC6 is probably the last version that FORCED %I64d. Mingw may or may not still REQUIRE %I64 vs %ll I have not used Mingw for a long time. Also, I am not sure mingw can do 'long long', or if it needs __int64. I do not think __int64 is required, I just did a grep, and ONLY found __int64 in johnswap.h and gost.h. so if it was required, I think a LOT of JTR stuff would not compile.
Note, %I64 is only used in a few 'extra' sources (markov, and unique).
Jim.
@jfoug commented on GitHub (Jun 18, 2014):
mingw DOES force us to use $I64[dix] Most of these errors are gone with the new autoconfig.
In autoconfig, I have added -std-gnu for mingw builds. That adds some problems of it's own, but also gets us around some of the problem formatting issues.
Btw, M$ is not a dead branch by a long shot. A lot of my deeper, new coding or debugging is done using M$. Using M$ is becoming harder, with autoconfig, but still usable.
@magnumripper commented on GitHub (Nov 8, 2014):
This should be mostly fixed by AC and other changes.