Created
May 21, 2019 01:16
-
-
Save cmditch/bff97daf634e5f1c6b0ac75d4bd6775a to your computer and use it in GitHub Desktop.
Error while building on macOS (hevm commit cdffc94)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Preprocessing library for hevm-0.30.. | |
Building library for hevm-0.30.. | |
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument] | |
In file included from ethjet/ethjet-ff.cc:6:0: error: | |
In file included from /nix/store/k4im5gvnhivvinhaqnbynljlzjvavqka-libff-0.20181030/include/libff/algebra/fields/bigint.hpp:17:0: error: | |
In file included from /nix/store/k4im5gvnhivvinhaqnbynljlzjvavqka-libff-0.20181030/include/libff/common/serialization.hpp:104:0: error: | |
In file included from /nix/store/k4im5gvnhivvinhaqnbynljlzjvavqka-libff-0.20181030/include/libff/common/serialization.tcc:20:0: error: | |
/nix/store/k4im5gvnhivvinhaqnbynljlzjvavqka-libff-0.20181030/include/libff/common/utils.hpp:34:40: error: | |
error: no template named 'initializer_list' in namespace 'std' | |
| | |
34 | bit_vector int_list_to_bits(const std::initializer_list<unsigned long> &l, const size_t wordsize); | |
| ^ | |
bit_vector int_list_to_bits(const std::initializer_list<unsigned long> &l, const size_t wordsize); | |
~~~~~^ | |
In file included from ethjet/ethjet-ff.cc:6:0: error: | |
In file included from /nix/store/k4im5gvnhivvinhaqnbynljlzjvavqka-libff-0.20181030/include/libff/algebra/fields/bigint.hpp:17:0: error: | |
In file included from /nix/store/k4im5gvnhivvinhaqnbynljlzjvavqka-libff-0.20181030/include/libff/common/serialization.hpp:104:0: error: | |
/nix/store/k4im5gvnhivvinhaqnbynljlzjvavqka-libff-0.20181030/include/libff/common/serialization.tcc:104:50: error: | |
error: too many arguments provided to function-like macro invocation | |
static_assert(!std::is_same<T, bool>::value, "this does not work for std::vector<bool>"); | |
^ | |
| | |
104 | static_assert(!std::is_same<T, bool>::value, "this does not work for std::vector<bool>"); | |
| ^ | |
/nix/store/c3gsacyfdnfjh0f7d4jjq6zwy6fp8mgy-libc++-5.0.2/include/c++/v1/__config:783:12: error: | |
note: macro 'static_assert' defined here | |
| | |
783 | # define static_assert(__b, __m) _Static_assert(__b, __m) | |
| ^ | |
# define static_assert(__b, __m) _Static_assert(__b, __m) | |
^ | |
In file included from ethjet/ethjet-ff.cc:6:0: error: | |
In file included from /nix/store/k4im5gvnhivvinhaqnbynljlzjvavqka-libff-0.20181030/include/libff/algebra/fields/bigint.hpp:17:0: error: | |
In file included from /nix/store/k4im5gvnhivvinhaqnbynljlzjvavqka-libff-0.20181030/include/libff/common/serialization.hpp:104:0: error: | |
/nix/store/k4im5gvnhivvinhaqnbynljlzjvavqka-libff-0.20181030/include/libff/common/serialization.tcc:104:5: error: | |
error: use of undeclared identifier 'static_assert' | |
static_assert(!std::is_same<T, bool>::value, "this does not work for std::vector<bool>"); | |
^ | |
| | |
104 | static_assert(!std::is_same<T, bool>::value, "this does not work for std::vector<bool>"); | |
| ^ | |
/nix/store/k4im5gvnhivvinhaqnbynljlzjvavqka-libff-0.20181030/include/libff/common/serialization.tcc:117:50: error: | |
error: too many arguments provided to function-like macro invocation | |
static_assert(!std::is_same<T, bool>::value, "this does not work for std::vector<bool>"); | |
^ | |
| | |
117 | static_assert(!std::is_same<T, bool>::value, "this does not work for std::vector<bool>"); | |
| ^ | |
/nix/store/c3gsacyfdnfjh0f7d4jjq6zwy6fp8mgy-libc++-5.0.2/include/c++/v1/__config:783:12: error: | |
note: macro 'static_assert' defined here | |
| | |
783 | # define static_assert(__b, __m) _Static_assert(__b, __m) | |
| ^ | |
# define static_assert(__b, __m) _Static_assert(__b, __m) | |
^ | |
In file included from ethjet/ethjet-ff.cc:6:0: error: | |
In file included from /nix/store/k4im5gvnhivvinhaqnbynljlzjvavqka-libff-0.20181030/include/libff/algebra/fields/bigint.hpp:17:0: error: | |
In file included from /nix/store/k4im5gvnhivvinhaqnbynljlzjvavqka-libff-0.20181030/include/libff/common/serialization.hpp:104:0: error: | |
/nix/store/k4im5gvnhivvinhaqnbynljlzjvavqka-libff-0.20181030/include/libff/common/serialization.tcc:117:5: error: | |
error: use of undeclared identifier 'static_assert' | |
static_assert(!std::is_same<T, bool>::value, "this does not work for std::vector<bool>"); | |
^ | |
| | |
117 | static_assert(!std::is_same<T, bool>::value, "this does not work for std::vector<bool>"); | |
| ^ | |
In file included from ethjet/ethjet-ff.cc:6:0: error: | |
In file included from /nix/store/k4im5gvnhivvinhaqnbynljlzjvavqka-libff-0.20181030/include/libff/algebra/fields/bigint.hpp:62:0: error: | |
/nix/store/k4im5gvnhivvinhaqnbynljlzjvavqka-libff-0.20181030/include/libff/algebra/fields/bigint.tcc:171:2: error: | |
error: unknown type name 'constexpr' | |
constexpr size_t num_random_words = sizeof(mp_limb_t) * n / sizeof(std::random_device::result_type); | |
^ | |
| | |
171 | constexpr size_t num_random_words = sizeof(mp_limb_t) * n / sizeof(std::random_device::result_type); | |
| ^ | |
/nix/store/k4im5gvnhivvinhaqnbynljlzjvavqka-libff-0.20181030/include/libff/algebra/fields/bigint.tcc:171:18: error: | |
error: expected ';' at end of declaration | |
constexpr size_t num_random_words = sizeof(mp_limb_t) * n / sizeof(std::random_device::result_type); | |
^ | |
| | |
171 | constexpr size_t num_random_words = sizeof(mp_limb_t) * n / sizeof(std::random_device::result_type); | |
| ^ | |
/nix/store/k4im5gvnhivvinhaqnbynljlzjvavqka-libff-0.20181030/include/libff/algebra/fields/bigint.tcc:173:7: error: | |
error: unknown type name 'size_t' | |
for (size_t i = 0; i < num_random_words; ++i) | |
^ | |
| | |
173 | for (size_t i = 0; i < num_random_words; ++i) | |
| ^ | |
/nix/store/k4im5gvnhivvinhaqnbynljlzjvavqka-libff-0.20181030/include/libff/algebra/fields/bigint.tcc:173:25: error: | |
error: use of undeclared identifier 'num_random_words'; did you mean 'random_words'? | |
for (size_t i = 0; i < num_random_words; ++i) | |
^ | |
| | |
173 | for (size_t i = 0; i < num_random_words; ++i) | |
| ^ | |
/nix/store/k4im5gvnhivvinhaqnbynljlzjvavqka-libff-0.20181030/include/libff/algebra/fields/bigint.tcc:172:7: error: | |
note: 'random_words' declared here | |
auto random_words = reinterpret_cast<std::random_device::result_type*>(this->data); | |
^ | |
| | |
172 | auto random_words = reinterpret_cast<std::random_device::result_type*>(this->data); | |
| ^ | |
In file included from ethjet/ethjet-ff.cc:7:0: error: | |
In file included from /nix/store/k4im5gvnhivvinhaqnbynljlzjvavqka-libff-0.20181030/include/libff/algebra/curves/alt_bn128/alt_bn128_init.hpp:11:0: error: | |
/nix/store/k4im5gvnhivvinhaqnbynljlzjvavqka-libff-0.20181030/include/libff/algebra/fields/fp.hpp:45:18: error: | |
error: unknown type name 'constexpr' | |
static const constexpr bigint<n>& mod = modulus; | |
^ | |
| | |
45 | static const constexpr bigint<n>& mod = modulus; | |
| ^ | |
/nix/store/k4im5gvnhivvinhaqnbynljlzjvavqka-libff-0.20181030/include/libff/algebra/fields/fp.hpp:45:28: error: | |
error: template specialization requires 'template<>' | |
static const constexpr bigint<n>& mod = modulus; | |
^ ~~~ | |
| | |
45 | static const constexpr bigint<n>& mod = modulus; | |
| ^ | |
/nix/store/k4im5gvnhivvinhaqnbynljlzjvavqka-libff-0.20181030/include/libff/algebra/fields/fp.hpp:45:28: error: | |
error: no variable template matches specialization | |
| | |
45 | static const constexpr bigint<n>& mod = modulus; | |
| ^ | |
/nix/store/k4im5gvnhivvinhaqnbynljlzjvavqka-libff-0.20181030/include/libff/algebra/fields/fp.hpp:45:37: error: | |
error: expected ';' at end of declaration list | |
static const constexpr bigint<n>& mod = modulus; | |
^ | |
| | |
45 | static const constexpr bigint<n>& mod = modulus; | |
| ^ | |
13 errors generated. | |
`cc' failed in phase `C Compiler'. (Exit code: 1) | |
make: *** [build] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment