Comments (13)
能不能提供一下下面两个 commands 的结果呀
locate libpthread.so
locate pthread.h
from spu.
能不能提供一下下面两个 commands 的结果呀
locate libpthread.so
locate pthread.h
[root@mingo-centos ~]# locate libpthread.so
/usr/lib64/libpthread.so
/usr/lib64/libpthread.so.0
[root@mingo-centos ~]# locate pthread.h
/opt/Python-3.8.13/Python/thread_pthread.h
/opt/gcc-11.2.0/fixincludes/tests/base/pthread.h
/opt/gcc-11.2.0/fixincludes/tests/base/sys/pthread.h
/opt/gcc-11.2.0/gcc/config/openbsd-libpthread.h
/opt/gcc-11.2.0/gcc/config/i386/mingw-pthread.h
/root/.cache/bazel/_bazel_root/9de4a6aef89daf40df580afb13ff9f9d/external/llvm-raw/clang/test/Modules/Inputs/crash-recovery/usr/include/pthread.h
/usr/include/pthread.h
/usr/local/python3/lib/python3.8/site-packages/tensorflow/include/external/com_github_grpc_grpc/src/core/lib/gpr/tls_pthread.h
/usr/share/man/man0p/pthread.h.0p.gz
from spu.
能不能提供一下下面两个 commands 的结果呀
locate libpthread.so
locate pthread.h
[root@mingo-centos ~]# locate libpthread.so /usr/lib64/libpthread.so /usr/lib64/libpthread.so.0 [root@mingo-centos ~]# locate pthread.h /opt/Python-3.8.13/Python/thread_pthread.h /opt/gcc-11.2.0/fixincludes/tests/base/pthread.h /opt/gcc-11.2.0/fixincludes/tests/base/sys/pthread.h /opt/gcc-11.2.0/gcc/config/openbsd-libpthread.h /opt/gcc-11.2.0/gcc/config/i386/mingw-pthread.h /root/.cache/bazel/_bazel_root/9de4a6aef89daf40df580afb13ff9f9d/external/llvm-raw/clang/test/Modules/Inputs/crash-recovery/usr/include/pthread.h /usr/include/pthread.h /usr/local/python3/lib/python3.8/site-packages/tensorflow/include/external/com_github_grpc_grpc/src/core/lib/gpr/tls_pthread.h /usr/share/man/man0p/pthread.h.0p.gz
麻烦再做一个实验
clone 一下这个 repo
然后 bazel build //... -c opt
,看看这个 repo 能不能顺利 build
Thx
from spu.
能不能提供一下下面两个 commands 的结果呀
locate libpthread.so
locate pthread.h
[root@mingo-centos ~]# locate libpthread.so /usr/lib64/libpthread.so /usr/lib64/libpthread.so.0 [root@mingo-centos ~]# locate pthread.h /opt/Python-3.8.13/Python/thread_pthread.h /opt/gcc-11.2.0/fixincludes/tests/base/pthread.h /opt/gcc-11.2.0/fixincludes/tests/base/sys/pthread.h /opt/gcc-11.2.0/gcc/config/openbsd-libpthread.h /opt/gcc-11.2.0/gcc/config/i386/mingw-pthread.h /root/.cache/bazel/_bazel_root/9de4a6aef89daf40df580afb13ff9f9d/external/llvm-raw/clang/test/Modules/Inputs/crash-recovery/usr/include/pthread.h /usr/include/pthread.h /usr/local/python3/lib/python3.8/site-packages/tensorflow/include/external/com_github_grpc_grpc/src/core/lib/gpr/tls_pthread.h /usr/share/man/man0p/pthread.h.0p.gz
麻烦再做一个实验
clone 一下这个 repo
然后
bazel build //... -c opt
,看看这个 repo 能不能顺利 buildThx
依然不行,如下:
[root@mingo-centos yasl]# bazel build //... -c opt
WARNING: /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/external/com_github_brpc_brpc/BUILD.bazel:472:19: in cc_library rule @com_github_brpc_brpc//:cc_brpc_idl_options_proto: target '@com_github_brpc_brpc//:cc_brpc_idl_options_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use.
WARNING: /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/external/com_github_brpc_brpc/BUILD.bazel:483:19: in cc_library rule @com_github_brpc_brpc//:cc_brpc_internal_proto: target '@com_github_brpc_brpc//:cc_brpc_internal_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use.
DEBUG: Rule 'simplest_ot' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1656748464 +0800"
DEBUG: Repository simplest_ot instantiated at:
/opt/yasl/WORKSPACE:5:10: in <toplevel>
/opt/yasl/bazel/repositories.bzl:32:10: in yasl_deps
/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/external/bazel_tools/tools/build_defs/repo/utils.bzl:233:18: in maybe
Repository rule git_repository defined at:
/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in <toplevel>
INFO: Analyzed 127 targets (1 packages loaded, 1343 targets configured).
INFO: Found 127 targets...
ERROR: /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/external/com_github_intel_ipp/BUILD.bazel:10:20: Foreign Cc - CMake: Building ipp failed: (Exit 1): bash failed: error executing command /bin/bash -c bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp_foreign_cc/wrapper_build_script.sh
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
rules_foreign_cc: Build failed!
rules_foreign_cc: Keeping temp build directory and dependencies directory for debug.
rules_foreign_cc: Please note that the directories inside a sandbox are still cleaned unless you specify --sandbox_debug Bazel command line flag.
rules_foreign_cc: Printing build logs:
_____ BEGIN BUILD LOGS _____
Bazel external C/C++ Rules. Building library ipp
Environment:______________
TMPDIR=/tmp
BUILD_WRAPPER_SCRIPT=bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp_foreign_cc/wrapper_build_script.sh
EXT_BUILD_ROOT=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl
INSTALLDIR=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp
PATH=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
BUILD_TMPDIR=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir
PWD=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl
EXT_BUILD_DEPS=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.ext_build_deps
SHLVL=3
BUILD_LOG=bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp_foreign_cc/CMake.log
BUILD_SCRIPT=bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp_foreign_cc/build_script.sh
_=/usr/bin/env
__________________________
+ cmake -DARCH=intel64 -DOPENSSL_INCLUDE_DIR=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.ext_build_deps/openssl/include -DOPENSSL_LIBRARIES=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.ext_build_deps/openssl/lib -DOPENSSL_ROOT_DIR=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.ext_build_deps/openssl -DCMAKE_BUILD_TYPE=Release -DCMAKE_THREAD_LIBS_INIT=-lpthread -DCMAKE_HAVE_THREADS_LIBRARY=1 -DCMAKE_USE_WIN32_THREADS_INIT=0 -DCMAKE_USE_PTHREADS_INIT=1 -DTHREADS_PREFER_PTHREAD_FLAG=ON -DCMAKE_TOOLCHAIN_FILE=crosstool_bazel.cmake -DCMAKE_INSTALL_PREFIX=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp -DCMAKE_PREFIX_PATH=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.ext_build_deps -DCMAKE_RANLIB= -DCMAKE_MAKE_PROGRAM=ninja -G Ninja /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/gcc - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python: /usr/bin/python (found version "3.8.13") found components: Interpreter
-- CMAKE_VERSION ......................... 3.24.1
-- NONPIC_LIB ............................ off
-- PROJECT ............................... Intel® Integrated Performance Primitives Cryptography (Intel® IPP Cryptography)
-- CMAKE_BINARY_DIR ...................... /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir
-- CMAKE_OUTPUT_DIR ...................... /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/.build
-- CMAKE_SOURCE_DIR ...................... /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp
-- IPP_CRYPTO_DIR ........................ /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp
-- CMAKE_GENERATOR ....................... Ninja
-- CMAKE_C_COMPILER_ID ................... GNU
-- CMAKE_CXX_COMPILER_ID ................. GNU
-- IPP_CRYPTO_INCLUDE_DIR ................ /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/include
-- IPP_CRYPTO_SOURCES_INCLUDE_DIR ........ /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/include
-- IPP_CRYPTO_SOURCES_DIR ................ /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp
-- ARCH .................................. intel64
-- DYNAMIC_LIB ........................... ON
-- CMAKE_INSTALL_PREFIX .................. /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp
-- PYTHON_VERSION_STRING ................. 3.8.13
-- MERGED_BLD ............................ on
-- BUILD_EXAMPLES ........................ off
-- Using compiler options from ........... /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/cmake/linux/GNU8.2.0.cmake
-- The ASM_NASM compiler identification is NASM
-- Found assembler: /usr/bin/nasm
-- ASM compiler version .................. /usr/bin/nasm
-- ASM object format ..................... elf64
-- CMAKE_BUILD_TYPE is not set to Debug explicitly, defaulting to Release
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - no
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
-- Found OpenSSL: /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.ext_build_deps/openssl/lib/libcrypto.a (found suitable version "1.1.1l", minimum required is "1.1.0")
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_HAVE_THREADS_LIBRARY
CMAKE_USE_WIN32_THREADS_INIT
-- Build files have been written to: /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir
+ cmake --build . --config Release
[1/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_emptyfile.c.o
[2/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_aes_cfb_vaes_mb4.c.o
[3/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_enginegetsize.c.o
FAILED: sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_enginegetsize.c.o
/usr/bin/gcc -D_M7 -D_MERGED_BLD -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/include/autogen -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp/crypto_mb/include -I/usr/include/X11 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fdiagnostics-color=always -Dlinux -DLINUX32E -D_ARCH_EM64T -DIPP_PIC -D_NO_IPP_DEPRECATED -ffreestanding -falign-functions=32 -falign-loops=32 -Wformat -Wformat-security -fcf-protection=full -flto-report -std=c99 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fpic -fPIC -fpack-struct=16 -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wno-strict-aliasing -Wno-parentheses -Wno-array-parameter -O3 -DNDEBUG -Werror -march=nocona -msse3 -MD -MT sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_enginegetsize.c.o -MF sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_enginegetsize.c.o.d -o sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_enginegetsize.c.o -c /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/c_sources/m7/c_intel64/m7_gsmod_enginegetsize.c
/tmp/ccJHxKA6.s: Assembler messages:
/tmp/ccJHxKA6.s:10: Error: no such instruction: `endbr64'
[4/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_aes_cfb_vaes_mb8.c.o
[5/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv_ct.c.o
FAILED: sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv_ct.c.o
/usr/bin/gcc -D_M7 -D_MERGED_BLD -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/include/autogen -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp/crypto_mb/include -I/usr/include/X11 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fdiagnostics-color=always -Dlinux -DLINUX32E -D_ARCH_EM64T -DIPP_PIC -D_NO_IPP_DEPRECATED -ffreestanding -falign-functions=32 -falign-loops=32 -Wformat -Wformat-security -fcf-protection=full -flto-report -std=c99 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fpic -fPIC -fpack-struct=16 -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wno-strict-aliasing -Wno-parentheses -Wno-array-parameter -O3 -DNDEBUG -Werror -march=nocona -msse3 -MD -MT sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv_ct.c.o -MF sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv_ct.c.o.d -o sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv_ct.c.o -c /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/c_sources/m7/c_intel64/m7_gsmod_almmontinv_ct.c
/tmp/cctB1u47.s: Assembler messages:
/tmp/cctB1u47.s:10: Error: no such instruction: `endbr64'
[6/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_getpool.c.o
FAILED: sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_getpool.c.o
/usr/bin/gcc -D_M7 -D_MERGED_BLD -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/include/autogen -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp/crypto_mb/include -I/usr/include/X11 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fdiagnostics-color=always -Dlinux -DLINUX32E -D_ARCH_EM64T -DIPP_PIC -D_NO_IPP_DEPRECATED -ffreestanding -falign-functions=32 -falign-loops=32 -Wformat -Wformat-security -fcf-protection=full -flto-report -std=c99 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fpic -fPIC -fpack-struct=16 -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wno-strict-aliasing -Wno-parentheses -Wno-array-parameter -O3 -DNDEBUG -Werror -march=nocona -msse3 -MD -MT sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_getpool.c.o -MF sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_getpool.c.o.d -o sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_getpool.c.o -c /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/c_sources/m7/c_intel64/m7_gsmod_getpool.c
/tmp/cc9MQCh0.s: Assembler messages:
/tmp/cc9MQCh0.s:10: Error: no such instruction: `endbr64'
[7/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_aes_cfb_aesni_mb4.c.o
[8/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_cpinit.c.o
FAILED: sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_cpinit.c.o
/usr/bin/gcc -D_M7 -D_MERGED_BLD -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/include/autogen -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp/crypto_mb/include -I/usr/include/X11 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fdiagnostics-color=always -Dlinux -DLINUX32E -D_ARCH_EM64T -DIPP_PIC -D_NO_IPP_DEPRECATED -ffreestanding -falign-functions=32 -falign-loops=32 -Wformat -Wformat-security -fcf-protection=full -flto-report -std=c99 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fpic -fPIC -fpack-struct=16 -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wno-strict-aliasing -Wno-parentheses -Wno-array-parameter -O3 -DNDEBUG -Werror -march=nocona -msse3 -MD -MT sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_cpinit.c.o -MF sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_cpinit.c.o.d -o sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_cpinit.c.o -c /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/c_sources/m7/c_intel64/m7_cpinit.c
/tmp/cchHuxe8.s: Assembler messages:
/tmp/cchHuxe8.s:284: Error: no such instruction: `endbr64'
/tmp/cchHuxe8.s:297: Error: no such instruction: `endbr64'
/tmp/cchHuxe8.s:333: Error: no such instruction: `endbr64'
/tmp/cchHuxe8.s:350: Error: no such instruction: `endbr64'
/tmp/cchHuxe8.s:363: Error: no such instruction: `endbr64'
/tmp/cchHuxe8.s:544: Error: no such instruction: `endbr64'
/tmp/cchHuxe8.s:557: Error: no such instruction: `endbr64'
/tmp/cchHuxe8.s:576: Error: no such instruction: `endbr64'
/tmp/cchHuxe8.s:620: Error: no such instruction: `endbr64'
/tmp/cchHuxe8.s:652: Error: no such instruction: `endbr64'
/tmp/cchHuxe8.s:678: Error: no such instruction: `endbr64'
/tmp/cchHuxe8.s:708: Error: no such instruction: `endbr64'
[9/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv.c.o
FAILED: sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv.c.o
/usr/bin/gcc -D_M7 -D_MERGED_BLD -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/include/autogen -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp/crypto_mb/include -I/usr/include/X11 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fdiagnostics-color=always -Dlinux -DLINUX32E -D_ARCH_EM64T -DIPP_PIC -D_NO_IPP_DEPRECATED -ffreestanding -falign-functions=32 -falign-loops=32 -Wformat -Wformat-security -fcf-protection=full -flto-report -std=c99 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fpic -fPIC -fpack-struct=16 -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wno-strict-aliasing -Wno-parentheses -Wno-array-parameter -O3 -DNDEBUG -Werror -march=nocona -msse3 -MD -MT sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv.c.o -MF sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv.c.o.d -o sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv.c.o -c /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/c_sources/m7/c_intel64/m7_gsmod_almmontinv.c
/tmp/ccaEjWv7.s: Assembler messages:
/tmp/ccaEjWv7.s:10: Error: no such instruction: `endbr64'
[10/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_aes_cfb_vaes_mb16.c.o
[11/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_engineinit.c.o
FAILED: sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_engineinit.c.o
/usr/bin/gcc -D_M7 -D_MERGED_BLD -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/include/autogen -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp/crypto_mb/include -I/usr/include/X11 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fdiagnostics-color=always -Dlinux -DLINUX32E -D_ARCH_EM64T -DIPP_PIC -D_NO_IPP_DEPRECATED -ffreestanding -falign-functions=32 -falign-loops=32 -Wformat -Wformat-security -fcf-protection=full -flto-report -std=c99 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fpic -fPIC -fpack-struct=16 -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wno-strict-aliasing -Wno-parentheses -Wno-array-parameter -O3 -DNDEBUG -Werror -march=nocona -msse3 -MD -MT sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_engineinit.c.o -MF sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_engineinit.c.o.d -o sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_engineinit.c.o -c /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/c_sources/m7/c_intel64/m7_gsmod_engineinit.c
/tmp/ccUr6RW9.s: Assembler messages:
/tmp/ccUr6RW9.s:10: Error: no such instruction: `endbr64'
[12/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_inv.c.o
FAILED: sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_inv.c.o
/usr/bin/gcc -D_M7 -D_MERGED_BLD -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/include/autogen -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp/crypto_mb/include -I/usr/include/X11 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fdiagnostics-color=always -Dlinux -DLINUX32E -D_ARCH_EM64T -DIPP_PIC -D_NO_IPP_DEPRECATED -ffreestanding -falign-functions=32 -falign-loops=32 -Wformat -Wformat-security -fcf-protection=full -flto-report -std=c99 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fpic -fPIC -fpack-struct=16 -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wno-strict-aliasing -Wno-parentheses -Wno-array-parameter -O3 -DNDEBUG -Werror -march=nocona -msse3 -MD -MT sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_inv.c.o -MF sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_inv.c.o.d -o sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_inv.c.o -c /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/c_sources/m7/c_intel64/m7_gsmod_inv.c
/tmp/ccHaanBw.s: Assembler messages:
/tmp/ccHaanBw.s:10: Error: no such instruction: `endbr64'
ninja: build stopped: subcommand failed.
_____ END BUILD LOGS _____
rules_foreign_cc: Build wrapper script location: bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp_foreign_cc/wrapper_build_script.sh
rules_foreign_cc: Build script location: bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp_foreign_cc/build_script.sh
rules_foreign_cc: Build log location: bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp_foreign_cc/CMake.log
INFO: Elapsed time: 6.035s, Critical Path: 5.63s
INFO: 36 processes: 25 internal, 11 processwrapper-sandbox.
FAILED: Build did NOT complete successfully
from spu.
能不能提供一下下面两个 commands 的结果呀
locate libpthread.so
locate pthread.h
[root@mingo-centos ~]# locate libpthread.so /usr/lib64/libpthread.so /usr/lib64/libpthread.so.0 [root@mingo-centos ~]# locate pthread.h /opt/Python-3.8.13/Python/thread_pthread.h /opt/gcc-11.2.0/fixincludes/tests/base/pthread.h /opt/gcc-11.2.0/fixincludes/tests/base/sys/pthread.h /opt/gcc-11.2.0/gcc/config/openbsd-libpthread.h /opt/gcc-11.2.0/gcc/config/i386/mingw-pthread.h /root/.cache/bazel/_bazel_root/9de4a6aef89daf40df580afb13ff9f9d/external/llvm-raw/clang/test/Modules/Inputs/crash-recovery/usr/include/pthread.h /usr/include/pthread.h /usr/local/python3/lib/python3.8/site-packages/tensorflow/include/external/com_github_grpc_grpc/src/core/lib/gpr/tls_pthread.h /usr/share/man/man0p/pthread.h.0p.gz
麻烦再做一个实验
clone 一下这个 repo
然后bazel build //... -c opt
,看看这个 repo 能不能顺利 build
Thx依然不行,如下:
[root@mingo-centos yasl]# bazel build //... -c opt WARNING: /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/external/com_github_brpc_brpc/BUILD.bazel:472:19: in cc_library rule @com_github_brpc_brpc//:cc_brpc_idl_options_proto: target '@com_github_brpc_brpc//:cc_brpc_idl_options_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use. WARNING: /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/external/com_github_brpc_brpc/BUILD.bazel:483:19: in cc_library rule @com_github_brpc_brpc//:cc_brpc_internal_proto: target '@com_github_brpc_brpc//:cc_brpc_internal_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use. DEBUG: Rule 'simplest_ot' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1656748464 +0800" DEBUG: Repository simplest_ot instantiated at: /opt/yasl/WORKSPACE:5:10: in <toplevel> /opt/yasl/bazel/repositories.bzl:32:10: in yasl_deps /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/external/bazel_tools/tools/build_defs/repo/utils.bzl:233:18: in maybe Repository rule git_repository defined at: /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in <toplevel> INFO: Analyzed 127 targets (1 packages loaded, 1343 targets configured). INFO: Found 127 targets... ERROR: /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/external/com_github_intel_ipp/BUILD.bazel:10:20: Foreign Cc - CMake: Building ipp failed: (Exit 1): bash failed: error executing command /bin/bash -c bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp_foreign_cc/wrapper_build_script.sh Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging rules_foreign_cc: Build failed! rules_foreign_cc: Keeping temp build directory and dependencies directory for debug. rules_foreign_cc: Please note that the directories inside a sandbox are still cleaned unless you specify --sandbox_debug Bazel command line flag. rules_foreign_cc: Printing build logs: _____ BEGIN BUILD LOGS _____ Bazel external C/C++ Rules. Building library ipp Environment:______________ TMPDIR=/tmp BUILD_WRAPPER_SCRIPT=bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp_foreign_cc/wrapper_build_script.sh EXT_BUILD_ROOT=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl INSTALLDIR=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp PATH=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin BUILD_TMPDIR=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir PWD=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl EXT_BUILD_DEPS=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.ext_build_deps SHLVL=3 BUILD_LOG=bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp_foreign_cc/CMake.log BUILD_SCRIPT=bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp_foreign_cc/build_script.sh _=/usr/bin/env __________________________ + cmake -DARCH=intel64 -DOPENSSL_INCLUDE_DIR=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.ext_build_deps/openssl/include -DOPENSSL_LIBRARIES=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.ext_build_deps/openssl/lib -DOPENSSL_ROOT_DIR=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.ext_build_deps/openssl -DCMAKE_BUILD_TYPE=Release -DCMAKE_THREAD_LIBS_INIT=-lpthread -DCMAKE_HAVE_THREADS_LIBRARY=1 -DCMAKE_USE_WIN32_THREADS_INIT=0 -DCMAKE_USE_PTHREADS_INIT=1 -DTHREADS_PREFER_PTHREAD_FLAG=ON -DCMAKE_TOOLCHAIN_FILE=crosstool_bazel.cmake -DCMAKE_INSTALL_PREFIX=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp -DCMAKE_PREFIX_PATH=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.ext_build_deps -DCMAKE_RANLIB= -DCMAKE_MAKE_PROGRAM=ninja -G Ninja /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp -- The C compiler identification is GNU 11.2.0 -- The CXX compiler identification is GNU 11.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/gcc - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Python: /usr/bin/python (found version "3.8.13") found components: Interpreter -- CMAKE_VERSION ......................... 3.24.1 -- NONPIC_LIB ............................ off -- PROJECT ............................... Intel® Integrated Performance Primitives Cryptography (Intel® IPP Cryptography) -- CMAKE_BINARY_DIR ...................... /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir -- CMAKE_OUTPUT_DIR ...................... /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/.build -- CMAKE_SOURCE_DIR ...................... /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp -- IPP_CRYPTO_DIR ........................ /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp -- CMAKE_GENERATOR ....................... Ninja -- CMAKE_C_COMPILER_ID ................... GNU -- CMAKE_CXX_COMPILER_ID ................. GNU -- IPP_CRYPTO_INCLUDE_DIR ................ /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/include -- IPP_CRYPTO_SOURCES_INCLUDE_DIR ........ /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/include -- IPP_CRYPTO_SOURCES_DIR ................ /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp -- ARCH .................................. intel64 -- DYNAMIC_LIB ........................... ON -- CMAKE_INSTALL_PREFIX .................. /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp -- PYTHON_VERSION_STRING ................. 3.8.13 -- MERGED_BLD ............................ on -- BUILD_EXAMPLES ........................ off -- Using compiler options from ........... /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/cmake/linux/GNU8.2.0.cmake -- The ASM_NASM compiler identification is NASM -- Found assembler: /usr/bin/nasm -- ASM compiler version .................. /usr/bin/nasm -- ASM object format ..................... elf64 -- CMAKE_BUILD_TYPE is not set to Debug explicitly, defaulting to Release -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - no -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE -- Found OpenSSL: /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.ext_build_deps/openssl/lib/libcrypto.a (found suitable version "1.1.1l", minimum required is "1.1.0") -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_HAVE_THREADS_LIBRARY CMAKE_USE_WIN32_THREADS_INIT -- Build files have been written to: /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir + cmake --build . --config Release [1/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_emptyfile.c.o [2/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_aes_cfb_vaes_mb4.c.o [3/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_enginegetsize.c.o FAILED: sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_enginegetsize.c.o /usr/bin/gcc -D_M7 -D_MERGED_BLD -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/include/autogen -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp/crypto_mb/include -I/usr/include/X11 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fdiagnostics-color=always -Dlinux -DLINUX32E -D_ARCH_EM64T -DIPP_PIC -D_NO_IPP_DEPRECATED -ffreestanding -falign-functions=32 -falign-loops=32 -Wformat -Wformat-security -fcf-protection=full -flto-report -std=c99 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fpic -fPIC -fpack-struct=16 -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wno-strict-aliasing -Wno-parentheses -Wno-array-parameter -O3 -DNDEBUG -Werror -march=nocona -msse3 -MD -MT sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_enginegetsize.c.o -MF sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_enginegetsize.c.o.d -o sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_enginegetsize.c.o -c /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/c_sources/m7/c_intel64/m7_gsmod_enginegetsize.c /tmp/ccJHxKA6.s: Assembler messages: /tmp/ccJHxKA6.s:10: Error: no such instruction: `endbr64' [4/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_aes_cfb_vaes_mb8.c.o [5/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv_ct.c.o FAILED: sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv_ct.c.o /usr/bin/gcc -D_M7 -D_MERGED_BLD -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/include/autogen -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp/crypto_mb/include -I/usr/include/X11 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fdiagnostics-color=always -Dlinux -DLINUX32E -D_ARCH_EM64T -DIPP_PIC -D_NO_IPP_DEPRECATED -ffreestanding -falign-functions=32 -falign-loops=32 -Wformat -Wformat-security -fcf-protection=full -flto-report -std=c99 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fpic -fPIC -fpack-struct=16 -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wno-strict-aliasing -Wno-parentheses -Wno-array-parameter -O3 -DNDEBUG -Werror -march=nocona -msse3 -MD -MT sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv_ct.c.o -MF sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv_ct.c.o.d -o sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv_ct.c.o -c /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/c_sources/m7/c_intel64/m7_gsmod_almmontinv_ct.c /tmp/cctB1u47.s: Assembler messages: /tmp/cctB1u47.s:10: Error: no such instruction: `endbr64' [6/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_getpool.c.o FAILED: sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_getpool.c.o /usr/bin/gcc -D_M7 -D_MERGED_BLD -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/include/autogen -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp/crypto_mb/include -I/usr/include/X11 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fdiagnostics-color=always -Dlinux -DLINUX32E -D_ARCH_EM64T -DIPP_PIC -D_NO_IPP_DEPRECATED -ffreestanding -falign-functions=32 -falign-loops=32 -Wformat -Wformat-security -fcf-protection=full -flto-report -std=c99 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fpic -fPIC -fpack-struct=16 -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wno-strict-aliasing -Wno-parentheses -Wno-array-parameter -O3 -DNDEBUG -Werror -march=nocona -msse3 -MD -MT sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_getpool.c.o -MF sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_getpool.c.o.d -o sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_getpool.c.o -c /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/c_sources/m7/c_intel64/m7_gsmod_getpool.c /tmp/cc9MQCh0.s: Assembler messages: /tmp/cc9MQCh0.s:10: Error: no such instruction: `endbr64' [7/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_aes_cfb_aesni_mb4.c.o [8/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_cpinit.c.o FAILED: sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_cpinit.c.o /usr/bin/gcc -D_M7 -D_MERGED_BLD -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/include/autogen -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp/crypto_mb/include -I/usr/include/X11 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fdiagnostics-color=always -Dlinux -DLINUX32E -D_ARCH_EM64T -DIPP_PIC -D_NO_IPP_DEPRECATED -ffreestanding -falign-functions=32 -falign-loops=32 -Wformat -Wformat-security -fcf-protection=full -flto-report -std=c99 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fpic -fPIC -fpack-struct=16 -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wno-strict-aliasing -Wno-parentheses -Wno-array-parameter -O3 -DNDEBUG -Werror -march=nocona -msse3 -MD -MT sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_cpinit.c.o -MF sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_cpinit.c.o.d -o sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_cpinit.c.o -c /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/c_sources/m7/c_intel64/m7_cpinit.c /tmp/cchHuxe8.s: Assembler messages: /tmp/cchHuxe8.s:284: Error: no such instruction: `endbr64' /tmp/cchHuxe8.s:297: Error: no such instruction: `endbr64' /tmp/cchHuxe8.s:333: Error: no such instruction: `endbr64' /tmp/cchHuxe8.s:350: Error: no such instruction: `endbr64' /tmp/cchHuxe8.s:363: Error: no such instruction: `endbr64' /tmp/cchHuxe8.s:544: Error: no such instruction: `endbr64' /tmp/cchHuxe8.s:557: Error: no such instruction: `endbr64' /tmp/cchHuxe8.s:576: Error: no such instruction: `endbr64' /tmp/cchHuxe8.s:620: Error: no such instruction: `endbr64' /tmp/cchHuxe8.s:652: Error: no such instruction: `endbr64' /tmp/cchHuxe8.s:678: Error: no such instruction: `endbr64' /tmp/cchHuxe8.s:708: Error: no such instruction: `endbr64' [9/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv.c.o FAILED: sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv.c.o /usr/bin/gcc -D_M7 -D_MERGED_BLD -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/include/autogen -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp/crypto_mb/include -I/usr/include/X11 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fdiagnostics-color=always -Dlinux -DLINUX32E -D_ARCH_EM64T -DIPP_PIC -D_NO_IPP_DEPRECATED -ffreestanding -falign-functions=32 -falign-loops=32 -Wformat -Wformat-security -fcf-protection=full -flto-report -std=c99 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fpic -fPIC -fpack-struct=16 -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wno-strict-aliasing -Wno-parentheses -Wno-array-parameter -O3 -DNDEBUG -Werror -march=nocona -msse3 -MD -MT sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv.c.o -MF sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv.c.o.d -o sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv.c.o -c /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/c_sources/m7/c_intel64/m7_gsmod_almmontinv.c /tmp/ccaEjWv7.s: Assembler messages: /tmp/ccaEjWv7.s:10: Error: no such instruction: `endbr64' [10/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_aes_cfb_vaes_mb16.c.o [11/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_engineinit.c.o FAILED: sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_engineinit.c.o /usr/bin/gcc -D_M7 -D_MERGED_BLD -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/include/autogen -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp/crypto_mb/include -I/usr/include/X11 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fdiagnostics-color=always -Dlinux -DLINUX32E -D_ARCH_EM64T -DIPP_PIC -D_NO_IPP_DEPRECATED -ffreestanding -falign-functions=32 -falign-loops=32 -Wformat -Wformat-security -fcf-protection=full -flto-report -std=c99 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fpic -fPIC -fpack-struct=16 -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wno-strict-aliasing -Wno-parentheses -Wno-array-parameter -O3 -DNDEBUG -Werror -march=nocona -msse3 -MD -MT sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_engineinit.c.o -MF sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_engineinit.c.o.d -o sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_engineinit.c.o -c /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/c_sources/m7/c_intel64/m7_gsmod_engineinit.c /tmp/ccUr6RW9.s: Assembler messages: /tmp/ccUr6RW9.s:10: Error: no such instruction: `endbr64' [12/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_inv.c.o FAILED: sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_inv.c.o /usr/bin/gcc -D_M7 -D_MERGED_BLD -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/include/autogen -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp/crypto_mb/include -I/usr/include/X11 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fdiagnostics-color=always -Dlinux -DLINUX32E -D_ARCH_EM64T -DIPP_PIC -D_NO_IPP_DEPRECATED -ffreestanding -falign-functions=32 -falign-loops=32 -Wformat -Wformat-security -fcf-protection=full -flto-report -std=c99 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fpic -fPIC -fpack-struct=16 -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wno-strict-aliasing -Wno-parentheses -Wno-array-parameter -O3 -DNDEBUG -Werror -march=nocona -msse3 -MD -MT sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_inv.c.o -MF sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_inv.c.o.d -o sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_inv.c.o -c /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/c_sources/m7/c_intel64/m7_gsmod_inv.c /tmp/ccHaanBw.s: Assembler messages: /tmp/ccHaanBw.s:10: Error: no such instruction: `endbr64' ninja: build stopped: subcommand failed. _____ END BUILD LOGS _____ rules_foreign_cc: Build wrapper script location: bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp_foreign_cc/wrapper_build_script.sh rules_foreign_cc: Build script location: bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp_foreign_cc/build_script.sh rules_foreign_cc: Build log location: bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp_foreign_cc/CMake.log INFO: Elapsed time: 6.035s, Critical Path: 5.63s INFO: 36 processes: 25 internal, 11 processwrapper-sandbox. FAILED: Build did NOT complete successfully
这个看起来是 binutils 版本太低了,问一下 gcc11 您是怎么安装的呀?自己编译的吗
from spu.
能不能提供一下下面两个 commands 的结果呀
locate libpthread.so
locate pthread.h
[root@mingo-centos ~]# locate libpthread.so /usr/lib64/libpthread.so /usr/lib64/libpthread.so.0 [root@mingo-centos ~]# locate pthread.h /opt/Python-3.8.13/Python/thread_pthread.h /opt/gcc-11.2.0/fixincludes/tests/base/pthread.h /opt/gcc-11.2.0/fixincludes/tests/base/sys/pthread.h /opt/gcc-11.2.0/gcc/config/openbsd-libpthread.h /opt/gcc-11.2.0/gcc/config/i386/mingw-pthread.h /root/.cache/bazel/_bazel_root/9de4a6aef89daf40df580afb13ff9f9d/external/llvm-raw/clang/test/Modules/Inputs/crash-recovery/usr/include/pthread.h /usr/include/pthread.h /usr/local/python3/lib/python3.8/site-packages/tensorflow/include/external/com_github_grpc_grpc/src/core/lib/gpr/tls_pthread.h /usr/share/man/man0p/pthread.h.0p.gz
麻烦再做一个实验
clone 一下这个 repo
然后bazel build //... -c opt
,看看这个 repo 能不能顺利 build
Thx依然不行,如下:
[root@mingo-centos yasl]# bazel build //... -c opt WARNING: /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/external/com_github_brpc_brpc/BUILD.bazel:472:19: in cc_library rule @com_github_brpc_brpc//:cc_brpc_idl_options_proto: target '@com_github_brpc_brpc//:cc_brpc_idl_options_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use. WARNING: /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/external/com_github_brpc_brpc/BUILD.bazel:483:19: in cc_library rule @com_github_brpc_brpc//:cc_brpc_internal_proto: target '@com_github_brpc_brpc//:cc_brpc_internal_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use. DEBUG: Rule 'simplest_ot' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1656748464 +0800" DEBUG: Repository simplest_ot instantiated at: /opt/yasl/WORKSPACE:5:10: in <toplevel> /opt/yasl/bazel/repositories.bzl:32:10: in yasl_deps /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/external/bazel_tools/tools/build_defs/repo/utils.bzl:233:18: in maybe Repository rule git_repository defined at: /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in <toplevel> INFO: Analyzed 127 targets (1 packages loaded, 1343 targets configured). INFO: Found 127 targets... ERROR: /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/external/com_github_intel_ipp/BUILD.bazel:10:20: Foreign Cc - CMake: Building ipp failed: (Exit 1): bash failed: error executing command /bin/bash -c bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp_foreign_cc/wrapper_build_script.sh Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging rules_foreign_cc: Build failed! rules_foreign_cc: Keeping temp build directory and dependencies directory for debug. rules_foreign_cc: Please note that the directories inside a sandbox are still cleaned unless you specify --sandbox_debug Bazel command line flag. rules_foreign_cc: Printing build logs: _____ BEGIN BUILD LOGS _____ Bazel external C/C++ Rules. Building library ipp Environment:______________ TMPDIR=/tmp BUILD_WRAPPER_SCRIPT=bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp_foreign_cc/wrapper_build_script.sh EXT_BUILD_ROOT=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl INSTALLDIR=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp PATH=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin BUILD_TMPDIR=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir PWD=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl EXT_BUILD_DEPS=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.ext_build_deps SHLVL=3 BUILD_LOG=bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp_foreign_cc/CMake.log BUILD_SCRIPT=bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp_foreign_cc/build_script.sh _=/usr/bin/env __________________________ + cmake -DARCH=intel64 -DOPENSSL_INCLUDE_DIR=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.ext_build_deps/openssl/include -DOPENSSL_LIBRARIES=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.ext_build_deps/openssl/lib -DOPENSSL_ROOT_DIR=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.ext_build_deps/openssl -DCMAKE_BUILD_TYPE=Release -DCMAKE_THREAD_LIBS_INIT=-lpthread -DCMAKE_HAVE_THREADS_LIBRARY=1 -DCMAKE_USE_WIN32_THREADS_INIT=0 -DCMAKE_USE_PTHREADS_INIT=1 -DTHREADS_PREFER_PTHREAD_FLAG=ON -DCMAKE_TOOLCHAIN_FILE=crosstool_bazel.cmake -DCMAKE_INSTALL_PREFIX=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp -DCMAKE_PREFIX_PATH=/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.ext_build_deps -DCMAKE_RANLIB= -DCMAKE_MAKE_PROGRAM=ninja -G Ninja /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp -- The C compiler identification is GNU 11.2.0 -- The CXX compiler identification is GNU 11.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/gcc - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Python: /usr/bin/python (found version "3.8.13") found components: Interpreter -- CMAKE_VERSION ......................... 3.24.1 -- NONPIC_LIB ............................ off -- PROJECT ............................... Intel® Integrated Performance Primitives Cryptography (Intel® IPP Cryptography) -- CMAKE_BINARY_DIR ...................... /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir -- CMAKE_OUTPUT_DIR ...................... /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/.build -- CMAKE_SOURCE_DIR ...................... /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp -- IPP_CRYPTO_DIR ........................ /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp -- CMAKE_GENERATOR ....................... Ninja -- CMAKE_C_COMPILER_ID ................... GNU -- CMAKE_CXX_COMPILER_ID ................. GNU -- IPP_CRYPTO_INCLUDE_DIR ................ /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/include -- IPP_CRYPTO_SOURCES_INCLUDE_DIR ........ /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/include -- IPP_CRYPTO_SOURCES_DIR ................ /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp -- ARCH .................................. intel64 -- DYNAMIC_LIB ........................... ON -- CMAKE_INSTALL_PREFIX .................. /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp -- PYTHON_VERSION_STRING ................. 3.8.13 -- MERGED_BLD ............................ on -- BUILD_EXAMPLES ........................ off -- Using compiler options from ........... /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/cmake/linux/GNU8.2.0.cmake -- The ASM_NASM compiler identification is NASM -- Found assembler: /usr/bin/nasm -- ASM compiler version .................. /usr/bin/nasm -- ASM object format ..................... elf64 -- CMAKE_BUILD_TYPE is not set to Debug explicitly, defaulting to Release -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - no -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE -- Found OpenSSL: /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.ext_build_deps/openssl/lib/libcrypto.a (found suitable version "1.1.1l", minimum required is "1.1.0") -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_HAVE_THREADS_LIBRARY CMAKE_USE_WIN32_THREADS_INIT -- Build files have been written to: /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir + cmake --build . --config Release [1/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_emptyfile.c.o [2/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_aes_cfb_vaes_mb4.c.o [3/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_enginegetsize.c.o FAILED: sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_enginegetsize.c.o /usr/bin/gcc -D_M7 -D_MERGED_BLD -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/include/autogen -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp/crypto_mb/include -I/usr/include/X11 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fdiagnostics-color=always -Dlinux -DLINUX32E -D_ARCH_EM64T -DIPP_PIC -D_NO_IPP_DEPRECATED -ffreestanding -falign-functions=32 -falign-loops=32 -Wformat -Wformat-security -fcf-protection=full -flto-report -std=c99 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fpic -fPIC -fpack-struct=16 -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wno-strict-aliasing -Wno-parentheses -Wno-array-parameter -O3 -DNDEBUG -Werror -march=nocona -msse3 -MD -MT sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_enginegetsize.c.o -MF sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_enginegetsize.c.o.d -o sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_enginegetsize.c.o -c /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/c_sources/m7/c_intel64/m7_gsmod_enginegetsize.c /tmp/ccJHxKA6.s: Assembler messages: /tmp/ccJHxKA6.s:10: Error: no such instruction: `endbr64' [4/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_aes_cfb_vaes_mb8.c.o [5/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv_ct.c.o FAILED: sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv_ct.c.o /usr/bin/gcc -D_M7 -D_MERGED_BLD -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/include/autogen -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp/crypto_mb/include -I/usr/include/X11 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fdiagnostics-color=always -Dlinux -DLINUX32E -D_ARCH_EM64T -DIPP_PIC -D_NO_IPP_DEPRECATED -ffreestanding -falign-functions=32 -falign-loops=32 -Wformat -Wformat-security -fcf-protection=full -flto-report -std=c99 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fpic -fPIC -fpack-struct=16 -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wno-strict-aliasing -Wno-parentheses -Wno-array-parameter -O3 -DNDEBUG -Werror -march=nocona -msse3 -MD -MT sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv_ct.c.o -MF sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv_ct.c.o.d -o sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv_ct.c.o -c /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/c_sources/m7/c_intel64/m7_gsmod_almmontinv_ct.c /tmp/cctB1u47.s: Assembler messages: /tmp/cctB1u47.s:10: Error: no such instruction: `endbr64' [6/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_getpool.c.o FAILED: sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_getpool.c.o /usr/bin/gcc -D_M7 -D_MERGED_BLD -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/include/autogen -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp/crypto_mb/include -I/usr/include/X11 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fdiagnostics-color=always -Dlinux -DLINUX32E -D_ARCH_EM64T -DIPP_PIC -D_NO_IPP_DEPRECATED -ffreestanding -falign-functions=32 -falign-loops=32 -Wformat -Wformat-security -fcf-protection=full -flto-report -std=c99 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fpic -fPIC -fpack-struct=16 -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wno-strict-aliasing -Wno-parentheses -Wno-array-parameter -O3 -DNDEBUG -Werror -march=nocona -msse3 -MD -MT sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_getpool.c.o -MF sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_getpool.c.o.d -o sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_getpool.c.o -c /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/c_sources/m7/c_intel64/m7_gsmod_getpool.c /tmp/cc9MQCh0.s: Assembler messages: /tmp/cc9MQCh0.s:10: Error: no such instruction: `endbr64' [7/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_aes_cfb_aesni_mb4.c.o [8/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_cpinit.c.o FAILED: sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_cpinit.c.o /usr/bin/gcc -D_M7 -D_MERGED_BLD -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/include/autogen -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp/crypto_mb/include -I/usr/include/X11 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fdiagnostics-color=always -Dlinux -DLINUX32E -D_ARCH_EM64T -DIPP_PIC -D_NO_IPP_DEPRECATED -ffreestanding -falign-functions=32 -falign-loops=32 -Wformat -Wformat-security -fcf-protection=full -flto-report -std=c99 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fpic -fPIC -fpack-struct=16 -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wno-strict-aliasing -Wno-parentheses -Wno-array-parameter -O3 -DNDEBUG -Werror -march=nocona -msse3 -MD -MT sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_cpinit.c.o -MF sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_cpinit.c.o.d -o sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_cpinit.c.o -c /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/c_sources/m7/c_intel64/m7_cpinit.c /tmp/cchHuxe8.s: Assembler messages: /tmp/cchHuxe8.s:284: Error: no such instruction: `endbr64' /tmp/cchHuxe8.s:297: Error: no such instruction: `endbr64' /tmp/cchHuxe8.s:333: Error: no such instruction: `endbr64' /tmp/cchHuxe8.s:350: Error: no such instruction: `endbr64' /tmp/cchHuxe8.s:363: Error: no such instruction: `endbr64' /tmp/cchHuxe8.s:544: Error: no such instruction: `endbr64' /tmp/cchHuxe8.s:557: Error: no such instruction: `endbr64' /tmp/cchHuxe8.s:576: Error: no such instruction: `endbr64' /tmp/cchHuxe8.s:620: Error: no such instruction: `endbr64' /tmp/cchHuxe8.s:652: Error: no such instruction: `endbr64' /tmp/cchHuxe8.s:678: Error: no such instruction: `endbr64' /tmp/cchHuxe8.s:708: Error: no such instruction: `endbr64' [9/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv.c.o FAILED: sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv.c.o /usr/bin/gcc -D_M7 -D_MERGED_BLD -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/include/autogen -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp/crypto_mb/include -I/usr/include/X11 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fdiagnostics-color=always -Dlinux -DLINUX32E -D_ARCH_EM64T -DIPP_PIC -D_NO_IPP_DEPRECATED -ffreestanding -falign-functions=32 -falign-loops=32 -Wformat -Wformat-security -fcf-protection=full -flto-report -std=c99 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fpic -fPIC -fpack-struct=16 -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wno-strict-aliasing -Wno-parentheses -Wno-array-parameter -O3 -DNDEBUG -Werror -march=nocona -msse3 -MD -MT sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv.c.o -MF sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv.c.o.d -o sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_almmontinv.c.o -c /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/c_sources/m7/c_intel64/m7_gsmod_almmontinv.c /tmp/ccaEjWv7.s: Assembler messages: /tmp/ccaEjWv7.s:10: Error: no such instruction: `endbr64' [10/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_aes_cfb_vaes_mb16.c.o [11/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_engineinit.c.o FAILED: sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_engineinit.c.o /usr/bin/gcc -D_M7 -D_MERGED_BLD -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/include/autogen -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp/crypto_mb/include -I/usr/include/X11 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fdiagnostics-color=always -Dlinux -DLINUX32E -D_ARCH_EM64T -DIPP_PIC -D_NO_IPP_DEPRECATED -ffreestanding -falign-functions=32 -falign-loops=32 -Wformat -Wformat-security -fcf-protection=full -flto-report -std=c99 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fpic -fPIC -fpack-struct=16 -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wno-strict-aliasing -Wno-parentheses -Wno-array-parameter -O3 -DNDEBUG -Werror -march=nocona -msse3 -MD -MT sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_engineinit.c.o -MF sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_engineinit.c.o.d -o sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_engineinit.c.o -c /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/c_sources/m7/c_intel64/m7_gsmod_engineinit.c /tmp/ccUr6RW9.s: Assembler messages: /tmp/ccUr6RW9.s:10: Error: no such instruction: `endbr64' [12/7518] Building C object sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_inv.c.o FAILED: sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_inv.c.o /usr/bin/gcc -D_M7 -D_MERGED_BLD -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/include -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/include/autogen -I/root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/external/com_github_intel_ipp/sources/ippcp/crypto_mb/include -I/usr/include/X11 -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fdiagnostics-color=always -Dlinux -DLINUX32E -D_ARCH_EM64T -DIPP_PIC -D_NO_IPP_DEPRECATED -ffreestanding -falign-functions=32 -falign-loops=32 -Wformat -Wformat-security -fcf-protection=full -flto-report -std=c99 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fpic -fPIC -fpack-struct=16 -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wno-strict-aliasing -Wno-parentheses -Wno-array-parameter -O3 -DNDEBUG -Werror -march=nocona -msse3 -MD -MT sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_inv.c.o -MF sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_inv.c.o.d -o sources/ippcp/CMakeFiles/ippcp_s_m7.dir/__/__/c_sources/m7/c_intel64/m7_gsmod_inv.c.o -c /root/.cache/bazel/_bazel_root/d6772743b5f2dc27851cf6d386ac0b7b/sandbox/processwrapper-sandbox/397/execroot/yasl/bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp.build_tmpdir/c_sources/m7/c_intel64/m7_gsmod_inv.c /tmp/ccHaanBw.s: Assembler messages: /tmp/ccHaanBw.s:10: Error: no such instruction: `endbr64' ninja: build stopped: subcommand failed. _____ END BUILD LOGS _____ rules_foreign_cc: Build wrapper script location: bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp_foreign_cc/wrapper_build_script.sh rules_foreign_cc: Build script location: bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp_foreign_cc/build_script.sh rules_foreign_cc: Build log location: bazel-out/k8-opt/bin/external/com_github_intel_ipp/ipp_foreign_cc/CMake.log INFO: Elapsed time: 6.035s, Critical Path: 5.63s INFO: 36 processes: 25 internal, 11 processwrapper-sandbox. FAILED: Build did NOT complete successfully
这个看起来是 binutils 版本太低了,问一下 gcc11 您是怎么安装的呀?自己编译的吗
嗯,gcc11是自己编译安装的,centos7.6默认是gcc 4.8.5,太低了
是需要升级下binutils么?
from spu.
centos 7 rh 的 gcc11 包
yum install -y centos-release-scl
yum install -y devtoolset-11-gcc devtoolset-11-gcc-c++ devtoolset-11-binutils
应该就可以装上,然后
source scl_source enable devtoolset-11
就好
from spu.
centos 7 rh 的 gcc11 包
yum install -y centos-release-scl
yum install -y devtoolset-11-gcc devtoolset-11-gcc-c++ devtoolset-11-binutils
应该就可以装上,然后source scl_source enable devtoolset-11
就好
build ok了,感谢。但是如果把这个spu whl包丢到另外一个centos7.6环境,作为secretflow的依赖包,启动会提示 version `CXXABI_1.3.9' not found, 据说要升级替换libstdc++.so.6。想知道咱们官方构建的spu是基于什么环境做的,可以自动适配低版本的环境?
from spu.
centos 7 rh 的 gcc11 包
yum install -y centos-release-scl
yum install -y devtoolset-11-gcc devtoolset-11-gcc-c++ devtoolset-11-binutils
应该就可以装上,然后source scl_source enable devtoolset-11
就好build ok了,感谢。但是如果把这个spu whl包丢到另外一个centos7.6环境,作为secretflow的依赖包,启动会提示 version `CXXABI_1.3.9' not found, 据说要升级替换libstdc++.so.6。想知道咱们官方构建的spu是基于什么环境做的,可以自动适配低版本的环境?
在 .bazelrc 里添加如下代码来静态链接 libstdc++
build:linux --action_env=BAZEL_LINKOPTS=-static-libstdc++:-static-libgcc
build:linux --action_env=BAZEL_LINKLIBS=-l%:libstdc++.a:-l%:libgcc.a
这个问题会在下次更新的时候修复,你可以先自己 patch 一下
from spu.
centos 7 rh 的 gcc11 包
yum install -y centos-release-scl
yum install -y devtoolset-11-gcc devtoolset-11-gcc-c++ devtoolset-11-binutils
应该就可以装上,然后source scl_source enable devtoolset-11
就好build ok了,感谢。但是如果把这个spu whl包丢到另外一个centos7.6环境,作为secretflow的依赖包,启动会提示 version `CXXABI_1.3.9' not found, 据说要升级替换libstdc++.so.6。想知道咱们官方构建的spu是基于什么环境做的,可以自动适配低版本的环境?
在 .bazelrc 里添加如下代码来静态链接 libstdc++
build:linux --action_env=BAZEL_LINKOPTS=-static-libstdc++:-static-libgcc
build:linux --action_env=BAZEL_LINKLIBS=-l%:libstdc++.a:-l%:libgcc.a
这个问题会在下次更新的时候修复,你可以先自己 patch 一下
试了下, 现在是ImportError: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /lib64/libstdc++.so.6)
from spu.
目前系统内核是GLIBC_2.17,之前用官方的spu包是ok的,怎么才能自己打包也可以适配呢
from spu.
目前系统内核是GLIBC_2.17,之前用官方的spu包是ok的,怎么才能自己打包也可以适配呢
试一下先 bazel clean --expunge
然后再重新 build 呢?
我们下次更新会给出 build docker 的 dockerfile
from spu.
目前系统内核是GLIBC_2.17,之前用官方的spu包是ok的,怎么才能自己打包也可以适配呢
试一下先
bazel clean --expunge
然后再重新 build 呢? 我们下次更新会给出 build docker 的 dockerfile
依然有同样问题,但是我把GLIBC升到到2.33,问题解决了:)
from spu.
Related Issues (20)
- [Question]: About the support for efficient Winograd convolution in SPU HOT 19
- [Bug]: Dear teachers, when use spu on torch, i found the 3pc.json connection is wrong HOT 4
- [Bug]: dear teachers, i have two questions about spu on torch HOT 2
- [Bug]: when i try to use torch_xla, i found it error. i wanna to know whether my version of python、torch、torch_xla is wrong, is there other method which can avoid install torch_xla and still use spu on torch ,thank you very muc HOT 2
- [Bug]: dear teachers, after i download spu, i wanna to run "bazel run -c opt //examples/python/utils:nodectl -- up", but i can not find this folder, should i download it from github HOT 5
- [Bug]: dear teachers, i successfully started the nodes, and i try to use spu on gpt2_torch, it report errors as follows HOT 15
- [Bug]: reproducing bumblebee result on gpt2-base model is very slow HOT 6
- [Bug]: dear teachers, when i try to change the softmax fuction on gpt2_spu_torch_version, there is a question HOT 2
- [Usege]: 我无法让spu runtime调用cheetah_mul HOT 4
- [Bug]: dear teachers, when i change the gelu on spu, the result always similar very much, even when i change the gelu at a worse format HOT 2
- [Question]: Does SPU support bigdata or parallel computing HOT 3
- [Bug]: SPU precision issue? HOT 8
- [Bug]: unexpected SPU error HOT 2
- [Question]: Is `msb_s` good to use or buggy? HOT 2
- [Bug]: Dear teachers, when i try to use spu on torch, i found a problem HOT 7
- [Question]: overflow and underflow HOT 3
- [Feature]: Can we profiling the round complexity of each primitives? HOT 1
- [Bug]: 安装时报除0错误 HOT 3
- 执行beaver服务器时,出现问题 HOT 5
- LLaMAConfig缺少 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spu.