You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bazel build @org_lzma_lzma//... --keep_going
Starting local Bazel server and connecting to it...
INFO: Analyzed 3 targets (65 packages loaded, 482 targets configured).
ERROR: /home/pi/.cache/bazel/_bazel_pi/0cde8161736ea9e02205f75b95c5e10c/external/org_lzma_lzma/BUILD.bazel:52:11: Compiling src/liblzma/check/crc64_fast.c failed: (Exit 1): gcc failed: error executing CppCompile command (from target @@org_lzma_lzma//:lzma) /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -MD -MF ... (remaining 42 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
external/org_lzma_lzma/src/liblzma/check/crc64_fast.c:69:25: fatal error: cpuid.h: No such file or directory
69 |# include <cpuid.h>| ^~~~~~~~~
compilation terminated.
Apparently, this needs some defines and/or bazelselect() somewhere to do different things depending on architecture (cpuid is only something available on x86).
(I noticed that in the compilation of XLS)
The text was updated successfully, but these errors were encountered:
Compiling on an aarch64 machine (Raspberry Pi 5)
the
@org_lzma_lzma
compilation fails:Apparently, this needs some defines and/or bazel
select()
somewhere to do different things depending on architecture (cpuid is only something available on x86).(I noticed that in the compilation of XLS)
The text was updated successfully, but these errors were encountered: