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

issue with Alt BN128 #106

Open
thomaslavaur opened this issue Aug 19, 2021 · 0 comments
Open

issue with Alt BN128 #106

thomaslavaur opened this issue Aug 19, 2021 · 0 comments

Comments

@thomaslavaur
Copy link

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.

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