Comments (7)
seems the primary bug is that "-c" gets removed from the CFLAGS when the user passes his own set...
from john.
We have a JOHN_CFLAGS that you can use to add stuff without dropping our usual CFLAGS.
from john.
yes, however this is unexpected behaviour.
the polite way would be to just accept the user-passed cflags without breaking
kinda like:
STANDARD_CFLAGS= -c -fomit-frame-pointer ...
ALL_CFLAGS = $(STANDARD_CFLAGS) $(CFLAGS) $(JOHN_CFLAGS)
...
target-xxx:
$(CC) $(ALL_CFLAGS) $@
edit: reversed cflags order so that user supplied flags come last to override opt levels
from john.
I'm fine with that but we need to discuss it on john-dev because I have no idea about the history of the current behaviour. Actually some comments in params.h (iirc) claim that you can use CFLAGS normally (add to it).
from john.
the most proper way to handle this specific case though is when $(CC) is always followed by -c in the makefile target.
i.e. not in the CFLAGS
target-xxx:
$(CC) -c $@ $(CFLAGS)
from john.
Agreed. We should do that to the bleeding branch. But ideally Solar should do it in core first (or too).
from john.
This was fixed once we started using AC.
from john.
Related Issues (20)
- Get rid of modulo division in Argon2 HOT 1
- Passwords with a length greater than 28 for 7z, and 23 for 7z-opencl, don't work. HOT 2
- Update or drop unused/dynamic_big_crypt.c, maybe avoid Perl dependency
- Reconsider --enable-opencl / --disable-opencl HOT 3
- env: python: No such file or directory HOT 6
- Improve argon2-opencl (auto-)tuning for high m_cost HOT 19
- Add/test detection of RTX 4000 series cards HOT 2
- fails to link with bt_hash_type_64.c undefined reference to `add64` HOT 5
- base64_convert() output type e_b64_raw NUL termination HOT 2
- Benchmark repeats candidate passwords
- Crash under ASan, non-OMP build HOT 2
- Add AArch64 SVE, SVE2 to simd-intrinsics
- Trying to build JtR Jumbo on Win11 WSL Ubuntu HOT 3
- argon2-opencl fails on CPU and MIC HOT 4
- Optimize usage of secp256k1 HOT 1
- Convert the RAdmin format to thin around dynamic_1010, or optimize
- Make HMAC CPU formats use SIMD and OpenMP fully
- Specialize SIMD SHA-256 for half-length input, iterated hashing HOT 2
- My graphics card cannot be detected on the Intel ARC platform and cannot be cracked using GPU acceleration HOT 11
- New issue in simd-intrinsics.c HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from john.