mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #661] clang debug build problem on 32bit linux #317
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#317
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 @frank-dittrich on GitHub (Jun 21, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/661
Originally assigned to: @frank-dittrich on GitHub.
With
I get
When I change the Makefile generated by ./configure to use -O1 instead of -O0 for debug targets, the build succeeds.
gost.c is the only source which requires -O1, all other object files can be built with -O0.
With gcc, the debug build succeeds with -O0.
I am not sure what would be the best option to resolve the issue.
Generally switching to -O1 for debug builds (like Makefile.legacy does)?
Just using -O1 for 32bit builds, or only for 32bit clang builds?
@frank-dittrich commented on GitHub (Jun 21, 2014):
May be the problem is this:
No, just tested it. Removing the -funroll-loops option didn't help.
@magnumripper commented on GitHub (Jun 21, 2014):
Perhaps this is just a bug in clang?
@magnumripper commented on GitHub (Jun 22, 2014):
Some googling indicates that is the case. What if you manually do this:
I would not think -O0 turns off the preceeding -fomit-frame-pointer but if it does, this might work.
@frank-dittrich commented on GitHub (Jun 22, 2014):
This results in the same error.
@rohit-raddop commented on GitHub (Apr 6, 2017):
Did anyone find a workaround for it? I am facing the same issue.
"pushl %%ebx \n\t" .........
inline assembly requires more registers than available
@magnumripper commented on GitHub (Apr 6, 2017):
Not that I know of. You probably need to upgrade clang or use gcc instead.
@rohit-raddop commented on GitHub (Apr 6, 2017):
I am using the latest version of clang. I can't move to GCC.
Does it mean I need to rewrite the entire assembly code?
@kholia commented on GitHub (Apr 6, 2017):
@Rohitpoddar92 This is the issue tracker for the JtR jumbo project. Are you trying to compile JtR and getting compilation errors OR are you compiling some other stuff and just complaining here? I can't tell.
Never mind, I think you are compiling JtR jumbo. Is there a specific reason why you are building debug builds?
@rohit-raddop commented on GitHub (Apr 6, 2017):
ohh. sorry, I noticed it now.
I am not working on JtR combo. I am woking on some other project.
@magnumripper commented on GitHub (Apr 6, 2017):
Duh. Good catch, @kholia!
@kholia commented on GitHub (Sep 13, 2018):
I guess no further action is required here.