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

Failing to build circuits #24

Closed
NickVolynkin opened this issue Jun 12, 2023 · 0 comments · Fixed by #23
Closed

Failing to build circuits #24

NickVolynkin opened this issue Jun 12, 2023 · 0 comments · Fixed by #23

Comments

@NickVolynkin
Copy link
Contributor

Recent changes have disabled building circuits. The resulting file has the extension .pc (not .bc or .ll).

Log fragments:

$ cmake -D CIRCUIT_ASSEMBLY_OUTPUT ..
...
CMake Warning:
  Manually-specified variables were not used by the project:

    CIRCUIT_ASSEMBLY_OUTPUT
...
$ make zkllvm_template
...
[100%] Building CXX object src/CMakeFiles/zkllvm_template.dir/main.cpp.o
/opt/zkllvm-template/src/main.cpp:17:76: warning: 'circuit' attribute directive ignored [-Wattributes]
   17 |                              typename pallas::base_field_type::value_type b) {
      |                                                                            ^
In file included from /opt/zkllvm-template/libs/crypto3/libs/multiprecision/include/nil/crypto3/multiprecision/modular/modular_functions_fixed.hpp:15,
                 from /opt/zkllvm-template/libs/crypto3/libs/multiprecision/include/nil/crypto3/multiprecision/cpp_int/eval_jacobi.hpp:15,
                 from /opt/zkllvm-template/libs/crypto3/libs/multiprecision/include/nil/crypto3/multiprecision/cpp_int.hpp:2772,
                 from /opt/zkllvm-template/libs/crypto3/libs/algebra/include/nil/crypto3/algebra/fields/detail/exponentiation.hpp:33,
                 from /opt/zkllvm-template/libs/crypto3/libs/algebra/include/nil/crypto3/algebra/fields/detail/element/fp.hpp:29,
                 from /opt/zkllvm-template/libs/crypto3/libs/algebra/include/nil/crypto3/algebra/fields/pallas/base_field.hpp:29,
                 from /opt/zkllvm-template/libs/crypto3/libs/algebra/include/nil/crypto3/algebra/curves/detail/pallas/types.hpp:29,
                 from /opt/zkllvm-template/libs/crypto3/libs/algebra/include/nil/crypto3/algebra/curves/pallas.hpp:29,
                 from /opt/zkllvm-template/src/main.cpp:1:
/opt/zkllvm-template/libs/crypto3/libs/multiprecision/include/nil/crypto3/multiprecision/modular/asm_functions.hpp: In function 'bool nil::crypto3::multiprecision::backends::reduce_limb_asm(const size_t&, Limb1*, const Limb2*, const Limb3&) [with Limb1 = long long unsigned int; Limb2 = long long unsigned int; Limb3 = __int128 unsigned]':
/opt/zkllvm-template/libs/crypto3/libs/multiprecision/include/nil/crypto3/multiprecision/modular/asm_functions.hpp:95:17: warning: unsupported size for integer register
   95 |                 }
      |                 ^
[100%] Built target zkllvm_template
NickVolynkin added a commit that referenced this issue Jun 12, 2023
This reverts commits:
* dba71d6
* fbf2d5f
* 08eb154

Resolves #24
NickVolynkin added a commit that referenced this issue Jun 12, 2023
This reverts commits:
* dba71d6
* fbf2d5f
* 08eb154

Resolves #24
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

Successfully merging a pull request may close this issue.

1 participant