Skip to content

Tensorstore 0.1.80 compilation error #274

@jason1987d

Description

@jason1987d

I find all versions after 0.1.73 fail too.

[2,695 / 7,332] Compiling third_party/fastfeat/fast_9.c; 40s processwrapp
er-sandbox ... (16 actions, 15 running)                                  
ERROR: /tmp/.cache/bazel/_bazel_voidbuilder/e742d696b07ecb3441c85af5ade68
21f/external/aws_c_common/BUILD.bazel:101:11: Compiling source/arch/intel
/encoding_avx2.c failed: (Exit 1): cc failed: error executing CppCompile 
command (from target @@aws_c_common//:aws_c_common)                      
  (cd /tmp/.cache/bazel/_bazel_voidbuilder/e742d696b07ecb3441c85af5ade682
1f/sandbox/processwrapper-sandbox/1638/execroot/tensorstore && \         
  exec env - \                                                           
    PATH=/tmp/.cache/bazelisk/downloads/bazelbuild/bazel-8.4.2-linux-x86_
64/bin:/builddir/.xbps-python3-tensorstore/wrappers:/usr/bin:/usr/local/s
bin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin:/usr/lib/jvm/default-jdk
/bin:/usr/lib/jvm/default-jre/bin:/data/voidbuilder/void-packages/masterd
ir-x86_64/usr/bin \                                                      
    PWD=/proc/self/cwd \
  /usr/bin/cc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-
parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FO
RTIFY_SOURCE=1' -DNDEBUG -ffunction-sections -fdata-sections -MD -MF baze
l-out/k8-opt/bin/external/aws_c_common/_objs/aws_c_common/encoding_avx2.p
ic.d '-frandom-seed=bazel-out/k8-opt/bin/external/aws_c_common/_objs/aws_
c_common/encoding_avx2.pic.o' -fPIC -DCJSON_HIDE_SYMBOLS -DINTEL_NO_ITTNO
TIFY_API '-DAWS_AFFINITY_METHOD=AWS_AFFINITY_METHOD_PTHREAD_ATTR' -DAWS_P
THREAD_GETNAME_TAKES_3ARGS -DAWS_PTHREAD_SETNAME_TAKES_2ARGS -DHAVE_SYSCO
NF -DUSE_SIMD_ENCODING -iquote external/aws_c_common -iquote bazel-out/k8
-opt/bin/external/aws_c_common -Ibazel-out/k8-opt/bin/external/aws_c_comm
on/_virtual_includes/external_cjson -Ibazel-out/k8-opt/bin/external/aws_c
_common/_virtual_includes/external_libcbor -isystem external/aws_c_common
/include -isystem bazel-out/k8-opt/bin/external/aws_c_common/include '-fd
iagnostics-color=always' -Wno-deprecated-declarations -Wno-sign-compare -
Wno-unused-but-set-parameter -Wno-maybe-uninitialized -Wno-sequence-point
 -Wno-unknown-warning-option -Wno-stringop-overflow -O3 '-fvisibility=hid
den' -c external/aws_c_common/source/arch/intel/encoding_avx2.c -o bazel-
out/k8-opt/bin/external/aws_c_common/_objs/aws_c_common/encoding_avx2.pic
.o -fno-canonical-system-headers -Wno-builtin-macro-redefined '-D__DATE__
="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"')
# Configuration: ae4d0cd77d3dde396e7921560878ac3ce301c7aaa6d04f5cb41e30ae
d17095d8
# Execution platform: @@internal_platforms_do_not_use//host:host

Use --sandbox_debug to see verbose messages from the sandbox and retain t
he sandbox build root for debugging
external/aws_c_common/source/arch/intel/encoding_avx2.c: In function 'tra
nslate_range':
external/aws_c_common/source/arch/intel/encoding_avx2.c:22:1: warning: AV
X vector return without AVX enabled changes the ABI [-Wpsabi]
   22 | static inline __m256i translate_range(__m256i in, uint8_t lo, uin
t8_t hi, uint8_t offset) {
      | ^~~~~~
external/aws_c_common/source/arch/intel/encoding_avx2.c:22:23: note: the 
ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
   22 | static inline __m256i translate_range(__m256i in, uint8_t lo, uin
t8_t hi, uint8_t offset) {
      |                       ^~~~~~~~~~~~~~~
In file included from /usr/lib64/gcc/x86_64-unknown-li17:38:34 [194/1870]
ude/immintrin.h:53,
                 from external/aws_c_common/source/arch/intel/encoding_av
x2.c:7:
/usr/lib64/gcc/x86_64-unknown-linux-gnu/14.2.1/include/avx2intrin.h: In f
unction 'translate_exact':
/usr/lib64/gcc/x86_64-unknown-linux-gnu/14.2.1/include/avx2intrin.h:179:1
: error: inlining failed in call to 'always_inline' '_mm256_and_si256': t
arget specific option mismatch
  179 | _mm256_and_si256 (__m256i __A, __m256i __B)
      | ^~~~~~~~~~~~~~~~
external/aws_c_common/source/arch/intel/encoding_avx2.c:46:12: note: call
ed from here
   46 |     return _mm256_and_si256(mask, _mm256_set1_epi8(decode));
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib64/gcc/x86_64-unknown-linux-gnu/14.2.1/incl
ude/immintrin.h:43:
/usr/lib64/gcc/x86_64-unknown-linux-gnu/14.2.1/include/avxintrin.h:1349:1
: error: inlining failed in call to 'always_inline' '_mm256_set1_epi8': t
arget specific option mismatch
 1349 | _mm256_set1_epi8 (char __A)
      | ^~~~~~~~~~~~~~~~
external/aws_c_common/source/arch/intel/encoding_avx2.c:46:12: note: call
ed from here
   46 |     return _mm256_and_si256(mask, _mm256_set1_epi8(decode));
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib64/gcc/x86_64-unknown-linux-gnu/14.2.1/include/avx2intrin.h:231:1
: error: inlining failed in call to 'always_inline' '_mm256_cmpeq_epi8': 
target specific option mismatch
  231 | _mm256_cmpeq_epi8 (__m256i __A, __m256i __B)
      | ^~~~~~~~~~~~~~~~~
external/aws_c_common/source/arch/intel/encoding_avx2.c:45:20: note: call
ed from here
   45 |     __m256i mask = _mm256_cmpeq_epi8(in, _mm256_set1_epi8(match))
;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib64/gcc/x86_64-unknown-linux-gnu/14.2.1/include/avxintrin.h:1349:1
: error: inlining failed in call to 'always_inline' '_mm256_set1_epi8': t
arget specific option mismatch
 1349 | _mm256_set1_epi8 (char __A)
external/aws_c_common/source/arch/intel/encoding_avx2.17:38:34 [153/1870]
ed from here
   45 |     __m256i mask = _mm256_cmpeq_epi8(in, _mm256_set1_epi8(match))
;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At top level:
cc1: note: unrecognized command-line option '-Wno-unknown-warning-option'
 may have been intended to silence earlier diagnostics
Target //python/tensorstore:_tensorstore__shared_objects failed to build
INFO: Elapsed time: 104.533s, Critical Path: 41.39s
INFO: 2725 processes: 1085 internal, 1640 processwrapper-sandbox.
ERROR: Build did NOT complete successfully

gcc version 14.2.1+20250405
python 3.14
pip 25.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions