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

can't compile on 32 bits #145

Closed
etam opened this issue Sep 20, 2019 · 2 comments
Closed

can't compile on 32 bits #145

etam opened this issue Sep 20, 2019 · 2 comments

Comments

@etam
Copy link

etam commented Sep 20, 2019

openSUSE Tumbleweed, gcc 9.2.1

[ 39%] Building C object test/integration/compilation/CMakeFiles/test-compile-c90.dir/__/__/__/lib/ethash/keccak.c.o
cd /home/abuild/rpmbuild/BUILD/ethash-0.4.4/build/test/integration/compilation && /usr/bin/cc  -I/home/abuild/rpmbuild/BUILD/ethash-0.4.4/include  -fomit-frame-pointer -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=6 -g -DNDEBUG -O2 -g -DNDEBUG   -pedantic -Werror -Wall -Wextra -Wconversion -Wsign-conversion -Wno-unknown-pragmas -fno-stack-protector -Wimplicit-fallthrough -mtune=generic -std=c90 -o CMakeFiles/test-compile-c90.dir/__/__/__/lib/ethash/keccak.c.o   -c /home/abuild/rpmbuild/BUILD/ethash-0.4.4/lib/ethash/keccak.c
/home/abuild/rpmbuild/BUILD/ethash-0.4.4/lib/ethash/keccak.c: In function 'keccak':
/home/abuild/rpmbuild/BUILD/ethash-0.4.4/lib/ethash/keccak.c:89:5: error: integer constant is too large for 'long' type [-Werror=long-long]
   89 |     state[(block_size / word_size) - 1] ^= 0x8000000000000000;
      |     ^~~~~
cc1: all warnings being treated as errors
@Saikatsaha1996
Copy link

Is this miner?

openSUSE Tumbleweed, gcc 9.2.1

[ 39%] Building C object test/integration/compilation/CMakeFiles/test-compile-c90.dir/__/__/__/lib/ethash/keccak.c.o
cd /home/abuild/rpmbuild/BUILD/ethash-0.4.4/build/test/integration/compilation && /usr/bin/cc  -I/home/abuild/rpmbuild/BUILD/ethash-0.4.4/include  -fomit-frame-pointer -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=6 -g -DNDEBUG -O2 -g -DNDEBUG   -pedantic -Werror -Wall -Wextra -Wconversion -Wsign-conversion -Wno-unknown-pragmas -fno-stack-protector -Wimplicit-fallthrough -mtune=generic -std=c90 -o CMakeFiles/test-compile-c90.dir/__/__/__/lib/ethash/keccak.c.o   -c /home/abuild/rpmbuild/BUILD/ethash-0.4.4/lib/ethash/keccak.c
/home/abuild/rpmbuild/BUILD/ethash-0.4.4/lib/ethash/keccak.c: In function 'keccak':
/home/abuild/rpmbuild/BUILD/ethash-0.4.4/lib/ethash/keccak.c:89:5: error: integer constant is too large for 'long' type [-Werror=long-long]
   89 |     state[(block_size / word_size) - 1] ^= 0x8000000000000000;
      |     ^~~~~
cc1: all warnings being treated as errors

@chfast
Copy link
Owner

chfast commented May 24, 2021

I think this is fixed now.

@chfast chfast closed this as completed May 24, 2021
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

3 participants