You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DrCCTProf fails to build on recent linux kernels due to the following commit torvalds/linux@bfdf4e6. The failure is due to DrCCTProf depending on a Dynamorio version that is incompatible with change in the kernel. The Dynamorio project appears to have fixed this in DynamoRIO/dynamorio#5469.
Screenshots or Pasted Text
logs/cmake.log.1658508162
-- The C compiler identification is GNU 12.1.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
-- The CXX compiler identification is GNU 12.1.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building for x86
-- Version number: 9.0.19016
-- Performing Test proc_found_avx
-- Performing Test proc_found_avx - Success
-- Compiler and processor support AVX.
-- Performing Test proc_found_avx2
-- Performing Test proc_found_avx2 - Success
-- Compiler and processor support AVX2.
-- Performing Test proc_found_avx512
-- Performing Test proc_found_avx512 - Failed
-- WARNING: Compiler or processor do not support AVX-512. Skipping tests
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/as
-- Found Perl: /usr/bin/perl (found version "5.36.0")
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of uint
-- Check size of uint - done
-- Check size of ushort
-- Check size of ushort - done
-- Check size of bool
-- Check size of bool - failed
-- Check size of byte
-- Check size of byte - failed
-- Check size of sbyte
-- Check size of sbyte - failed
-- Check size of uint32
-- Check size of uint32 - failed
-- Check size of uint64
-- Check size of uint64 - failed
-- Check size of int32
-- Check size of int32 - failed
-- Check size of int64
-- Check size of int64 - failed
-- Check size of _Bool
-- Check size of _Bool - done
-- Performing Test cxx17_available
-- Performing Test cxx17_available - Success
-- Performing Test no_stack_protector_avail
-- Performing Test no_stack_protector_avail - Success
-- Performing Test suggest_override_avail
-- Performing Test suggest_override_avail - Success
-- Performing Test nounused_avail
-- Performing Test nounused_avail - Success
-- Performing Test stringop_truncation_avail
-- Performing Test stringop_truncation_avail - Success
-- Performing Test format_truncation_avail
-- Performing Test format_truncation_avail - Success
-- Performing Test stringop_overflow_avail
-- Performing Test stringop_overflow_avail - Success
-- Performing Test HAVE_TYPELIMITS_CONTROL
-- Performing Test HAVE_TYPELIMITS_CONTROL - Success
-- Performing Test HAVE_FVISIBILITY_INTERNAL
-- Performing Test HAVE_FVISIBILITY_INTERNAL - Success
-- Performing Test HAVE_FVISIBILITY_HIDDEN
-- Performing Test HAVE_FVISIBILITY_HIDDEN - Success
-- Looking for linux/rseq.h
-- Looking for linux/rseq.h - found
-- Looking for libunwind.h
-- Looking for libunwind.h - found
-- Performing Test no_pie_avail
-- Performing Test no_pie_avail - Success
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.12")
-- Performing Test implicit_fallthrough_avail
-- Performing Test implicit_fallthrough_avail - Success
CMake Deprecation Warning at clients/drcctlib_memory_instr_statistics_clean_call/CMakeLists.txt:7 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- WARNING: vera++ not found: disabling code style checks
-- Found Qt 5: DrGUI will be built
CMake Deprecation Warning at ext/drgui/CMakeLists.txt:54 (cmake_policy):
The OLD behavior for policy CMP0043 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.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/sal/repos/other/DrCCTProf/build
logs/make.log.1658508162
[ 0%] Generating moc_drgui_tool_interface.cpp
[ 1%] Generating moc_drgui_main_window.cpp
[ 1%] Generating moc_drgui_options_interface.cpp
[ 1%] Generating moc_drgui_options_window.cpp
[ 3%] Building CXX object clients/drcpusim/CMakeFiles/drcpusim_ops.dir/optionlist.cpp.o
[ 3%] Built target api_headers
[ 3%] Building C object tools/CMakeFiles/run_in_bg.dir/run_in_bg.c.o
[ 3%] Building C object tools/CMakeFiles/drloader.dir/drloader.c.o
[ 3%] Building CXX object clients/drcpusim/CMakeFiles/drcpusim_ops.dir/options.cpp.o
[ 3%] Building C object tools/CMakeFiles/runstats.dir/runstats.c.o
[ 3%] Building CXX object clients/drcachesim/CMakeFiles/drcachesim_ops.dir/common/options.cpp.o
[ 3%] Generating ../event_strings.h
[ 3%] Building C object tools/CMakeFiles/nudgeunix.dir/nudgeunix.c.o
[ 3%] Building C object tools/CMakeFiles/nudgeunix.dir/__/core/unix/nudgesig.c.o
[ 3%] Building CXX object clients/drcachesim/CMakeFiles/drcachesim_ops.dir/optionlist.cpp.o
[ 3%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_histogram.dir/tools/histogram.cpp.o
[ 3%] Building CXX object ext/drgui/CMakeFiles/drgui.dir/drgui_options_window.cpp.o
[ 3%] Built target generate_syslog
[ 3%] Building CXX object ext/drgui/CMakeFiles/drgui.dir/moc_drgui_tool_interface.cpp.o
[ 3%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_basic_counts.dir/tools/basic_counts.cpp.o
[ 3%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_reuse_distance.dir/tools/reuse_distance.cpp.o
[ 3%] Building CXX object ext/drgui/CMakeFiles/drgui.dir/main.cpp.o
[ 4%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_func_view.dir/tools/func_view.cpp.o
[ 4%] Building CXX object ext/drgui/CMakeFiles/drgui.dir/drgui_main_window.cpp.o
[ 5%] Building CXX object ext/drgui/CMakeFiles/drgui.dir/moc_drgui_options_interface.cpp.o
[ 5%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_reuse_time.dir/tools/reuse_time.cpp.o
[ 5%] Building CXX object ext/drgui/CMakeFiles/drgui.dir/moc_drgui_options_window.cpp.o
[ 5%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_simulator.dir/simulator/cache_lru.cpp.o
[ 6%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_simulator.dir/simulator/simulator.cpp.o
Scanning dependencies of target drmemfuncs
[ 6%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_simulator.dir/simulator/cache.cpp.o
[ 6%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_simulator.dir/simulator/cache_fifo.cpp.o
[ 6%] Building CXX object ext/drgui/CMakeFiles/drgui.dir/moc_drgui_main_window.cpp.o
[ 6%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_simulator.dir/simulator/cache_miss_analyzer.cpp.o
Scanning dependencies of target drlibc
[ 6%] Building ASM object core/CMakeFiles/drmemfuncs.dir/arch/x86/memfuncs.asm.o
[ 6%] Building C object core/CMakeFiles/drmemfuncs.dir/lib/memmove.c.o
[ 7%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_simulator.dir/simulator/caching_device.cpp.o
[ 7%] Building ASM object core/CMakeFiles/drlibc.dir/drlibc/drlibc_xarch.asm.o
[ 7%] Building ASM object core/CMakeFiles/drlibc.dir/drlibc/drlibc_x86.asm.o
[ 7%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_simulator.dir/simulator/caching_device_stats.cpp.o
[ 7%] Building C object core/CMakeFiles/drlibc.dir/drlibc/drlibc.c.o
[ 7%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_simulator.dir/simulator/cache_stats.cpp.o
[ 8%] Building C object core/CMakeFiles/drlibc.dir/drlibc/drlibc_notdr_dcxt.c.o
[ 8%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_simulator.dir/simulator/prefetcher.cpp.o
[ 8%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_simulator.dir/simulator/cache_simulator.cpp.o
[ 8%] Linking C executable ../bin64/drloader
[ 8%] Linking C executable ../bin64/nudgeunix
[ 9%] Building C object core/CMakeFiles/drlibc.dir/drlibc/drlibc_notdr_error.c.o
[ 9%] Linking C executable ../bin64/run_in_bg
[ 9%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_simulator.dir/simulator/tlb.cpp.o
[ 10%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_simulator.dir/simulator/tlb_simulator.cpp.o
[ 9%] Building C object core/CMakeFiles/drlibc.dir/drlibc/drlibc_notdr_ignoreassert.c.o
[ 10%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_simulator.dir/simulator/snoop_filter.cpp.o
[ 10%] Building C object core/CMakeFiles/drlibc.dir/drlibc/drlibc_notdr_logfile.c.o
[ 10%] Building C object core/CMakeFiles/drlibc.dir/drlibc/drlibc_notdr_printlog.c.o
[ 10%] Building C object core/CMakeFiles/drlibc.dir/drlibc/drlibc_notdr_report.c.o
[ 10%] Building C object core/CMakeFiles/drlibc.dir/drlibc/drlibc_notdr_saferead.c.o
[ 11%] Building C object core/CMakeFiles/drlibc.dir/drlibc/drlibc_notdr_stats.c.o
[ 11%] Building C object core/CMakeFiles/drlibc.dir/drlibc/drlibc_module_elf.c.o
[ 10%] Building C object core/CMakeFiles/drlibc.dir/drlibc/drlibc_unix.c.o
[ 11%] Linking C static library ../lib64/libdrmemfuncs.a
[ 11%] Built target drloader
[ 11%] Built target run_in_bg
[ 11%] Linking C executable ../bin64/runstats
[ 11%] Built target nudgeunix
[ 11%] Built target drmemfuncs
[ 11%] Built target runstats
[ 11%] Linking C static library ../lib64/libdrlibc.a
[ 11%] Built target drlibc
Scanning dependencies of target dynamorio
Scanning dependencies of target dynamorio_static
[ 11%] Building C object core/CMakeFiles/dynamorio.dir/options.c.o
[ 12%] Building C object core/CMakeFiles/dynamorio.dir/dynamo.c.o
[ 12%] Building C object core/CMakeFiles/dynamorio_static.dir/dynamo.c.o
[ 12%] Building C object core/CMakeFiles/drpreload.dir/unix/preload.c.o
[ 12%] Building C object core/CMakeFiles/dynamorio.dir/fragment.c.o
[ 12%] Building C object core/CMakeFiles/drdecode.dir/ir/opnd_shared.c.o
[ 13%] Building C object core/CMakeFiles/dynamorio_static.dir/options.c.o
[ 14%] Building C object core/CMakeFiles/drpreload.dir/config.c.o
[ 14%] Building C object core/CMakeFiles/dynamorio_static.dir/fragment.c.o
[ 14%] Building C object libutil/CMakeFiles/drfrontendlib.dir/dr_frontend_unix.c.o
[ 14%] Building C object core/CMakeFiles/dynamorio_static.dir/fcache.c.o
[ 15%] Building C object libutil/CMakeFiles/drfrontendlib.dir/dr_frontend_common.c.o
[ 15%] Building C object core/CMakeFiles/dynamorio_static.dir/link.c.o
[ 16%] Building C object core/CMakeFiles/drdecode.dir/ir/x86/opnd.c.o
[ 16%] Building C object core/CMakeFiles/dynamorio.dir/fcache.c.o
[ 16%] Building C object core/CMakeFiles/drpreload.dir/string.c.o
[ 16%] Building C object core/CMakeFiles/drdecode.dir/ir/instr_shared.c.o
[ 17%] Building C object core/CMakeFiles/dynamorio_static.dir/dispatch.c.o
[ 17%] Building C object core/CMakeFiles/drpreload.dir/io.c.o
[ 17%] Building C object core/CMakeFiles/drdecode.dir/ir/x86/instr.c.o
[ 17%] Building C object core/CMakeFiles/dynamorio.dir/link.c.o
[ 17%] Building C object core/CMakeFiles/drdecode.dir/ir/instrlist.c.o
[ 17%] Building C object core/CMakeFiles/dynamorio.dir/dispatch.c.o
[ 17%] Building C object core/CMakeFiles/dynamorio_static.dir/emit.c.o
[ 18%] Building C object core/CMakeFiles/dynamorio.dir/emit.c.o
[ 18%] Building C object core/CMakeFiles/dynamorio_static.dir/utils.c.o
[ 18%] Building C object core/CMakeFiles/dynamorio_static.dir/stats.c.o
[ 18%] Building C object core/CMakeFiles/dynamorio_static.dir/config.c.o
[ 18%] Building C object core/CMakeFiles/dynamorio.dir/utils.c.o
[ 18%] Building C object core/CMakeFiles/drdecode.dir/ir/decode_shared.c.o
[ 19%] Building C object core/CMakeFiles/drdecode.dir/ir/x86/decode.c.o
[ 20%] Building C object core/CMakeFiles/dynamorio_static.dir/heap.c.o
[ 20%] Building C object core/CMakeFiles/dynamorio.dir/config.c.o
[ 20%] Building C object core/CMakeFiles/dynamorio_static.dir/monitor.c.o
[ 20%] Building C object core/CMakeFiles/dynamorio_static.dir/perfctr.c.o
[ 20%] Building C object core/CMakeFiles/dynamorio.dir/stats.c.o
[ 20%] Building C object core/CMakeFiles/dynamorio.dir/heap.c.o
[ 20%] Building C object core/CMakeFiles/drdecode.dir/ir/encode_shared.c.o
[ 20%] Building C object core/CMakeFiles/dynamorio_static.dir/vmareas.c.o
[ 20%] Building C object core/CMakeFiles/dynamorio_static.dir/rct.c.o
[ 21%] Building C object core/CMakeFiles/dynamorio.dir/monitor.c.o
[ 21%] Building C object core/CMakeFiles/drdecode.dir/ir/x86/encode.c.o
[ 21%] Building C object core/CMakeFiles/drdecode.dir/ir/disassemble_shared.c.o
[ 22%] Building C object core/CMakeFiles/dynamorio_static.dir/hotpatch.c.o
[ 22%] Building C object core/CMakeFiles/drdecode.dir/ir/x86/disassemble.c.o
[ 22%] Building C object core/CMakeFiles/dynamorio_static.dir/hashtable.c.o
[ 22%] Building C object core/CMakeFiles/dynamorio.dir/perfctr.c.o
[ 23%] Building C object core/CMakeFiles/drdecode.dir/ir/x86/ir_utils.c.o
[ 23%] Building C object core/CMakeFiles/dynamorio.dir/vmareas.c.o
[ 23%] Building C object core/CMakeFiles/dynamorio.dir/rct.c.o
[ 23%] Building C object core/CMakeFiles/drdecode.dir/ir/ir_utils_shared.c.o
[ 23%] Building C object core/CMakeFiles/drdecode.dir/ir/x86/decode_table.c.o
[ 23%] Building C object core/CMakeFiles/drdecode.dir/ir/x86/decode_fast.c.o
[ 23%] Building C object core/CMakeFiles/dynamorio_static.dir/module_list.c.o
[ 23%] Building C object core/CMakeFiles/dynamorio.dir/hotpatch.c.o
[ 23%] Building C object core/CMakeFiles/dynamorio_static.dir/moduledb.c.o
[ 23%] Building C object core/CMakeFiles/dynamorio_static.dir/perscache.c.o
[ 24%] Building C object core/CMakeFiles/dynamorio.dir/hashtable.c.o
[ 25%] Building C object core/CMakeFiles/dynamorio_static.dir/nudge.c.o
[ 25%] Building C object core/CMakeFiles/dynamorio.dir/module_list.c.o
[ 25%] Building C object core/CMakeFiles/dynamorio.dir/moduledb.c.o
[ 25%] Building C object core/CMakeFiles/dynamorio.dir/perscache.c.o
[ 25%] Building C object core/CMakeFiles/drdecode.dir/ir/decodelib.c.o
[ 26%] Building C object core/CMakeFiles/drdecode.dir/io.c.o
[ 26%] Building C object core/CMakeFiles/drdecode.dir/string.c.o
[ 26%] Building C object core/CMakeFiles/dynamorio_static.dir/synch.c.o
[ 26%] Building C object core/CMakeFiles/dynamorio.dir/nudge.c.o
[ 26%] Building C object core/CMakeFiles/dynamorio_static.dir/buildmark.c.o
[ 26%] Building C object core/CMakeFiles/dynamorio_static.dir/loader_shared.c.o
[ 26%] Building C object core/CMakeFiles/dynamorio_static.dir/io.c.o
[ 26%] Building C object core/CMakeFiles/dynamorio_static.dir/native_exec.c.o
[ 27%] Building C object core/CMakeFiles/dynamorio.dir/synch.c.o
[ 27%] Building C object core/CMakeFiles/dynamorio.dir/buildmark.c.o
[ 28%] Building C object core/CMakeFiles/dynamorio_static.dir/lib/instrument.c.o
[ 28%] Building C object core/CMakeFiles/dynamorio.dir/loader_shared.c.o
[ 28%] Building C object core/CMakeFiles/dynamorio_static.dir/lib/module_api.c.o
[ 28%] Building C object core/CMakeFiles/dynamorio_static.dir/translate.c.o
[ 28%] Building C object core/CMakeFiles/dynamorio_static.dir/annotations.c.o
[ 28%] Building C object core/CMakeFiles/dynamorio.dir/io.c.o
[ 28%] Building C object core/CMakeFiles/dynamorio.dir/lib/module_api.c.o
[ 28%] Building C object core/CMakeFiles/dynamorio.dir/native_exec.c.o
[ 29%] Building C object core/CMakeFiles/dynamorio.dir/lib/instrument.c.o
[ 29%] Building C object core/CMakeFiles/dynamorio_static.dir/jit_opt.c.o
[ 29%] Building C object core/CMakeFiles/dynamorio.dir/annotations.c.o
[ 29%] Building C object core/CMakeFiles/dynamorio.dir/translate.c.o
[ 30%] Building C object core/CMakeFiles/dynamorio_static.dir/string.c.o
[ 30%] Building C object core/CMakeFiles/dynamorio_static.dir/arch/arch.c.o
[ 30%] Building C object core/CMakeFiles/dynamorio_static.dir/arch/emit_utils_shared.c.o
[ 30%] Building C object core/CMakeFiles/dynamorio.dir/jit_opt.c.o
[ 30%] Building C object core/CMakeFiles/dynamorio.dir/string.c.o
[ 30%] Building C object core/CMakeFiles/dynamorio_static.dir/arch/x86/emit_utils.c.o
[ 31%] Building C object core/CMakeFiles/dynamorio.dir/arch/arch.c.o
[ 31%] Building C object core/CMakeFiles/dynamorio_static.dir/ir/opnd_shared.c.o
[ 32%] Building C object core/CMakeFiles/dynamorio_static.dir/ir/x86/opnd.c.o
[ 32%] Building C object core/CMakeFiles/dynamorio_static.dir/ir/instr_shared.c.o
[ 32%] Building C object core/CMakeFiles/dynamorio.dir/arch/emit_utils_shared.c.o
[ 32%] Building C object core/CMakeFiles/dynamorio_static.dir/ir/x86/instr.c.o
[ 32%] Building C object core/CMakeFiles/dynamorio.dir/arch/x86/emit_utils.c.o
[ 32%] Building C object core/CMakeFiles/dynamorio.dir/ir/x86/opnd.c.o
[ 32%] Building C object core/CMakeFiles/dynamorio.dir/ir/opnd_shared.c.o
[ 32%] Building C object core/CMakeFiles/dynamorio_static.dir/ir/instrlist.c.o
[ 33%] Building C object core/CMakeFiles/dynamorio.dir/ir/instr_shared.c.o
[ 33%] Building C object core/CMakeFiles/dynamorio_static.dir/ir/decode_shared.c.o
[ 34%] Building C object core/CMakeFiles/dynamorio_static.dir/ir/x86/decode.c.o
[ 34%] Building C object core/CMakeFiles/dynamorio.dir/ir/x86/instr.c.o
[ 34%] Building C object core/CMakeFiles/dynamorio_static.dir/ir/encode_shared.c.o
[ 34%] Linking C static library ../lib64/libdrfrontendlib.a
[ 34%] Building C object core/CMakeFiles/dynamorio.dir/ir/instrlist.c.o
[ 34%] Building C object core/CMakeFiles/dynamorio_static.dir/ir/x86/encode.c.o
[ 34%] Building C object core/CMakeFiles/dynamorio.dir/ir/decode_shared.c.o
[ 34%] Building C object core/CMakeFiles/dynamorio.dir/ir/x86/decode.c.o
[ 35%] Building C object core/CMakeFiles/dynamorio.dir/ir/encode_shared.c.o
[ 35%] Building C object core/CMakeFiles/dynamorio.dir/ir/disassemble_shared.c.o
[ 35%] Building C object core/CMakeFiles/dynamorio.dir/ir/x86/disassemble.c.o
[ 35%] Building C object core/CMakeFiles/dynamorio.dir/ir/x86/encode.c.o
[ 35%] Building C object core/CMakeFiles/dynamorio_static.dir/ir/x86/decode_table.c.o
[ 35%] Building C object core/CMakeFiles/dynamorio_static.dir/ir/disassemble_shared.c.o
[ 35%] Building C object core/CMakeFiles/dynamorio_static.dir/ir/x86/disassemble.c.o
[ 35%] Building C object core/CMakeFiles/dynamorio.dir/arch/proc_shared.c.o
[ 35%] Building C object core/CMakeFiles/dynamorio.dir/ir/x86/decode_fast.c.o
[ 36%] Building C object core/CMakeFiles/dynamorio.dir/ir/ir_utils_shared.c.o
[ 36%] Building C object core/CMakeFiles/dynamorio_static.dir/ir/ir_utils_shared.c.o
[ 37%] Building C object core/CMakeFiles/dynamorio_static.dir/arch/x86/optimize.c.o
[ 37%] Building C object core/CMakeFiles/dynamorio.dir/ir/x86/ir_utils.c.o
[ 37%] Building C object core/CMakeFiles/dynamorio_static.dir/ir/x86/ir_utils.c.o
[ 37%] Building C object core/CMakeFiles/dynamorio_static.dir/arch/x86/mangle.c.o
[ 37%] Building C object core/CMakeFiles/dynamorio.dir/arch/interp.c.o
[ 38%] Building C object core/CMakeFiles/dynamorio_static.dir/arch/proc_shared.c.o
[ 38%] Building C object core/CMakeFiles/dynamorio_static.dir/arch/interp.c.o
[ 39%] Building C object core/CMakeFiles/dynamorio_static.dir/arch/mangle_shared.c.o
[ 39%] Building ASM object core/CMakeFiles/dynamorio_static.dir/arch/x86/x86.asm.o
[ 39%] Building C object core/CMakeFiles/dynamorio_static.dir/arch/x86_code.c.o
[ 39%] Building C object core/CMakeFiles/dynamorio.dir/arch/x86/mangle.c.o
[ 39%] Building C object core/CMakeFiles/dynamorio.dir/arch/x86/proc.c.o
[ 39%] Building C object core/CMakeFiles/dynamorio_static.dir/arch/x86/x86_to_x64.c.o
[ 39%] Building C object core/CMakeFiles/dynamorio.dir/arch/x86/clean_call_opt.c.o
[ 39%] Building C object core/CMakeFiles/dynamorio_static.dir/arch/x86/proc.c.o
[ 40%] Building C object core/CMakeFiles/dynamorio.dir/arch/clean_call_opt_shared.c.o
[ 40%] Building C object core/CMakeFiles/dynamorio_static.dir/arch/x86/clean_call_opt.c.o
[ 40%] Building C object core/CMakeFiles/dynamorio.dir/arch/mangle_shared.c.o
[ 40%] Building C object core/CMakeFiles/dynamorio_static.dir/ir/x86/decode_fast.c.o
[ 40%] Building C object core/CMakeFiles/dynamorio_static.dir/arch/clean_call_opt_shared.c.o
[ 40%] Building C object core/CMakeFiles/dynamorio_static.dir/arch/sideline.c.o
[ 40%] Building C object core/CMakeFiles/dynamorio.dir/ir/x86/decode_table.c.o
[ 40%] Building C object core/CMakeFiles/dynamorio_static.dir/unix/os.c.o
[ 41%] Building C object core/CMakeFiles/dynamorio.dir/arch/x86_code.c.o
[ 42%] Building C object core/CMakeFiles/dynamorio_static.dir/arch/retcheck.c.o
[ 42%] Building C object core/CMakeFiles/dynamorio_static.dir/unix/signal.c.o
[ 42%] Building C object core/CMakeFiles/dynamorio.dir/arch/x86/optimize.c.o
[ 42%] Building C object core/CMakeFiles/dynamorio.dir/arch/sideline.c.o
[ 43%] Building C object core/CMakeFiles/dynamorio.dir/arch/x86/x86_to_x64.c.o
[ 43%] Building C object core/CMakeFiles/dynamorio.dir/unix/signal.c.o
[ 43%] Building C object core/CMakeFiles/dynamorio.dir/arch/retcheck.c.o
[ 43%] Linking CXX static library ../lib64/release/libdrmemtrace_histogram.a
[ 43%] Building ASM object core/CMakeFiles/dynamorio.dir/arch/x86/x86.asm.o
[ 43%] Building C object core/CMakeFiles/dynamorio_static.dir/unix/pcprofile.c.o
[ 43%] Building C object core/CMakeFiles/dynamorio_static.dir/unix/module.c.o
[ 44%] Building C object core/CMakeFiles/dynamorio_static.dir/unix/stackdump.c.o
[ 44%] Building C object core/CMakeFiles/dynamorio.dir/unix/loader_linux.c.o
[ 45%] Building C object core/CMakeFiles/dynamorio.dir/unix/diagnost.c.o
[ 45%] Building C object core/CMakeFiles/dynamorio_static.dir/unix/loader_linux.c.o
[ 44%] Building C object core/CMakeFiles/dynamorio.dir/unix/os.c.o
[ 45%] Building C object core/CMakeFiles/dynamorio.dir/unix/memquery_linux.c.o
[ 45%] Building C object core/CMakeFiles/dynamorio.dir/unix/memquery.c.o
[ 45%] Building C object core/CMakeFiles/dynamorio.dir/unix/stackdump.c.o
[ 45%] Building C object core/CMakeFiles/dynamorio_static.dir/unix/loader.c.o
[ 45%] Building C object core/CMakeFiles/dynamorio_static.dir/unix/memquery_linux.c.o
[ 45%] Building C object core/CMakeFiles/dynamorio.dir/unix/pcprofile.c.o
[ 45%] Building C object core/CMakeFiles/dynamorio.dir/unix/module_elf.c.o
[ 45%] Building C object core/CMakeFiles/dynamorio_static.dir/unix/memcache.c.o
[ 46%] Building C object core/CMakeFiles/dynamorio_static.dir/unix/memquery.c.o
[ 47%] Building C object core/CMakeFiles/dynamorio.dir/unix/memcache.c.o
[ 47%] Building C object core/CMakeFiles/dynamorio.dir/unix/module.c.o
[ 47%] Building C object core/CMakeFiles/dynamorio_static.dir/unix/diagnost.c.o
[ 47%] Building C object core/CMakeFiles/dynamorio.dir/unix/loader.c.o
[ 47%] Building C object core/CMakeFiles/dynamorio.dir/unix/tls_linux_x86.c.o
[ 47%] Building C object core/CMakeFiles/dynamorio.dir/unix/ksynch_linux.c.o
[ 47%] Building C object core/CMakeFiles/dynamorio_static.dir/unix/tls_linux_x86.c.o
[ 47%] Building C object core/CMakeFiles/dynamorio_static.dir/unix/native_elf.c.o
[ 47%] Building C object core/CMakeFiles/dynamorio_static.dir/unix/ksynch_linux.c.o
[ 47%] Building C object core/CMakeFiles/dynamorio_static.dir/unix/signal_linux_x86.c.o
[ 50%] Building C object core/CMakeFiles/dynamorio.dir/unix/signal_linux_x86.c.o
[ 50%] Building C object core/CMakeFiles/dynamorio.dir/unix/native_elf.c.o
[ 50%] Building C object core/CMakeFiles/dynamorio_static.dir/unix/rseq_linux.c.o
[ 50%] Building C object core/CMakeFiles/dynamorio_static.dir/unix/signal_linux.c.o
[ 50%] Building C object core/CMakeFiles/dynamorio_static.dir/unix/module_elf.c.o
[ 50%] Building C object core/CMakeFiles/dynamorio_static.dir/unix/nudgesig.c.o
[ 50%] Building C object core/CMakeFiles/dynamorio.dir/unix/signal_linux.c.o
[ 50%] Building C object core/CMakeFiles/dynamorio.dir/unix/nudgesig.c.o
[ 50%] Building C object core/CMakeFiles/dynamorio.dir/unix/rseq_linux.c.o
/home/sal/repos/other/DrCCTProf/dynamorio/core/unix/rseq_linux.c: In function ‘rseq_clear_tls_ptr’:
/home/sal/repos/other/DrCCTProf/dynamorio/core/unix/rseq_linux.c:221:64: error: request for member ‘ptr64’ in something not a structure or union
221 | if (is_dynamo_address((byte *)(ptr_uint_t)app_rseq->rseq_cs.ptr64))
| ^
/home/sal/repos/other/DrCCTProf/dynamorio/core/unix/rseq_linux.c:222:26: error: request for member ‘ptr64’ in something not a structure or union
222 | app_rseq->rseq_cs.ptr64 = 0;
| ^
[ 50%] Built target drfrontendlib
make[2]: *** [core/CMakeFiles/dynamorio_static.dir/build.make:1214: core/CMakeFiles/dynamorio_static.dir/unix/rseq_linux.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 50%] Built target drmemtrace_histogram
[ 50%] Building C object libutil/CMakeFiles/drconfiglib.dir/dr_config.c.o
[ 50%] Building C object libutil/CMakeFiles/drconfiglib.dir/utils.c.o
[ 50%] Building CXX object clients/drcachesim/CMakeFiles/directory_iterator.dir/common/directory_iterator.cpp.o
[ 50%] Building C object libutil/CMakeFiles/drconfiglib.dir/__/core/io.c.o
[ 51%] Building C object libutil/CMakeFiles/drconfiglib.dir/__/core/unix/nudgesig.c.o
/home/sal/repos/other/DrCCTProf/dynamorio/core/unix/rseq_linux.c: In function ‘rseq_clear_tls_ptr’:
/home/sal/repos/other/DrCCTProf/dynamorio/core/unix/rseq_linux.c:221:64: error: request for member ‘ptr64’ in something not a structure or union
221 | if (is_dynamo_address((byte *)(ptr_uint_t)app_rseq->rseq_cs.ptr64))
| ^
/home/sal/repos/other/DrCCTProf/dynamorio/core/unix/rseq_linux.c:222:26: error: request for member ‘ptr64’ in something not a structure or union
222 | app_rseq->rseq_cs.ptr64 = 0;
| ^
make[2]: *** [core/CMakeFiles/dynamorio.dir/build.make:1214: core/CMakeFiles/dynamorio.dir/unix/rseq_linux.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 51%] Linking CXX static library ../lib64/release/libdrmemtrace_basic_counts.a
[ 51%] Built target drmemtrace_basic_counts
[ 51%] Linking CXX static library ../lib64/release/libdirectory_iterator.a
[ 51%] Linking CXX static library ../lib64/release/libdrmemtrace_reuse_distance.a
[ 51%] Built target directory_iterator
[ 51%] Built target drmemtrace_reuse_distance
[ 51%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_analyzer.dir/analyzer.cpp.o
[ 52%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_analyzer.dir/common/trace_entry.cpp.o
[ 52%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_analyzer.dir/reader/reader.cpp.o
[ 52%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_analyzer.dir/reader/compressed_file_reader.cpp.o
[ 52%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_analyzer.dir/reader/config_reader.cpp.o
[ 52%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_analyzer.dir/reader/file_reader.cpp.o
[ 52%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_analyzer.dir/reader/crc32c.cpp.o
[ 53%] Building CXX object clients/drcachesim/CMakeFiles/drmemtrace_analyzer.dir/reader/snappy_file_reader.cpp.o
[ 53%] Linking CXX executable ../bin64/drcpusim_ops
[ 53%] Linking C shared library ../lib64/release/libdrpreload.so
[ 53%] Built target drcpusim_ops
[ 53%] Linking CXX static library ../lib64/release/libdrmemtrace_reuse_time.a
[ 53%] Linking CXX static library ../lib64/release/libdrmemtrace_func_view.a
[ 53%] Built target drpreload
[ 53%] Built target drmemtrace_reuse_time
[ 53%] Built target drmemtrace_func_view
[ 53%] Linking C static library ../lib64/libdrconfiglib.a
[ 53%] Built target drconfiglib
[ 53%] Building C object tools/CMakeFiles/drconfig.dir/drdeploy.c.o
[ 53%] Linking C static library ../lib64/libdrdecode.a
[ 53%] Built target drdecode
/home/sal/repos/other/DrCCTProf/dynamorio/core/unix/os.c: In function ‘pre_system_call’:
/home/sal/repos/other/DrCCTProf/dynamorio/core/unix/os.c:7717:19: error: ‘cur_range_first_fd’ may be used uninitialized [-Werror=maybe-uninitialized]
7717 | ret = dynamorio_syscall(SYS_close_range, 3, cur_range_first_fd,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7718 | cur_range_last_fd, flags);
| ~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sal/repos/other/DrCCTProf/dynamorio/core/unix/os.c:7685:14: note: ‘cur_range_first_fd’ was declared here
7685 | uint cur_range_first_fd, cur_range_last_fd;
| ^~~~~~~~~~~~~~~~~~
[ 53%] Building CXX object clients/drdisas/CMakeFiles/drdisas.dir/drdisas.cpp.o
[ 53%] Building C object core/CMakeFiles/drinjectlib.dir/unix/injector.c.o
[ 53%] Building C object core/CMakeFiles/drinjectlib.dir/config.c.o
[ 53%] Building C object core/CMakeFiles/drinjectlib.dir/string.c.o
[ 53%] Building C object core/CMakeFiles/drinjectlib.dir/io.c.o
/home/sal/repos/other/DrCCTProf/dynamorio/core/unix/os.c: In function ‘pre_system_call’:
/home/sal/repos/other/DrCCTProf/dynamorio/core/unix/os.c:7717:19: error: ‘cur_range_first_fd’ may be used uninitialized [-Werror=maybe-uninitialized]
7717 | ret = dynamorio_syscall(SYS_close_range, 3, cur_range_first_fd,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7718 | cur_range_last_fd, flags);
| ~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sal/repos/other/DrCCTProf/dynamorio/core/unix/os.c:7685:14: note: ‘cur_range_first_fd’ was declared here
7685 | uint cur_range_first_fd, cur_range_last_fd;
| ^~~~~~~~~~~~~~~~~~
[ 53%] Linking C executable ../bin64/drconfig
[ 53%] Built target drconfig
cc1: all warnings being treated as errors
make[2]: *** [core/CMakeFiles/dynamorio.dir/build.make:962: core/CMakeFiles/dynamorio.dir/unix/os.c.o] Error 1
cc1: all warnings being treated as errors
make[2]: *** [core/CMakeFiles/dynamorio_static.dir/build.make:962: core/CMakeFiles/dynamorio_static.dir/unix/os.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1357: core/CMakeFiles/dynamorio.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:1385: core/CMakeFiles/dynamorio_static.dir/all] Error 2
[ 54%] Linking C static library ../lib64/libdrinjectlib.a
[ 54%] Linking CXX executable ../bin64/drgui
[ 54%] Built target drinjectlib
[ 54%] Linking CXX static library ../lib64/release/libdrmemtrace_simulator.a
[ 54%] Built target drmemtrace_simulator
[ 54%] Built target drgui
[ 54%] Linking CXX executable ../bin64/drdisas
[ 54%] Linking CXX static library ../lib64/release/libdrmemtrace_analyzer.a
[ 54%] Built target drmemtrace_analyzer
[ 54%] Built target drdisas
[ 54%] Linking CXX executable ../bin64/drcachesim_ops
[ 54%] Built target drcachesim_ops
make: *** [Makefile:156: all] Error 2
Information on your system:
CPU Info: [eg. arch@x86_64 model_name@AMD Ryzen 5 5500U with Radeon Graphics]
Describe the error
DrCCTProf fails to build on recent linux kernels due to the following commit torvalds/linux@bfdf4e6. The failure is due to DrCCTProf depending on a Dynamorio version that is incompatible with change in the kernel. The Dynamorio project appears to have fixed this in DynamoRIO/dynamorio#5469.
Screenshots or Pasted Text
logs/cmake.log.1658508162
logs/make.log.1658508162
Information on your system:
Additional context
The text was updated successfully, but these errors were encountered: