openwall / openwall/john

Auto-detect 64-bit on Solaris/sparc64

Open
#5,288 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

portability
Dominant language
C
Stars
13.6k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

We auto-detect Solaris 10 and 11 sparc64 systems as 32-bit and produce a working 32-bit build, but gmake -f Makefile.legacy solaris-sparc64-gcc produces a working 64-bit build, which runs faster - and by the way it also needs -m64 on linking there.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Solaris target in Makefile.legacy, especially solaris-sparc64-gcc, and trace how Solaris 10/11 sparc64 is auto-detected. Compare the resulting compiler and linker flags with the working target; done means automatic detection produces a working 64-bit build using -m64 for linking.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.