- Notifications
You must be signed in to change notification settings - Fork 333
Open
Description
Got this trying to build today:
#33 33.02 [ 34%] Built target silkpre #33 37.01 In file included from /evmone/include/evmmax/evmmax.hpp:6, #33 37.01 from /evmone/lib/evmone_precompiles/modexp.cpp:6: #33 37.01 In function 'constexpr intx::div_result<intx::uint<N>, intx::uint<N> > intx::udivrem(const uint<N>&, const uint<N>&) [with unsigned int M = 320; unsigned int N = 128]', #33 37.01 inlined from 'static constexpr UintT evmmax::ModArith<UintT>::compute_r_squared(const UintT&) [with UintT = intx::uint<128>]' at /evmone/include/evmmax/evmmax.hpp:46:29, #33 37.01 inlined from 'constexpr evmmax::ModArith<UintT>::ModArith(const UintT&) [with UintT = intx::uint<128>]' at /evmone/include/evmmax/evmmax.hpp:59:38, #33 37.01 inlined from 'UIntT {anonymous}::modexp_odd(const UIntT&, std::span<const unsigned char>, const UIntT&) [with UIntT = intx::uint<128>]' at /evmone/lib/evmone_precompiles/modexp.cpp:40:35, #33 37.01 inlined from 'void {anonymous}::modexp_impl(std::span<const unsigned char>, std::span<const unsigned char>, std::span<const unsigned char>, uint8_t*) [with long unsigned int Size = 16]' at /evmone/lib/evmone_precompiles/modexp.cpp:115:28, #33 37.01 inlined from 'void evmone::crypto::modexp(std::span<const unsigned char>, std::span<const unsigned char>, std::span<const unsigned char>, uint8_t*)' at /evmone/lib/evmone_precompiles/modexp.cpp:149:24: #33 37.01 /root/.hunter/_Base/b194453/e447a03/11d6b08/Install/include/intx/intx.hpp:1536:34: error: array subscript 2 is outside array bounds of 'intx::uint<128> [1]' [-Werror=array-bounds=] #33 37.01 1536 | rw[na.num_divisor_words - 1] = un[na.num_divisor_words - 1] >> na.shift; #33 37.01 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #33 37.01 /root/.hunter/_Base/b194453/e447a03/11d6b08/Install/include/intx/intx.hpp: In function 'void evmone::crypto::modexp(std::span<const unsigned char>, std::span<const unsigned char>, std::span<const unsigned char>, uint8_t*)': #33 37.01 /root/.hunter/_Base/b194453/e447a03/11d6b08/Install/include/intx/intx.hpp:1532:13: note: at offset 16 into object 'r' of size 16 #33 37.01 1532 | uint<N> r; #33 37.01 | ^ #33 37.01 In function 'constexpr intx::div_result<intx::uint<N>, intx::uint<N> > intx::udivrem(const uint<N>&, const uint<N>&) [with unsigned int M = 320; unsigned int N = 128]', #33 37.01 inlined from 'static constexpr UintT evmmax::ModArith<UintT>::compute_r_squared(const UintT&) [with UintT = intx::uint<128>]' at /evmone/include/evmmax/evmmax.hpp:46:29, #33 37.01 inlined from 'constexpr evmmax::ModArith<UintT>::ModArith(const UintT&) [with UintT = intx::uint<128>]' at /evmone/include/evmmax/evmmax.hpp:59:38, #33 37.01 inlined from 'UIntT {anonymous}::modexp_odd(const UIntT&, std::span<const unsigned char>, const UIntT&) [with UIntT = intx::uint<128>]' at /evmone/lib/evmone_precompiles/modexp.cpp:40:35, #33 37.01 inlined from 'void {anonymous}::modexp_impl(std::span<const unsigned char>, std::span<const unsigned char>, std::span<const unsigned char>, uint8_t*) [with long unsigned int Size = 16]' at /evmone/lib/evmone_precompiles/modexp.cpp:123:35, #33 37.01 inlined from 'void evmone::crypto::modexp(std::span<const unsigned char>, std::span<const unsigned char>, std::span<const unsigned char>, uint8_t*)' at /evmone/lib/evmone_precompiles/modexp.cpp:149:24: #33 37.01 /root/.hunter/_Base/b194453/e447a03/11d6b08/Install/include/intx/intx.hpp:1536:34: error: array subscript 2 is outside array bounds of 'intx::uint<128> [1]' [-Werror=array-bounds=] #33 37.01 1536 | rw[na.num_divisor_words - 1] = un[na.num_divisor_words - 1] >> na.shift; #33 37.01 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #33 37.01 /root/.hunter/_Base/b194453/e447a03/11d6b08/Install/include/intx/intx.hpp: In function 'void evmone::crypto::modexp(std::span<const unsigned char>, std::span<const unsigned char>, std::span<const unsigned char>, uint8_t*)': #33 37.01 /root/.hunter/_Base/b194453/e447a03/11d6b08/Install/include/intx/intx.hpp:1532:13: note: at offset 16 into object 'r' of size 16 #33 37.01 1532 | uint<N> r; #33 37.01 | ^ #33 37.30 cc1plus: all warnings being treated as errors #33 37.33 gmake[2]: *** [lib/evmone_precompiles/CMakeFiles/evmone_precompiles.dir/build.make:149: lib/evmone_precompiles/CMakeFiles/evmone_precompiles.dir/modexp.cpp.o] Error 1 #33 37.33 gmake[2]: *** Waiting for unfinished jobs.... #33 39.36 gmake[1]: *** [CMakeFiles/Makefile2:1060: lib/evmone_precompiles/CMakeFiles/evmone_precompiles.dir/all] Error 2 #33 39.36 gmake[1]: *** Waiting for unfinished jobs.... #33 57.17 [ 34%] Linking CXX executable ../../../bin/evmc #33 57.78 [ 34%] Built target evmc-tool #33 57.78 gmake: *** [Makefile:166: all] Error 2 #33 ERROR: process "/bin/sh -c cd evmone && cmake --build build --parallel" did not complete successfully: exit code: 2 Known issue? Am I doing something wrong? Cheers
Metadata
Metadata
Assignees
Labels
No labels