mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #82] Fix macosx-ppc32-altivec for gcc-4.3+ #9
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#9
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 @mc-sammer on GitHub (Sep 7, 2012).
Original GitHub issue: https://github.com/openwall/john/issues/82
I'm not sure if Apple just used different altivec extensions or what but you cannot compile jtr with powerpc when using a newer compiler.
I've been working on a patch and managed to fix compiler errors for sboxes-s.c but compiler errors exist in DES_bs_b.c and I can't figure out where they are.
@mc-sammer commented on GitHub (Sep 7, 2012):
Patch for sboxes-s.c
[patch truncated by GitHub, see http://www.openwall.com/lists/john-users/2012/12/10/5
-- magnum]
@mc-sammer commented on GitHub (Sep 7, 2012):
Error from DES_bs_b.c
@mc-sammer commented on GitHub (Sep 7, 2012):
The patch was all about casting the last parameter in vsel to (vector bool int) because no version of the extension could handle four signed ints.
Also I'm not super familiar with C and most of my knowledge from it comes from trying to fix things that don't compile so I apologize in advanced if my terminology is dead wrong.
@magnumripper commented on GitHub (Sep 8, 2012):
Could you please bring this patch and description to john-dev, at lists.openwall.com? While this git repo of mine is the de-facto official one, Solar does not actually use GitHub. And I believe he can help out.
Also, perhaps you can fork my repo (preferably the 1.7.9-jumbo-6-fixes branch) here on GitHub and apply your patch to your fork. This way we can pull from that, and test or merge.
@mc-sammer commented on GitHub (Sep 10, 2012):
Alright I sent them an email with my patch and the DES errors.
@mc-sammer commented on GitHub (Sep 10, 2012):
I used clang to see if I could get it to compile with that (v3.2) and it actually gave me some help.
helpfully I'll be able to figure out a workaround in the near future.
@mc-sammer commented on GitHub (Sep 10, 2012):
I figured it out
After removing that & I was able to compile and run it without errors (besides the ones that normally fail)
@mc-sammer commented on GitHub (Sep 11, 2012):
And actually there are some other patches I made just to get it to compile
wpapsk.h patch
sunmd5 patch
And here are all of my results (I haven't modified the john.conf and I'm compiling the bleeding-jumbo branch)
@magnumripper commented on GitHub (Sep 11, 2012):
That's great. I will merge the endian patches soon. Solar seemed to want me to wait with the Altivec stuff (they'd better be in core CVS anyway and he wanted to double-check against Linux/PPC first), we'll see about that. If nothing else we should post them as a separate git-style patch on the Openwall wiki.
BTW we have little resources for fixing endian bugs so just in case you do more fixes, please post them to john-dev mailing list!
Thanks!
magnum
@magnumripper commented on GitHub (May 16, 2013):
Reopening as this is still not fixed in core. We have reports of the patch working on Linux/PPC.
@magnumripper commented on GitHub (May 30, 2013):
Fixed in
5f03064.