Closed web-sst closed 3 years ago
What is the output of the configure script on your platform, as executed in dist/gcc-compatible
, and for the very latest revision on master?
Output from dist/gcc-compatible/configure:
does not support x64 assembly, disabling Curve64
does not support legacy vale stubs
cc cannot compile 128-bit vector arithmetic, disabling
does not support 256-bit arithmetic
... found ocamlfind in /usr/local/bin/ocamlfind
ocamlfind: Package `ctypes' not found
OCaml package ctypes not found
OCaml bindings disabled
Evidently $build_target is not set to something sensible.
The specific errors reported are reformatted in the latest version, though essentially unchanged:
In file included from ./Hacl_Spec.h:33:
./libintvector.h:232:48: error:
expected
identifier
or '('
...;
^
interesting, because since your toolchain does not seem to support 128-bit vector arithmetic, we should suitably disable both 128-bit and 256-bit vector primitives... @Kachoc do you have a clue?
The definitions in libintvector.h are guarded by architecture flags like #if defined(__x86_64__) || defined(_M_X64)
which are probably not compatible with the feature detection performed in configure. I can update this file to use the COMPILE_VEC128
... flags in combination with the new target architecture flags.
I should have done it actually, but it got drowned in other things.
This should be fixed by #421
Can someone provide guidance on how to resol.ve these errors?