io
io copied to clipboard
tensorflow_io_gcs_filesystem build failure for s390x
Hi,
I am trying to build tensorflow_io_gcs_filesystem
for s390x; However, It is failing due to boringssl issue.
Any suggestion would really help. Thanks in advance !
Steps executed:
sh ${SRC_DIR}/configure.sh
using installed tensorflow
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.
WARNING:root:Limited tf.summary API due to missing TensorBoard installation.
# install using pip from the whl file
bazel --bazelrc=$SRC_DIR/python_configure.bazelrc build \
--verbose_failures $BAZEL_OPTIMIZATION //tensorflow_io_gcs_filesystem/...
Logs:
....
TF_SHARED_LIBRARY_NAME=libtensorflow_framework.so.2 \
s390x-conda-linux-gnu-cc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer '-std=c++11' -MD -MF bazel-out/s390x-fastbuild/bin/external/boringssl/_objs/ssl/d1_srtp.pic.d '-frandom-seed=bazel-out/s390x-fastbuild/bin/external/boringssl/_objs/ssl/d1_srtp.pic.o' -fPIC -iquoteexternal/boringssl -iquotebazel-out/s390x-fastbuild/bin/external/boringssl -isystem external/boringssl/src/include -isystem bazel-out/s390x-fastbuild/bin/external/boringssl/src/include '-fvisibility=hidden' '-D_GLIBCXX_USE_CXX11_ABI=1' '-DEIGEN_MAX_ALIGN_BYTES=64' '-std=c++14' -DOPENSSL_NO_ASM -fno-canonical-system-headers -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c external/boringssl/src/ssl/d1_srtp.cc -o bazel-out/s390x-fastbuild/bin/external/boringssl/_objs/ssl/d1_srtp.pic.o)
Execution platform: @local_execution_config_platform//:platform
Use --sandbox_debug to see verbose messages from the sandbox
In file included from external/boringssl/src/include/openssl/ssl.h:145,
from external/boringssl/src/ssl/d1_srtp.cc:117:
external/boringssl/src/include/openssl/base.h:122:2: error: #error "Unknown target CPU"
122 | #error "Unknown target CPU"
| ^~~~~
@pradghos read https://github.com/google/boringssl/blob/81502beeddc5f116d44d0898c6c4a33057198db8/include/openssl/base.h#L121 comment.
zArch (s/390x) is not supported by boringssl.
@hrw Thanks for your input.
I have found similar boringssl
issue mentioned in https://github.com/tensorflow/tensorflow/issues/51770#issuecomment-910790977. But not sure if it is possible to avoid boringssl
during tensorflow_io_gcs_filesystem
build for s390x.