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

New clean install debian 12, I cant compile make all-ethereum #1091

Open
Chinook96 opened this issue May 21, 2024 · 1 comment
Open

New clean install debian 12, I cant compile make all-ethereum #1091

Chinook96 opened this issue May 21, 2024 · 1 comment

Comments

@Chinook96
Copy link

I have this error:

444.3 975 | (__v8di)
444.3 | ~~~~~~~~
444.3 976 | _mm512_undefined_epi32 (),
444.3 | ~~~~~~~~~~~~~~~~~~~~~~~~~~
444.3 977 | (__mmask8) -1);
444.3 | ~~~~~~~~~~~~~~
444.3 /usr/lib/gcc/x86_64-linux-gnu/12/include/avx512fintrin.h: In function 'XXH128_hash_t ROCKSDB_XXH3_128bits_digest(const XXH3_state_t*)':
444.3 /usr/lib/gcc/x86_64-linux-gnu/12/include/avx512fintrin.h:206:11: note: '__Y' was declared here
444.3 206 | __m512i __Y = __Y;
444.3 | ^~~
444.3 In function '__m512i _mm512_shuffle_epi32(__m512i, _MM_PERM_ENUM)',
444.3 inlined from 'void XXH3_accumulate_512_avx512(void*, const void*, const void*)' at util/xxhash.h:3610:55,
444.3 inlined from 'void XXH3_digest_long(XXH64_hash_t*, const XXH3_state_t*, const unsigned char*)' at util/xxhash.h:4726:28,
444.3 inlined from 'XXH128_hash_t ROCKSDB_XXH3_128bits_digest(const XXH3_state_t*)' at util/xxhash.h:5252:25:
444.3 /usr/lib/gcc/x86_64-linux-gnu/12/include/avx512fintrin.h:4459:50: error: '__Y' may be used uninitialized [-Werror=maybe-uninitialized]
444.3 4459 | return (__m512i) __builtin_ia32_pshufd512_mask ((__v16si) __A,
444.3 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
444.3 4460 | __mask,
444.3 | ~~~~~~~
444.3 4461 | (__v16si)
444.3 | ~~~~~~~~~
444.3 4462 | _mm512_undefined_epi32 (),
444.3 | ~~~~~~~~~~~~~~~~~~~~~~~~~~
444.3 4463 | (__mmask16) -1);
444.3 | ~~~~~~~~~~~~~~~
444.3 /usr/lib/gcc/x86_64-linux-gnu/12/include/avx512fintrin.h: In function 'XXH128_hash_t ROCKSDB_XXH3_128bits_digest(const XXH3_state_t*)':
444.3 /usr/lib/gcc/x86_64-linux-gnu/12/include/avx512fintrin.h:206:11: note: '__Y' was declared here
444.3 206 | __m512i __Y = __Y;
444.3 | ^~~
444.4 cc1plus: all warnings being treated as errors
444.5 make[1]: *** [Makefile:2529: util/xxhash.o] Error 1
444.5 make[1]: *** Waiting for unfinished jobs....
446.2 make[1]: Leaving directory '/opt/rocksdb'
446.2 make: *** [Makefile:906: release] Error 2

Dockerfile:42

40 | # install rocksdb
41 | RUN cd /opt && git clone -b $ROCKSDB_VERSION --depth 1 https://github.com/facebook/rocksdb.git
42 | >>> RUN cd /opt/rocksdb && CFLAGS=-fPIC CXXFLAGS=-fPIC PORTABLE=$PORTABLE_ROCKSDB make -j 4 release
43 | RUN strip /opt/rocksdb/ldb /opt/rocksdb/sst_dump &&
44 | cp /opt/rocksdb/ldb /opt/rocksdb/sst_dump /build

ERROR: failed to solve: process "/bin/sh -c cd /opt/rocksdb && CFLAGS=-fPIC CXXFLAGS=-fPIC PORTABLE=$PORTABLE_ROCKSDB make -j 4 release" did not complete successfully: exit code: 2
make[1]: *** [Makefile:48: .bin-image] Error 1
make[1]: Leaving directory '/tmp/blockbook'
make: *** [Makefile:45: build-images] Error 2
root@debian-12-image:/tmp/blockbook# make all-ethereum

@Chinook96
Copy link
Author

I installed debian 11 on another machine and there is work fine.

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

1 participant