-
Notifications
You must be signed in to change notification settings - Fork 185
Closed
Description
Build fails with certain gcc versions (such as gcc-11):
In file included from /home/wong/chia-plotter/build/_deps/relic-src/src/md/blake2s-ref.c:18:
/home/wong/chia-plotter/build/_deps/relic-src/src/md/blake2.h:101:5: error: size of array element is not a multiple of its alignment
101 | blake2s_state S[8][1];
| ^~~~~~~~~~~~~
/home/wong/chia-plotter/build/_deps/relic-src/src/md/blake2.h:102:5: error: size of array element is not a multiple of its alignment
102 | blake2s_state R[1];
| ^~~~~~~~~~~~~
/home/wong/chia-plotter/build/_deps/relic-src/src/md/blake2.h:109:5: error: size of array element is not a multiple of its alignment
109 | blake2b_state S[4][1];
| ^~~~~~~~~~~~~
/home/wong/chia-plotter/build/_deps/relic-src/src/md/blake2.h:110:5: error: size of array element is not a multiple of its alignment
110 | blake2b_state R[1];
| ^~~~~~~~~~~~~
/home/wong/chia-plotter/build/_deps/relic-src/src/md/blake2s-ref.c: In function ‘blake2s’:
/home/wong/chia-plotter/build/_deps/relic-src/src/md/blake2s-ref.c:329:3: error: size of array element is not a multiple of its alignment
329 | blake2s_state S[1];
| ^~~~~~~~~~~~~
make[2]: *** [_deps/relic-build/src/CMakeFiles/relic_s.dir/build.make:2834: _deps/relic-build/src/CMakeFiles/relic_s.dir/md/blake2s-ref.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 77%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/md/relic_md_blake2s.c.o
In file included from /home/wong/chia-plotter/build/_deps/relic-src/src/md/relic_md_blake2s.c:38:
/home/wong/chia-plotter/build/_deps/relic-src/src/md/blake2.h:101:5: error: size of array element is not a multiple of its alignment
101 | blake2s_state S[8][1];
| ^~~~~~~~~~~~~
/home/wong/chia-plotter/build/_deps/relic-src/src/md/blake2.h:102:5: error: size of array element is not a multiple of its alignment
102 | blake2s_state R[1];
| ^~~~~~~~~~~~~
/home/wong/chia-plotter/build/_deps/relic-src/src/md/blake2.h:109:5: error: size of array element is not a multiple of its alignment
109 | blake2b_state S[4][1];
| ^~~~~~~~~~~~~
/home/wong/chia-plotter/build/_deps/relic-src/src/md/blake2.h:110:5: error: size of array element is not a multiple of its alignment
110 | blake2b_state R[1];
| ^~~~~~~~~~~~~
make[2]: *** [_deps/relic-build/src/CMakeFiles/relic_s.dir/build.make:2848: _deps/relic-build/src/CMakeFiles/relic_s.dir/md/relic_md_blake2s.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:555: _deps/relic-build/src/CMakeFiles/relic_s.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
commit 1885ae3
See also: https://bugzilla.redhat.com/show_bug.cgi?id=1937076
Metadata
Metadata
Assignees
Labels
No labels