Open thomaslavaur opened 2 years ago
Hello, I have an issue that I can't understand :
g++ -march=native -std=c++11 -DCURVE_ALT_BN128 -DBN_SUPPORT_SNARK -DBINARY_OUTPUT -DMONTGOMERY_OUTPUT -DNO_PROCPS -DUSE_ASM -DNO_SUPERCOP -DLOWMEM=1 -DDB_NUM_ADDRESSES= 1024 -DDB_HASH_NUM_BITS=1216 -DRAM_CELL_NUM_BITS=32 -DFAST_RAM_WORD_WIDTH=64 -DFAST_RAM_ADDRESS_WIDTH=32 -DFOLDER_TMP=\"/tmp/root/tmp_state\" -DNAME=\"randomchain\" -I./include -I. -I/root/pepper_deps/include -I../thirdparty/libsnark -I../thirdparty/libsnark/depends/libff -I../thirdparty/libsnark/depends/libfqfft pepper_prover.cpp -o bin/pepper_prover_randomchain obj/common/sha1.o obj/common/sha256.o obj/common/utility.o obj/common/measurement.o obj/common/mpnvector.o obj/common/mpnclass.o obj/common/mpnops.o obj/common/math.o obj/common/memory.o obj/common/waksman_router.o obj/storage/hasher.o obj/storage/ram_impl.o obj/storage kyoto_block_store.o obj/storage/leveldb_block_store.o obj/storage/configurable_block_store.o obj/storage/null_hash.o obj/storage/ggh_hash.o obj/storage/exo.o obj/storage/db_util.o obj/storage/external_sort.o obj/storage/db_block_store.o obj/include/db.o obj/include/binary_tree.o obj/include/binary_tree_int_int.o obj/include/binary_tree_int_hash_t.o obj/include/fix_t.o obj/include/avl_tree.o obj/libv/computation_p.o obj/libv/exogenous_checker.o -L/root/pepper_deps/lib -L../thirdparty/libsnark/build/libsnark -L../thirdparty/libsnark/build/depends/libff/libff -L../thirdparty/libsnark/build/depends -lsnark -lff -lgmp -lgmpxx -lpapi -lrt -lleveldb -lkyotocabinet -Wl,-rpath,/root/pepper_deps/lib/ /usr/bin/ld: ../thirdparty/libsnark/build/depends/libff/libff/libff.a(alt_bn128_init.cpp.o): bad reloc symbol index (0x80016a >= 0x3c4) for offset 0x1142 in section `.debug_loc' /usr/bin/ld: ../thirdparty/libsnark/build/depends/libff/libff/libff.a: error adding symbols: bad value
Does anyone know how to fix that?
Thank you.
Hello, I have an issue that I can't understand :
Does anyone know how to fix that?
Thank you.