Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 878640 Details for
Bug 919687
sys-devel/llvm-14.0.6-r4 - LLVM_ENABLE_Z3_SOLVER cannot be enabled
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 10.74 KB, created by
Leonid Kopylov
on 2023-12-10 12:06:21 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Leonid Kopylov
Created:
2023-12-10 12:06:21 UTC
Size:
10.74 KB
patch
obsolete
>[32m * [39;49;00mPackage: sys-devel/llvm-14.0.6-r4:14 >[32m * [39;49;00mRepository: gentoo >[32m * [39;49;00mMaintainer: llvm@gentoo.org >[32m * [39;49;00mUSE: arm64 binutils-plugin doc elibc_glibc kernel_linux libffi llvm_targets_AArch64 llvm_targets_AMDGPU llvm_targets_ARM llvm_targets_AVR llvm_targets_BPF llvm_targets_Hexagon llvm_targets_Lanai llvm_targets_MSP430 llvm_targets_Mips llvm_targets_NVPTX llvm_targets_PowerPC llvm_targets_RISCV llvm_targets_Sparc llvm_targets_SystemZ llvm_targets_VE llvm_targets_WebAssembly llvm_targets_X86 llvm_targets_XCore ncurses xml z3 >[32m * [39;49;00mFEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > [32m*[0m Checking whether python3_11 is suitable ... > [32m*[0m dev-lang/python:3.11 ... >[A[199C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m python_check_deps ... > [32m*[0m dev-python/recommonmark[python_targets_python3_11(-)] ... >[A[199C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m dev-python/sphinx[python_targets_python3_11(-)] ... >[A[199C [34;01m[ [32;01mok[34;01m ][0m >[A[199C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m Using python3.11 to build (via PYTHON_COMPAT iteration) > [32m*[0m Unpacking from llvm-project-14.0.6.src.tar.xz ... >[A[199C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sys-devel/llvm-14.0.6-r4/work/llvm" > [32m*[0m Build directory (BUILD_DIR): "/var/tmp/portage/sys-devel/llvm-14.0.6-r4/work/llvm_build" > [32m*[0m Applying patches from /var/tmp/portage/sys-devel/llvm-14.0.6-r4/work/llvm-gentoo-patchset-14.0.6-r4 ... > [32m*[0m 0001-llvm-llvm-config-Clean-up-exported-values.patch ... >[A[199C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m 0007-AMDGPU-MC-GFX10-Added-an-alias-for-HW_REG_HW_ID1.patch ... >[A[199C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m 0009-fix-a-CO-RE-bitfield-relocation-error-with-8-record-.patch ... >[A[199C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m 0010-Fix-a-bug-in-BPFAdjustOpt-pass-for-icmp-transformati.patch ... >[A[199C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m 0011-doc-Add-llvm-ifs-commandline-guide.patch ... >[A[199C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m 0012-DebugInfo-InstrRef-Accept-register-reads-after-isel-.patch ... >[A[199C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m 0015-cmake-Disable-GCC-lifetime-DSE.patch ... >[A[199C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m 0016-cmake-Enable-64bit-off_t-on-32bit-glibc-systems.patch ... >[A[199C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m Hardcoded definition(s) removed in CMakeLists.txt: > [32m*[0m set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Build type (default Debug)" FORC > [32m*[0m .arm64: running multilib-minimal_abi_src_configure > [32m*[0m Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sys-devel/llvm-14.0.6-r4/work/llvm" > [32m*[0m Build directory (BUILD_DIR): "/var/tmp/portage/sys-devel/llvm-14.0.6-r4/work/llvm_build-.arm64" >cmake -C /var/tmp/portage/sys-devel/llvm-14.0.6-r4/work/llvm_build-.arm64/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DLLVM_APPEND_VC_REV=OFF -DCMAKE_INSTALL_PREFIX=/usr/lib/llvm/14 -DLLVM_LIBDIR_SUFFIX=64 -DBUILD_SHARED_LIBS=OFF -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON -DLLVM_DISTRIBUTION_COMPONENTS=LLVM;LTO;Remarks;llvm-config;cmake-exports;llvm-headers;LLVMDemangle;LLVMSupport;LLVMTableGen;llvm-tblgen;FileCheck;llvm-PerfectShuffle;count;not;yaml-bench;bugpoint;dsymutil;llc;lli;lli-child-target;llvm-addr2line;llvm-ar;llvm-as;llvm-bcanalyzer;llvm-bitcode-strip;llvm-c-test;llvm-cat;llvm-cfi-verify;llvm-config;llvm-cov;llvm-cvtres;llvm-cxxdump;llvm-cxxfilt;llvm-cxxmap;llvm-debuginfod-find;llvm-diff;llvm-dis;llvm-dlltool;llvm-dwarfdump;llvm-dwp;llvm-exegesis;llvm-extract;llvm-gsymutil;llvm-ifs;llvm-install-name-tool;llvm-jitlink;llvm-jitlink-executor;llvm-lib;llvm-libtool-darwin;llvm-link;llvm-lipo;llvm-lto;llvm-lto2;llvm-mc;llvm-mca;llvm-ml;llvm-modextract;llvm-mt;llvm-nm;llvm-objcopy;llvm-objdump;llvm-opt-report;llvm-otool;llvm-pdbutil;llvm-profdata;llvm-profgen;llvm-ranlib;llvm-rc;llvm-readelf;llvm-readobj;llvm-reduce;llvm-rtdyld;llvm-sim;llvm-size;llvm-split;llvm-stress;llvm-strings;llvm-strip;llvm-symbolizer;llvm-tapi-diff;llvm-tli-checker;llvm-undname;llvm-windres;llvm-xray;obj2yaml;opt;sancov;sanstats;split-file;verify-uselistorder;yaml2obj;opt-viewer;docs-dsymutil-man;docs-llvm-dwarfdump-man;docs-llvm-man;docs-llvm-html;LLVMgold; -DLLVM_TARGETS_TO_BUILD= -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=AArch64;AMDGPU;ARM;AVR;BPF;Hexagon;Lanai;MSP430;Mips;NVPTX;PowerPC;RISCV;Sparc;SystemZ;VE;WebAssembly;X86;XCore -DLLVM_BUILD_TESTS=no -DLLVM_ENABLE_FFI=yes -DLLVM_ENABLE_LIBEDIT=no -DLLVM_ENABLE_TERMINFO=yes -DLLVM_ENABLE_LIBXML2=yes -DLLVM_ENABLE_ASSERTIONS=no -DLLVM_ENABLE_LIBPFM=no -DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_Z3_SOLVER=yes -DLLVM_HOST_TRIPLE=aarch64-unknown-linux-gnu -DFFI_INCLUDE_DIR=/usr/lib64/libffi/include -DFFI_LIBRARY_DIR= -DLLVM_HAVE_LIBXAR=0 -DPython3_EXECUTABLE=/usr/bin/python3.11 -DOCAMLFIND=NO -DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND -DCMAKE_INSTALL_MANDIR=/usr/lib/llvm/14/share/man -DLLVM_INSTALL_SPHINX_HTML_DIR=/usr/share/doc/llvm-14.0.6-r4/html -DSPHINX_WARNINGS_AS_ERRORS=OFF -DLLVM_BUILD_DOCS=ON -DLLVM_ENABLE_OCAMLDOC=OFF -DLLVM_ENABLE_SPHINX=ON -DLLVM_ENABLE_DOXYGEN=OFF -DLLVM_INSTALL_UTILS=ON -DLLVM_BINUTILS_INCDIR=/usr/include -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sys-devel/llvm-14.0.6-r4/work/llvm_build-.arm64/gentoo_toolchain.cmake /var/tmp/portage/sys-devel/llvm-14.0.6-r4/work/llvm >loading initial cache file /var/tmp/portage/sys-devel/llvm-14.0.6-r4/work/llvm_build-.arm64/gentoo_common_config.cmake >CMake Deprecation Warning at CMakeLists.txt:8 (cmake_policy): > The OLD behavior for policy CMP0116 will be removed from a future version > of CMake. > > The cmake-policies(7) manual explains that the OLD behaviors of all > policies are deprecated and that a policy should be set to OLD only under > specific short-term circumstances. Projects should be ported to the NEW > behavior and not rely on setting a policy to OLD. > > >-- The C compiler identification is GNU 13.2.1 >-- The CXX compiler identification is GNU 13.2.1 >-- The ASM compiler identification is GNU >-- Found assembler: /usr/bin/aarch64-unknown-linux-gnu-gcc >-- Detecting C compiler ABI info >-- Detecting C compiler ABI info - done >-- Check for working C compiler: /usr/bin/aarch64-unknown-linux-gnu-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/aarch64-unknown-linux-gnu-g++ - skipped >-- Detecting CXX compile features >-- Detecting CXX compile features - done >-- Performing Test CMAKE_HAVE_LIBC_PTHREAD >-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success >-- Found Threads: TRUE >Change Dir: '/var/tmp/portage/sys-devel/llvm-14.0.6-r4/work/llvm_build-.arm64/CMakeFiles/CMakeTmp' > >Run Build Command(s): /usr/bin/ninja -v cmTC_46a7b >[1/2] /usr/bin/aarch64-unknown-linux-gnu-g++ -DNDEBUG -march=native -O2 -pipe -fomit-frame-pointer -std=c++14 -I"/usr/include" -o CMakeFiles/cmTC_46a7b.dir/testz3.cpp.o -c /var/tmp/portage/sys-devel/llvm-14.0.6-r4/work/llvm_build-.arm64/CMakeFiles/CMakeTmp/testz3.cpp >FAILED: CMakeFiles/cmTC_46a7b.dir/testz3.cpp.o >/usr/bin/aarch64-unknown-linux-gnu-g++ -DNDEBUG -march=native -O2 -pipe -fomit-frame-pointer -std=c++14 -I"/usr/include" -o CMakeFiles/cmTC_46a7b.dir/testz3.cpp.o -c /var/tmp/portage/sys-devel/llvm-14.0.6-r4/work/llvm_build-.arm64/CMakeFiles/CMakeTmp/testz3.cpp >/var/tmp/portage/sys-devel/llvm-14.0.6-r4/work/llvm_build-.arm64/CMakeFiles/CMakeTmp/testz3.cpp: In function âint main()â: >/var/tmp/portage/sys-devel/llvm-14.0.6-r4/work/llvm_build-.arm64/CMakeFiles/CMakeTmp/testz3.cpp:6:11: error: âprintfâ was not declared in this scope > 6 | printf("%u.%u.%u", major, minor, build); > | ^~~~~~ >/var/tmp/portage/sys-devel/llvm-14.0.6-r4/work/llvm_build-.arm64/CMakeFiles/CMakeTmp/testz3.cpp:3:1: note: âprintfâ is defined in header â<cstdio>â; did you forget to â#include <cstdio>â? > 2 | #include <z3.h> > +++ |+#include <cstdio> > 3 | int main() { >ninja: build stopped: subcommand failed. > > >CMake Warning at cmake/modules/FindZ3.cmake:46 (message): > Failed to compile Z3 program that is used to determine library version. >Call Stack (most recent call first): > cmake/modules/FindZ3.cmake:80 (check_z3_version) > CMakeLists.txt:426 (find_package) > > >CMake Warning at cmake/modules/FindZ3.cmake:115 (message): > Failed to determine Z3 library version, defaulting to 0.0.0. >Call Stack (most recent call first): > CMakeLists.txt:426 (find_package) > > >-- Could NOT find Z3: Found unsuitable version "0.0.0", but required is at least "4.7.1" (found /usr/lib64/libz3.so) >CMake Error at CMakeLists.txt:435 (message): > LLVM_ENABLE_Z3_SOLVER cannot be enabled when Z3 is not available. > > >-- Configuring incomplete, errors occurred! > [31;01m*[0m ERROR: sys-devel/llvm-14.0.6-r4::gentoo failed (configure phase): > [31;01m*[0m cmake failed > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 136: Called src_configure > [31;01m*[0m environment, line 3874: Called multilib-minimal_src_configure > [31;01m*[0m environment, line 2696: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure' > [31;01m*[0m environment, line 2946: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' > [31;01m*[0m environment, line 2651: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' > [31;01m*[0m environment, line 2649: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure' > [31;01m*[0m environment, line 546: Called multilib-minimal_abi_src_configure > [31;01m*[0m environment, line 2690: Called multilib_src_configure > [31;01m*[0m environment, line 3210: Called cmake_src_configure > [31;01m*[0m environment, line 1574: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=sys-devel/llvm-14.0.6-r4::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=sys-devel/llvm-14.0.6-r4::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/tmp/portage/sys-devel/llvm-14.0.6-r4/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-devel/llvm-14.0.6-r4/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/sys-devel/llvm-14.0.6-r4/work/llvm_build-.arm64' > [31;01m*[0m S: '/var/tmp/portage/sys-devel/llvm-14.0.6-r4/work/llvm'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 919687
: 878640