[llvm-bugs] [Bug 51017] New: main build error

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jul 7 17:05:09 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=51017

            Bug ID: 51017
           Summary: main build error
           Product: tools
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-exegesis
          Assignee: unassignedbugs at nondot.org
          Reporter: itaru.kitayama at gmail.com
                CC: clement.courbet at gmail.com, gchatelet at google.com,
                    llvm-bugs at lists.llvm.org

/p/scratch/cjzam11/kitayama1/projects/llvm-project/llvm/tools/llvm-exegesis/lib/X86/X86Counter.cpp:18:10:
fatal error: 'perfmon/perf_event.h' file not found
#include "perfmon/perf_event.h"
         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[9/323] Building CXX object tools/llvm...iles/LLVMExegesis.dir/PerfHelper.cpp.o
FAILED: tools/llvm-exegesis/lib/CMakeFiles/LLVMExegesis.dir/PerfHelper.cpp.o
/p/software/jurecadc/stages/2020/software/Clang/11.0.0-GCCcore-9.3.0/bin/clang++
-DGTEST_HAS_RTTI=0 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/llvm-exegesis/lib
-I/p/scratch/cjzam11/kitayama1/projects/llvm-project/llvm/tools/llvm-exegesis/lib
-Iinclude -I/p/scratch/cjzam11/kitayama1/projects/llvm-project/llvm/include
-isystem
/p/scratch/cjzam11/kitayama1/projects/spack/opt/spack/linux-centos8-zen2/gcc-10.3.0/zlib-1.2.11-ysmifax4vc6oqjhhhb7j7ozvdgfyvj4u/include
-fPIC -fvisibility-inlines-hidden -Werror=date-time
-Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic
-Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough
-Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor
-Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion
-Wmisleading-indentation -fdiagnostics-color -ffunction-sections
-fdata-sections -O3 -DNDEBUG  -fno-exceptions -fno-rtti -std=c++14 -MD -MT
tools/llvm-exegesis/lib/CMakeFiles/LLVMExegesis.dir/PerfHelper.cpp.o -MF
tools/llvm-exegesis/lib/CMakeFiles/LLVMExegesis.dir/PerfHelper.cpp.o.d -o
tools/llvm-exegesis/lib/CMakeFiles/LLVMExegesis.dir/PerfHelper.cpp.o -c
/p/scratch/cjzam11/kitayama1/projects/llvm-project/llvm/tools/llvm-exegesis/lib/PerfHelper.cpp
/p/scratch/cjzam11/kitayama1/projects/llvm-project/llvm/tools/llvm-exegesis/lib/PerfHelper.cpp:15:10:
fatal error: 'perfmon/perf_event.h' file not found
#include "perfmon/perf_event.h"
         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[89/323] Building CXX object tools/obj...CMakeFiles/obj2yaml.dir/elf2yaml.cpp.o
ninja: build stopped: subcommand failed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210708/ad0e9bd7/attachment.html>


More information about the llvm-bugs mailing list