[Openmp-dev] Configuring Trunk branch on AArch64 fails

Itaru Kitayama via Openmp-dev openmp-dev at lists.llvm.org
Tue May 28 03:29:37 PDT 2019


Jonas,

See below for the CMake options and the error I saw:

cmake -GNinja -DCMAKE_INSTALL_PREFIX=$HOME/opt/clang/${today}
-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
-DLLVM_TARGETS_TO_BUILD=AArch64 -DLLVM_ENABLE_PROJECTS="clang;openmp;lld"
../llvm
#cmake -GNinja -DCMAKE_INSTALL_PREFIX=$HOME/opt/clang/${today}
-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
-DLLVM_TARGETS_TO_BUILD=AArch64 -DLLVM_ENABLE_PROJECTS="clang;lld" ../llvm


Already up-to-date.
mkdir: cannot create directory ‘20190528’: File exists
-- clang project is enabled
-- clang-tools-extra project is disabled
-- compiler-rt project is disabled
-- debuginfo-tests project is disabled
-- libclc project is disabled
-- libcxx project is disabled
-- libcxxabi project is disabled
-- libunwind project is disabled
-- lld project is enabled
-- lldb project is disabled
-- llgo project is disabled
-- openmp project is enabled
-- parallel-libs project is disabled
-- polly project is disabled
-- pstl project is disabled
-- Could NOT find Z3: Found unsuitable version "0.0.0", but required is at
least "4.7.1" (found Z3_LIBRARIES-NOTFOUND)
-- Native target architecture is AArch64
-- Threads enabled.
-- Doxygen disabled.
go: cannot find GOROOT directory:
/tmp/plgbuild/abs_build/761279_29269/trunk/rel_work/arm_builder/components/builder/work/current_tree/AArch64/opt/arm/gcc-8.2.0_Generic-AArch64_RHEL-7_aarch64-linux
-- Go bindings disabled, need at least Go 1.2.
-- Ninja version: 1.9.0.git
-- Could NOT find OCaml (missing:  OCAMLFIND OCAML_VERSION
OCAML_STDLIB_PATH)
-- Could NOT find OCaml (missing:  OCAMLFIND OCAML_VERSION
OCAML_STDLIB_PATH)
-- OCaml bindings disabled.
-- LLVM host triple: aarch64-unknown-linux-gnu
-- LLVM default target triple: aarch64-unknown-linux-gnu
-- Building with -fPIC
-- Constructing LLVMBuild project information
-- Linker detection: GNU ld
-- LLVMHello ignored -- Loadable modules not supported on this platform.
-- Targeting AArch64
-- Could NOT find LIBOMPTARGET_DEP_LIBFFI (missing:
 LIBOMPTARGET_DEP_LIBFFI_LIBRARIES LIBOMPTARGET_DEP_LIBFFI_INCLUDE_DIRS)
-- LIBOMPTARGET: Building offloading runtime library libomptarget.
-- LIBOMPTARGET: Not building aarch64 offloading plugin: libffi dependency
not found.
-- LIBOMPTARGET: Not building CUDA offloading plugin: only support CUDA in
Linux x86_64 or ppc64le hosts.
-- LIBOMPTARGET: Not building PPC64 offloading plugin: machine not found in
the system.
-- LIBOMPTARGET: Not building PPC64le offloading plugin: machine not found
in the system.
-- LIBOMPTARGET: Not building x86_64 offloading plugin: machine not found
in the system.
-- LIBOMPTARGET: Building CUDA offloading device RTL.
-- LIBOMPTARGET: Building CUDA LLVM bitcode offloading device RTL.
-- BugpointPasses ignored -- Loadable modules not supported on this
platform.
-- TestPlugin ignored -- Loadable modules not supported on this platform.
-- git Version: v0.0.0
-- Version: 0.0.0
-- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- failed to compile
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Configuring done
CMake Error at cmake/modules/AddLLVM.cmake:1402 (add_dependencies):
  The dependency target "clang" of target "check-all" does not exist.
Call Stack (most recent call first):
  CMakeLists.txt:1001 (add_lit_target)


CMake Error at cmake/modules/AddLLVM.cmake:1402 (add_dependencies):
  The dependency target "clang-resource-headers" of target "check-all" does
  not exist.
Call Stack (most recent call first):
  CMakeLists.txt:1001 (add_lit_target)


CMake Error at
/tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
(add_dependencies):
  The dependency target "clang" of target "check-openmp" does not exist.
Call Stack (most recent call first):
  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
(add_lit_target)
  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)
  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:190
(add_openmp_testsuite)
  /tmp/projects/llvm-project/openmp/CMakeLists.txt:83
(construct_check_openmp_target)


CMake Error at
/tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
(add_dependencies):
  The dependency target "clang-resource-headers" of target "check-openmp"
  does not exist.
Call Stack (most recent call first):
  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
(add_lit_target)
  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)
  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:190
(add_openmp_testsuite)
  /tmp/projects/llvm-project/openmp/CMakeLists.txt:83
(construct_check_openmp_target)


CMake Error at
/tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
(add_dependencies):
  The dependency target "clang" of target "check-ompt" does not exist.
Call Stack (most recent call first):
  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
(add_lit_target)
  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)
  /tmp/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:36
(add_openmp_testsuite)


CMake Error at
/tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
(add_dependencies):
  The dependency target "clang-resource-headers" of target "check-ompt" does
  not exist.
Call Stack (most recent call first):
  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
(add_lit_target)
  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)
  /tmp/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:36
(add_openmp_testsuite)


CMake Error at
/tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
(add_dependencies):
  The dependency target "clang" of target "check-libomp" does not exist.
Call Stack (most recent call first):
  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
(add_lit_target)
  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)
  /tmp/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:33
(add_openmp_testsuite)


CMake Error at
/tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
(add_dependencies):
  The dependency target "clang-resource-headers" of target "check-libomp"
  does not exist.
Call Stack (most recent call first):
  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
(add_lit_target)
  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)
  /tmp/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:33
(add_openmp_testsuite)


CMake Error at
/tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
(add_dependencies):
  The dependency target "clang" of target "check-libomptarget-nvptx" does
not
  exist.
Call Stack (most recent call first):
  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
(add_lit_target)
  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)

/tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/CMakeLists.txt:14
(add_openmp_testsuite)


CMake Error at
/tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
(add_dependencies):
  The dependency target "clang-resource-headers" of target
  "check-libomptarget-nvptx" does not exist.
Call Stack (most recent call first):
  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
(add_lit_target)
  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)

/tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/CMakeLists.txt:14
(add_openmp_testsuite)


CMake Error at
/tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
(add_dependencies):
  The dependency target "clang" of target "check-libomptarget" does not
  exist.
Call Stack (most recent call first):
  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
(add_lit_target)
  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)
  /tmp/projects/llvm-project/openmp/libomptarget/test/CMakeLists.txt:15
(add_openmp_testsuite)


CMake Error at
/tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
(add_dependencies):
  The dependency target "clang-resource-headers" of target
  "check-libomptarget" does not exist.
Call Stack (most recent call first):
  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
(add_lit_target)
  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)
  /tmp/projects/llvm-project/openmp/libomptarget/test/CMakeLists.txt:15
(add_openmp_testsuite)


-- Generating done
-- Build files have been written to: /tmp/projects/llvm-project/20190528
[0/1] Re-running CMake...
-- clang project is enabled
-- clang-tools-extra project is disabled
-- compiler-rt project is disabled
-- debuginfo-tests project is disabled
-- libclc project is disabled
-- libcxx project is disabled
-- libcxxabi project is disabled
-- libunwind project is disabled
-- lld project is enabled
-- lldb project is disabled
-- llgo project is disabled
-- openmp project is enabled
-- parallel-libs project is disabled
-- polly project is disabled
-- pstl project is disabled
-- Could NOT find Z3: Found unsuitable version "0.0.0", but required is at
least "4.7.1" (found Z3_LIBRARIES-NOTFOUND)
-- Native target architecture is AArch64
-- Threads enabled.
-- Doxygen disabled.
go: cannot find GOROOT directory:
/tmp/plgbuild/abs_build/761279_29269/trunk/rel_work/arm_builder/components/builder/work/current_tree/AArch64/opt/arm/gcc-8.2.0_Generic-AArch64_RHEL-7_aarch64-linux
-- Go bindings disabled, need at least Go 1.2.
-- Ninja version: 1.9.0.git
-- Could NOT find OCaml (missing:  OCAMLFIND OCAML_VERSION
OCAML_STDLIB_PATH)
-- Could NOT find OCaml (missing:  OCAMLFIND OCAML_VERSION
OCAML_STDLIB_PATH)
-- OCaml bindings disabled.
-- LLVM host triple: aarch64-unknown-linux-gnu
-- LLVM default target triple: aarch64-unknown-linux-gnu
-- Building with -fPIC
-- Constructing LLVMBuild project information
-- Linker detection: GNU ld
-- LLVMHello ignored -- Loadable modules not supported on this platform.
-- Targeting AArch64
-- Could NOT find LIBOMPTARGET_DEP_LIBFFI (missing:
 LIBOMPTARGET_DEP_LIBFFI_LIBRARIES LIBOMPTARGET_DEP_LIBFFI_INCLUDE_DIRS)
-- LIBOMPTARGET: Building offloading runtime library libomptarget.
-- LIBOMPTARGET: Not building aarch64 offloading plugin: libffi dependency
not found.
-- LIBOMPTARGET: Not building CUDA offloading plugin: only support CUDA in
Linux x86_64 or ppc64le hosts.
-- LIBOMPTARGET: Not building PPC64 offloading plugin: machine not found in
the system.
-- LIBOMPTARGET: Not building PPC64le offloading plugin: machine not found
in the system.
-- LIBOMPTARGET: Not building x86_64 offloading plugin: machine not found
in the system.
-- LIBOMPTARGET: Building CUDA offloading device RTL.
-- LIBOMPTARGET: Building CUDA LLVM bitcode offloading device RTL.
-- BugpointPasses ignored -- Loadable modules not supported on this
platform.
-- TestPlugin ignored -- Loadable modules not supported on this platform.
-- git Version: v0.0.0
-- Version: 0.0.0
-- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- failed to compile
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Configuring done
CMake Error at cmake/modules/AddLLVM.cmake:1402 (add_dependencies):
  The dependency target "clang" of target "check-all" does not exist.
Call Stack (most recent call first):
  CMakeLists.txt:1001 (add_lit_target)


CMake Error at cmake/modules/AddLLVM.cmake:1402 (add_dependencies):
  The dependency target "clang-resource-headers" of target "check-all" does
  not exist.
Call Stack (most recent call first):
  CMakeLists.txt:1001 (add_lit_target)


CMake Error at
/tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
(add_dependencies):
  The dependency target "clang" of target "check-openmp" does not exist.
Call Stack (most recent call first):
  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
(add_lit_target)
  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)
  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:190
(add_openmp_testsuite)
  /tmp/projects/llvm-project/openmp/CMakeLists.txt:83
(construct_check_openmp_target)


CMake Error at
/tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
(add_dependencies):
  The dependency target "clang-resource-headers" of target "check-openmp"
  does not exist.
Call Stack (most recent call first):
  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
(add_lit_target)
  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)
  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:190
(add_openmp_testsuite)
  /tmp/projects/llvm-project/openmp/CMakeLists.txt:83
(construct_check_openmp_target)


CMake Error at
/tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
(add_dependencies):
  The dependency target "clang" of target "check-ompt" does not exist.
Call Stack (most recent call first):
  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
(add_lit_target)
  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)
  /tmp/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:36
(add_openmp_testsuite)


CMake Error at
/tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
(add_dependencies):
  The dependency target "clang-resource-headers" of target "check-ompt" does
  not exist.
Call Stack (most recent call first):
  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
(add_lit_target)
  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)
  /tmp/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:36
(add_openmp_testsuite)


CMake Error at
/tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
(add_dependencies):
  The dependency target "clang" of target "check-libomp" does not exist.
Call Stack (most recent call first):
  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
(add_lit_target)
  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)
  /tmp/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:33
(add_openmp_testsuite)


CMake Error at
/tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
(add_dependencies):
  The dependency target "clang-resource-headers" of target "check-libomp"
  does not exist.
Call Stack (most recent call first):
  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
(add_lit_target)
  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)
  /tmp/projects/llvm-project/openmp/runtime/test/CMakeLists.txt:33
(add_openmp_testsuite)


CMake Error at
/tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
(add_dependencies):
  The dependency target "clang" of target "check-libomptarget-nvptx" does
not
  exist.
Call Stack (most recent call first):
  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
(add_lit_target)
  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)

/tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/CMakeLists.txt:14
(add_openmp_testsuite)


CMake Error at
/tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
(add_dependencies):
  The dependency target "clang-resource-headers" of target
  "check-libomptarget-nvptx" does not exist.
Call Stack (most recent call first):
  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
(add_lit_target)
  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)

/tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/test/CMakeLists.txt:14
(add_openmp_testsuite)


CMake Error at
/tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
(add_dependencies):
  The dependency target "clang" of target "check-libomptarget" does not
  exist.
Call Stack (most recent call first):
  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
(add_lit_target)
  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)
  /tmp/projects/llvm-project/openmp/libomptarget/test/CMakeLists.txt:15
(add_openmp_testsuite)


CMake Error at
/tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1402
(add_dependencies):
  The dependency target "clang-resource-headers" of target
  "check-libomptarget" does not exist.
Call Stack (most recent call first):
  /tmp/projects/llvm-project/llvm/cmake/modules/AddLLVM.cmake:1423
(add_lit_target)
  /tmp/projects/llvm-project/openmp/cmake/OpenMPTesting.cmake:175
(add_lit_testsuite)
  /tmp/projects/llvm-project/openmp/libomptarget/test/CMakeLists.txt:15
(add_openmp_testsuite)


-- Generating done
-- Build files have been written to: /tmp/projects/llvm-project/20190528
FAILED: build.ninja
/fefs/home/r1050/opt/cmake-3.7.2/bin/cmake
-H/tmp/projects/llvm-project/llvm -B/tmp/projects/llvm-project/20190528
ninja: error: rebuilding 'build.ninja': subcommand failed

On Tue, May 28, 2019 at 7:18 PM Jonas Hahnfeld <hahnjo at hahnjo.de> wrote:

> Could you please include more relevant information such as which
> subprojects you want to build, your CMake invocation, and which error
> CMake prints. The CMakeError.log only contains information about which
> compiler tests failed which may be expected in some cases.
>
> Jonas
>
> On 2019-05-28 09:59, Itaru Kitayama via Openmp-dev wrote:
> > Hi,
> > Can anyone look into the log attached? It's been failing
> > in the last couples of days.
> > _______________________________________________
> > Openmp-dev mailing list
> > Openmp-dev at lists.llvm.org
> > https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20190528/15597cfd/attachment-0001.html>


More information about the Openmp-dev mailing list