[Openmp-commits] [PATCH] D100185: [OpenMP] [OMPD] [5/6] Implementation of OMPD debugging library - libompd. gdb-plugin: A Plugin code to gdb to leverage libompd to provide debugging support.

Kazushi Marukawa via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Sep 13 22:40:19 PDT 2022


kaz7 added a comment.

Hi, I'm having following errors after this patch.  I'm compiling llvm and runtimes for X86.  Is Python3_INCLUDE_DIRS required for the debugging purpose?  Thanks!

  ...
  [115/124] Performing build step for 'runtimes-x86_64-unknown-linux-gnu'
  [0/1] Re-running CMake...
  -- Using libunwind testing configuration: /home/jam/llvm-dev/llvm-project/libunwind/test/configs/llvm-libunwind-shared.cfg.in
  -- Failed to locate sphinx-build executable (missing: SPHINX_EXECUTABLE)
  -- Using libc++abi testing configuration: /home/jam/llvm-dev/llvm-project/libcxxabi/test/configs/llvm-libc++abi-shared.cfg.in
  -- Could not find ParallelSTL, libc++abi will not attempt to use it but the build may fail if the libc++ in use needs it to be available.
  -- Using libc++ testing configuration: /home/jam/llvm-dev/llvm-project/libcxx/test/configs/llvm-libc++-shared.cfg.in
  CMake Warning at /home/jam/llvm-dev/llvm-project/libcxx/benchmarks/CMakeLists.txt:2 (message):
    The libc++ benchmarks won't be available because the version of CMake is
    too old to support them.
  
  
  -- Cannot find llvm-lit.
  -- Please put llvm-lit in your PATH, set OPENMP_LLVM_LIT_EXECUTABLE to its full path, or point OPENMP_LLVM_TOOLS_DIR to its directory.
  CMake Warning at /home/jam/llvm-dev/llvm-project/openmp/cmake/OpenMPTesting.cmake:22 (message):
    The check targets will not be available!
  Call Stack (most recent call first):
    /home/jam/llvm-dev/llvm-project/openmp/cmake/OpenMPTesting.cmake:51 (find_stan
  dalone_test_dependencies)
    /home/jam/llvm-dev/llvm-project/openmp/CMakeLists.txt:59 (include)
  
  
  -- LIBOMP: Operating System     -- Linux
  -- LIBOMP: Target Architecture  -- x86_64
  -- LIBOMP: Build Type           -- Release
  -- LIBOMP: Library Kind         -- SHARED
  -- LIBOMP: Library Type         -- normal
  -- LIBOMP: Fortran Modules      -- FALSE
  -- LIBOMP: Build                -- 20140926
  -- LIBOMP: Use Stats-gathering  -- FALSE
  -- LIBOMP: Use Debugger-support -- FALSE
  -- LIBOMP: Use ITT notify       -- TRUE
  -- LIBOMP: Use OMPT-support     -- TRUE
  -- LIBOMP: Use OMPT-optional  -- TRUE
  -- LIBOMP: Use OMPD-support     -- TRUE
  -- LIBOMP: Use Adaptive locks   -- TRUE
  -- LIBOMP: Use quad precision   -- FALSE
  -- LIBOMP: Use Hwloc library    -- FALSE
  -- check-libomp does nothing.
  -- check-ompt does nothing.
  -- Could NOT find Python3 (missing: Python3_INCLUDE_DIRS Development) (found version "3.8.10")
  CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
    Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
  Call Stack (most recent call first):
    /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
    /usr/share/cmake-3.16/Modules/FindPythonLibs.cmake:310 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
    /home/jam/llvm-dev/llvm-project/openmp/libompd/gdb-plugin/CMakeLists.txt:17 (find_package)
  
  
  -- Configuring incomplete, errors occurred!
  See also "/home/jam/llvm-dev/build/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/CMakeFiles/CMakeOutput.log".
  See also "/home/jam/llvm-dev/build/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/CMakeFiles/CMakeError.log".
  FAILED: build.ninja
  /usr/bin/cmake -S/home/jam/llvm-dev/llvm-project/runtimes -B/home/jam/llvm-dev/build/runtimes/runtimes-x86_64-unknown-linux-gnu-bins
  ninja: error: rebuilding 'build.ninja': subcommand failed
  [121/124] Linking CXX executable bin/opt
  FAILED: runtimes/runtimes-x86_64-unknown-linux-gnu-stamps/runtimes-x86_64-unknown-linux-gnu-build
  cd /home/jam/llvm-dev/build/runtimes/runtimes-x86_64-unknown-linux-gnu-bins && /usr/bin/cmake --build .
  ninja: build stopped: subcommand failed.
  make: *** [Makefile:68: build] Error 1


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100185/new/

https://reviews.llvm.org/D100185



More information about the Openmp-commits mailing list