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 complie plotter on centos7 #96

Closed
IvanWongw opened this issue Jun 10, 2021 · 12 comments
Closed

Can't complie plotter on centos7 #96

IvanWongw opened this issue Jun 10, 2021 · 12 comments

Comments

@IvanWongw
Copy link

image

@IvanWongw
Copy link
Author

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

@we-sell-bags
Copy link

we-sell-bags commented Jun 10, 2021

./clean_all.sh
cd chia-plotter
git submodule update --init

yum install cmake3
yum install gmp-devel
yum install libsodium
Yum install gmp-static
Yum install libsodium-static

sudo yum install devtoolset-7
scl enable devtoolset-7 bash
./make_debug.sh

-- Configured operating system: LINUX -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Configured GMP: /usr/lib64/libgmp.so -- Compiler flags: -m64 -Wall -O3 -funroll-loops -fomit-frame-pointer -pthread -- Linker flags: -L/home/chia/chia-plotter/build/_deps/relic-src/src/low/gmp/ -- Configured /home/chia/chia-plotter/build/_deps/relic-src/include/relic_conf.h.in SODIUM_FOUND in src/CMakeLists.txt -- Configuring done -- Generating done -- Build files have been written to: /home/chia/chia-plotter/build Scanning dependencies of target blake3 [ 0%] Built target arith_objs [ 0%] Building C object CMakeFiles/fse.dir/lib/FSE/lib/fse_decompress.c.o [ 1%] Building C object CMakeFiles/fse.dir/lib/FSE/lib/hist.c.o [ 1%] Building C object CMakeFiles/blake3.dir/lib/BLAKE3/c/blake3.c.o [ 1%] Building C object CMakeFiles/fse.dir/lib/FSE/lib/entropy_common.c.o [ 2%] Building C object CMakeFiles/fse.dir/lib/FSE/lib/fse_compress.c.o [ 2%] Building C object CMakeFiles/blake3.dir/lib/BLAKE3/c/blake3_portable.c.o [ 2%] Building CXX object lib/bls-signatures/src/CMakeFiles/blstmp.dir/privatekey.cpp.o [ 3%] Building C object CMakeFiles/blake3.dir/lib/BLAKE3/c/blake3_dispatch.c.o [ 4%] Building CXX object lib/bls-signatures/src/CMakeFiles/blstmp.dir/bls.cpp.o [ 4%] Building ASM object CMakeFiles/blake3.dir/lib/BLAKE3/c/blake3_avx2_x86-64_unix.S.o [ 4%] Building ASM object CMakeFiles/blake3.dir/lib/BLAKE3/c/blake3_avx512_x86-64_unix.S.o [ 4%] Linking C static library libfse.a [ 5%] Building ASM object CMakeFiles/blake3.dir/lib/BLAKE3/c/blake3_sse41_x86-64_unix.S.o [ 5%] Building ASM object CMakeFiles/blake3.dir/lib/BLAKE3/c/blake3_sse2_x86-64_unix.S.o [ 5%] Building CXX object lib/bls-signatures/src/CMakeFiles/blstmp.dir/elements.cpp.o [ 5%] Built target fse [ 5%] Building CXX object lib/bls-signatures/src/CMakeFiles/blstmp.dir/schemes.cpp.o [ 5%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/relic_err.c.o [ 6%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/relic_core.c.o [ 6%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/relic_conf.c.o [ 7%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/relic_util.c.o [ 7%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/arch/relic_arch_x64.c.o [ 7%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/rand/relic_rand_core.c.o [ 8%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/rand/relic_rand_hashd.c.o [ 8%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/bn/relic_bn_add.c.o [ 8%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/bn/relic_bn_cmp.c.o [ 9%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/bn/relic_bn_div.c.o [ 9%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/bn/relic_bn_factor.c.o [ 9%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/bn/relic_bn_gcd.c.o [ 9%] Linking C static library libblake3.a [ 9%] Built target blake3 [ 10%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/bn/relic_bn_inv.c.o [ 10%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/bn/relic_bn_lcm.c.o [ 10%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/bn/relic_bn_mem.c.o [ 11%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/bn/relic_bn_mod.c.o [ 11%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/bn/relic_bn_mul.c.o [ 12%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/bn/relic_bn_mxp.c.o [ 12%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/bn/relic_bn_prime.c.o [ 12%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/bn/relic_bn_rec.c.o [ 13%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/bn/relic_bn_shift.c.o [ 13%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/bn/relic_bn_smb.c.o [ 13%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/bn/relic_bn_sqr.c.o [ 14%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/bn/relic_bn_srt.c.o [ 14%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/bn/relic_bn_util.c.o [ 15%] Building C object CMakeFiles/chia_plotter.dir/lib/chacha8.c.o [ 15%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/dv/relic_dv_mem.c.o [ 16%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/dv/relic_dv_util.c.o [ 16%] Building CXX object CMakeFiles/chia_plotter.dir/src/settings.cpp.o [ 16%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fp/relic_fp_add.c.o [ 16%] Linking CXX static library libchia_plotter.a [ 16%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fp/relic_fp_cmp.c.o [ 16%] Built target chia_plotter [ 17%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fp/relic_fp_exp.c.o [ 17%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fp/relic_fp_inv.c.o [ 17%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fp/relic_fp_mul.c.o [ 18%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fp/relic_fp_param.c.o [ 18%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fp/relic_fp_prime.c.o [ 19%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fp/relic_fp_rdc.c.o [ 19%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fp/relic_fp_shift.c.o [ 20%] Building CXX object CMakeFiles/test_copy.dir/test/test_copy.cpp.o [ 21%] Building CXX object CMakeFiles/test_phase_2.dir/test/test_phase_2.cpp.o [ 21%] Building CXX object CMakeFiles/test_disk_sort.dir/test/test_disk_sort.cpp.o [ 21%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fp/relic_fp_sqr.c.o [ 22%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fp/relic_fp_srt.c.o [ 22%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fp/relic_fp_util.c.o [ 23%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fp12_sqr.c.o [ 23%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fp12_mul.c.o [ 23%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fp18_mul.c.o [ 23%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fp18_sqr.c.o [ 24%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fp24_mul.c.o [ 24%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fp2_mul.c.o [ 24%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fp24_sqr.c.o [ 25%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fp2_sqr.c.o [ 25%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fp3_mul.c.o [ 26%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fp3_sqr.c.o [ 26%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fp48_mul.c.o [ 26%] Building CXX object CMakeFiles/test_phase_4.dir/test/test_phase_4.cpp.o [ 26%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fp48_sqr.c.o [ 27%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fp4_mul.c.o [ 27%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fp4_sqr.c.o [ 27%] Linking CXX executable test_copy [ 28%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fp54_mul.c.o [ 28%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fp54_sqr.c.o [ 28%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fp6_mul.c.o [ 28%] Built target test_copy [ 28%] Building CXX object CMakeFiles/test_phase_1.dir/test/test_phase_1.cpp.o [ 28%] Building CXX object CMakeFiles/test_phase_3.dir/test/test_phase_3.cpp.o [ 28%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fp6_sqr.c.o [ 29%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fp8_mul.c.o [ 29%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fp8_sqr.c.o [ 29%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fp9_mul.c.o [ 30%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fp9_sqr.c.o [ 30%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fpx_add.c.o [ 31%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fpx_cmp.c.o [ 31%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fpx_cyc.c.o [ 31%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fpx_exp.c.o [ 32%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fpx_field.c.o [ 33%] Linking CXX static library libblstmp.a [ 33%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fpx_frb.c.o [ 33%] Built target blstmp [ 33%] Building CXX object CMakeFiles/check_phase_1.dir/test/check_phase_1.cpp.o [ 33%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fpx_inv.c.o [ 34%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fpx_pck.c.o [ 34%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fpx_rdc.c.o [ 34%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fpx_srt.c.o [ 35%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fpx/relic_fpx_util.c.o [ 35%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fb/relic_fb_add.c.o [ 35%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fb/relic_fb_cmp.c.o [ 36%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fb/relic_fb_exp.c.o [ 36%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fb/relic_fb_inv.c.o [ 37%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fb/relic_fb_itr.c.o [ 37%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fb/relic_fb_mul.c.o [ 37%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fb/relic_fb_param.c.o [ 38%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fb/relic_fb_poly.c.o [ 38%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fb/relic_fb_rdc.c.o [ 38%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fb/relic_fb_shift.c.o [ 39%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fb/relic_fb_slv.c.o [ 39%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fb/relic_fb_sqr.c.o [ 39%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fb/relic_fb_srt.c.o [ 40%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fb/relic_fb_trc.c.o [ 40%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fb/relic_fb_util.c.o [ 40%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fbx/relic_fb2_inv.c.o [ 41%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fbx/relic_fb2_mul.c.o [ 41%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fbx/relic_fb2_slv.c.o [ 41%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/fbx/relic_fb2_sqr.c.o [ 42%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ep/relic_ep_add.c.o [ 42%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ep/relic_ep_cmp.c.o [ 43%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ep/relic_ep_curve.c.o [ 43%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ep/relic_ep_dbl.c.o [ 43%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ep/relic_ep_map.c.o [ 44%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ep/relic_ep_mul.c.o [ 45%] Linking CXX executable check_phase_1 [ 45%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ep/relic_ep_mul_fix.c.o [ 45%] Built target check_phase_1 [ 45%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ep/relic_ep_mul_sim.c.o [ 46%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ep/relic_ep_neg.c.o [ 46%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ep/relic_ep_norm.c.o [ 46%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ep/relic_ep_param.c.o [ 47%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ep/relic_ep_pck.c.o [ 47%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ep/relic_ep_psi.c.o [ 47%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ep/relic_ep_util.c.o [ 48%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/epx/relic_ep2_add.c.o [ 49%] Linking CXX executable test_disk_sort [ 49%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/epx/relic_ep2_cmp.c.o [ 50%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/epx/relic_ep2_curve.c.o [ 50%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/epx/relic_ep2_dbl.c.o [ 50%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/epx/relic_ep2_frb.c.o [ 50%] Built target test_disk_sort [ 51%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/epx/relic_ep2_map.c.o [ 51%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/epx/relic_ep2_mul.c.o [ 51%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/epx/relic_ep2_mul_cof.c.o [ 52%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/epx/relic_ep2_mul_fix.c.o [ 52%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/epx/relic_ep2_mul_sim.c.o [ 52%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/epx/relic_ep2_neg.c.o [ 53%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/epx/relic_ep2_norm.c.o [ 53%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/epx/relic_ep2_pck.c.o [ 53%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/epx/relic_ep2_util.c.o [ 54%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/eb/relic_eb_add.c.o [ 54%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/eb/relic_eb_cmp.c.o [ 55%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/eb/relic_eb_curve.c.o [ 55%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/eb/relic_eb_dbl.c.o [ 55%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/eb/relic_eb_frb.c.o [ 56%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/eb/relic_eb_hlv.c.o [ 56%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/eb/relic_eb_map.c.o [ 56%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/eb/relic_eb_mul.c.o [ 57%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/eb/relic_eb_mul_fix.c.o [ 57%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/eb/relic_eb_mul_sim.c.o [ 57%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/eb/relic_eb_neg.c.o [ 58%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/eb/relic_eb_norm.c.o [ 58%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/eb/relic_eb_param.c.o [ 58%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/eb/relic_eb_pck.c.o [ 59%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/eb/relic_eb_util.c.o [ 59%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ed/relic_ed_add.c.o [ 60%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ed/relic_ed_cmp.c.o [ 60%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ed/relic_ed_curve.c.o [ 60%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ed/relic_ed_dbl.c.o [ 61%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ed/relic_ed_map.c.o [ 61%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ed/relic_ed_mul.c.o [ 61%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ed/relic_ed_mul_fix.c.o [ 62%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ed/relic_ed_mul_sim.c.o [ 62%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ed/relic_ed_neg.c.o [ 63%] Linking CXX executable test_phase_4 [ 63%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ed/relic_ed_norm.c.o [ 64%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ed/relic_ed_param.c.o [ 64%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ed/relic_ed_pck.c.o [ 64%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/ed/relic_ed_util.c.o [ 65%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/pp/relic_pp_add_k12.c.o [ 65%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/pp/relic_pp_add_k2.c.o [ 65%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/pp/relic_pp_add_k48.c.o [ 65%] Built target test_phase_4 [ 65%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/pp/relic_pp_add_k8.c.o [ 66%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/pp/relic_pp_add_k54.c.o [ 67%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/pp/relic_pp_dbl_k12.c.o [ 67%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/pp/relic_pp_dbl_k2.c.o [ 67%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/pp/relic_pp_dbl_k48.c.o [ 68%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/pp/relic_pp_dbl_k54.c.o [ 68%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/pp/relic_pp_dbl_k8.c.o [ 68%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/pp/relic_pp_exp_k12.c.o [ 69%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/pp/relic_pp_exp_k2.c.o [ 69%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/pp/relic_pp_exp_k48.c.o [ 69%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/pp/relic_pp_exp_k54.c.o [ 70%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/pp/relic_pp_exp_k8.c.o [ 70%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/pp/relic_pp_map.c.o [ 70%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/pp/relic_pp_map_k12.c.o [ 71%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/pp/relic_pp_map_k2.c.o [ 71%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/pp/relic_pp_map_k48.c.o [ 72%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/pp/relic_pp_map_k54.c.o [ 72%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/pp/relic_pp_map_k8.c.o [ 72%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/pp/relic_pp_norm.c.o [ 73%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/pc/relic_pc_core.c.o [ 73%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/pc/relic_pc_exp.c.o [ 73%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/pc/relic_pc_util.c.o [ 74%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/cp/relic_cp_rsa.c.o [ 74%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/cp/relic_cp_rabin.c.o [ 74%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/cp/relic_cp_bdpe.c.o [ 75%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/cp/relic_cp_ghpe.c.o [ 75%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/cp/relic_cp_phpe.c.o [ 75%] Linking CXX executable test_phase_2 [ 75%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/cp/relic_cp_ecdh.c.o [ 76%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/cp/relic_cp_ecmqv.c.o [ 76%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/cp/relic_cp_ecies.c.o [ 77%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/cp/relic_cp_ecdsa.c.o [ 77%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/cp/relic_cp_ecss.c.o [ 77%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/cp/relic_cp_vbnn.c.o [ 78%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/cp/relic_cp_sokaka.c.o [ 78%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/cp/relic_cp_bgn.c.o [ 78%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/cp/relic_cp_ibe.c.o [ 79%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/cp/relic_cp_bls.c.o [ 79%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/cp/relic_cp_cls.c.o [ 79%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/cp/relic_cp_pss.c.o [ 79%] Built target test_phase_2 [ 80%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/cp/relic_cp_mpss.c.o [ 80%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/cp/relic_cp_bbs.c.o [ 80%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/cp/relic_cp_zss.c.o [ 81%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/cp/relic_cp_cmlhs.c.o [ 81%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/cp/relic_cp_mklhs.c.o [ 82%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/bc/relic_bc_aes.c.o [ 82%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/bc/rijndael-alg-fst.c.o [ 82%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/bc/rijndael-api-fst.c.o [ 83%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/md/blake2s-ref.c.o [ 83%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/md/relic_md_blake2s.c.o [ 83%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/md/relic_md_hmac.c.o [ 84%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/md/relic_md_kdf.c.o [ 84%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/md/relic_md_mgf.c.o [ 84%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/md/relic_md_sha224.c.o [ 85%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/md/relic_md_sha256.c.o [ 85%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/md/relic_md_sha384.c.o [ 85%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/md/relic_md_sha512.c.o [ 86%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/md/relic_md_xmd.c.o [ 86%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/md/sha224-256.c.o [ 86%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/md/sha384-512.c.o [ 87%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/mpc/relic_mt_mpc.c.o [ 87%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/mpc/relic_pc_mpc.c.o [ 88%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/gmp/relic_bn_add_low.c.o [ 88%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/gmp/relic_bn_div_low.c.o [ 88%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/gmp/relic_bn_mod_low.c.o [ 89%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/gmp/relic_bn_mul_low.c.o [ 89%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/gmp/relic_bn_shift_low.c.o [ 89%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/gmp/relic_bn_sqr_low.c.o [ 90%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/gmp/relic_fp_add_low.c.o [ 90%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/gmp/relic_fp_inv_low.c.o [ 90%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/gmp/relic_fp_mul_low.c.o [ 91%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/gmp/relic_fp_rdc_low.c.o [ 91%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/gmp/relic_fp_shift_low.c.o [ 91%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/gmp/relic_fp_sqr_low.c.o [ 92%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/easy/relic_fpx_add_low.c.o [ 93%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/easy/relic_fpx_rdc_low.c.o [ 93%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/easy/relic_fpx_mul_low.c.o [ 93%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/easy/relic_fpx_sqr_low.c.o [ 93%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/gmp/relic_fb_add_low.c.o [ 94%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/easy/relic_fb_inv_low.c.o [ 94%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/easy/relic_fb_itr_low.c.o [ 94%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/easy/relic_fb_mul_low.c.o [ 94%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/gmp/relic_fb_shift_low.c.o [ 94%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/easy/relic_fb_slv_low.c.o [ 95%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/easy/relic_fb_rdc_low.c.o [ 96%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/easy/relic_fb_sqr_low.c.o [ 96%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/easy/relic_fb_srt_low.c.o [ 96%] Building C object _deps/relic-build/src/CMakeFiles/relic_s.dir/low/easy/relic_fb_trc_low.c.o [ 97%] Linking C static library ../lib/librelic_s.a [ 97%] Built target relic_s [ 97%] Building CXX object lib/bls-signatures/src/CMakeFiles/runbench.dir/test-bench.cpp.o [ 97%] Building CXX object lib/bls-signatures/src/CMakeFiles/runtest.dir/test.cpp.o /opt/rh/devtoolset-7/root/usr/bin/ar: creating /home/chia/chia-plotter/build/libbls.a [ 97%] Built target combined_custom [ 98%] Building CXX object lib/bls-signatures/src/CMakeFiles/bls.dir/privatekey.cpp.o [ 98%] Linking CXX static library libbls.a [ 98%] Built target bls [ 98%] Building CXX object CMakeFiles/chia_plot.dir/src/chia_plot.cpp.o [ 99%] Linking CXX executable runbench [ 99%] Built target runbench In file included from /home/chia/chia-plotter/lib/bls-signatures/src/elements.hpp:22:0, from /home/chia/chia-plotter/lib/bls-signatures/src/privatekey.hpp:24, from /home/chia/chia-plotter/lib/bls-signatures/src/bls.hpp:18, from /home/chia/chia-plotter/src/chia_plot.cpp:15: /home/chia/chia-plotter/lib/bls-signatures/src/util.hpp: In static member function ‘static std::string bls::Util::HexStr(const uint8_t*, size_t)’: /home/chia/chia-plotter/lib/bls-signatures/src/util.hpp:62:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0; i < len; ++i) ~~^~~~~ /home/chia/chia-plotter/lib/bls-signatures/src/util.hpp: In static member function ‘static std::string bls::Util::HexStr(const std::vector<unsigned char>&)’: /home/chia/chia-plotter/lib/bls-signatures/src/util.hpp:70:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0; i < data.size(); ++i) ~~^~~~~~~~~~~~~ [100%] Linking CXX executable test_phase_3 [100%] Built target test_phase_3 [100%] Linking CXX executable test_phase_1 [100%] Built target test_phase_1 [100%] Linking CXX executable runtest [100%] Built target runtest [100%] Linking CXX executable chia_plot [100%] Built target chia_plot

@madMAx43v3r
Copy link
Owner

it's a known issue with gcc-11

@we-sell-bags
Copy link

the
sudo yum install devtoolset-7
scl enable devtoolset-7 bash

should fix it.....

but it may mean that maybe the centos 7 has been forced previously onto a different tool chain.

@madMAx43v3r
Copy link
Owner

check latest readme

@madMAx43v3r
Copy link
Owner

ah it seems you got it compiled

@we-sell-bags
Copy link

yes...
on cent os 7 & 8 , osx 10.13 & osx 10.13.6
just the instructions & proof were for Wong

@IvanWongw
Copy link
Author

yes...
on cent os 7 & 8 , osx 10.13 & osx 10.13.6
just the instructions & proof were for Wong

Thank you for your help, I have solved the problem.

@madMAx43v3r
Copy link
Owner

See relic-toolkit/relic#202, the issue might be fixed in latest relic-toolkit master.
To try it out you can export an ENV variable in the make_devel.sh before calling cmake:
export RELIC_MAIN=1

@madMAx43v3r
Copy link
Owner

Ah well, export RELIC_MAIN=1 doesn't work for other reasons...

@madMAx43v3r
Copy link
Owner

bls-signatures has been updated to be compatible with relic master, you can now try:

./clean_all.sh
RELIC_MAIN=1 ./make_devel.sh

@IvanWongw
Copy link
Author

bls-signatures has been updated to be compatible with relic master, you can now try:

./clean_all.sh
RELIC_MAIN=1 ./make_devel.sh

Thank you for your help, I have solved the problem.

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