Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile error on gcc4.4.0 #6

Closed
iceman1001 opened this issue Apr 25, 2016 · 3 comments
Closed

compile error on gcc4.4.0 #6

iceman1001 opened this issue Apr 25, 2016 · 3 comments

Comments

@iceman1001
Copy link
Contributor

this row inside crypto1_bs.h

define VECTOR_SIZE (MAX_BITSLICES/8)

typedef unsigned int attribute((aligned(VECTOR_SIZE))) attribute((vector_size(VECTOR_SIZE))) bitslice_value_t;

Gives troubles on a gcc4.4.0 env.
::start snippet::
In file included from nonce2key/crypto1_bs.c:25:
nonce2key/crypto1_bs.h:25: error: alignment of array elements is greater than element size
make[1]: *** [obj/nonce2key/crypto1_bs.o] Error 1
make[1]: Leaving directory `/pm3/client'
make: *** [client/all] Error 2

@aczid
Copy link
Owner

aczid commented Apr 25, 2016

I don't know what I did wrong here... Can I blame the toolchain? I can't easily reproduce the bug without your toolchain, and even then I would have no idea how to fix it.

@iceman1001
Copy link
Contributor Author

https://github.com/Proxmark/proxmark3/wiki/Windows#development-environment-installation

Easy to get the toolchain used, ;) Finding a solution is harder.

@iceman1001
Copy link
Contributor Author

Dropping this one. There is a option to download a docker container image instead, which will have ubuntu 14.04 trusty installed. No need to run the old proxspace environment anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants