DEBUG: Executing python function autotools_aclocals DEBUG: SITE files ['endian-little', 'common-linux', 'common-musl', 'x86_64-linux', 'bit-64', 'x86_64-linux-musl', 'common'] DEBUG: Python function autotools_aclocals finished DEBUG: Executing shell function do_compile NOTE: make -j 11 GEN utils/mermaid.js.cstr GEN utils/mermaid.html.cstr CC cmds/live.o CC cmds/graph.o CC cmds/record.o CC cmds/recv.o CC cmds/replay.o CC utils/argspec.o CC cmds/report.o CC utils/auto-args.o CC utils/data-file.o CC utils/debug.o GEN version.h CC utils/demangle.o CC utils/dwarf.o CC utils/event.o CC utils/extern.o CC utils/field.o CC utils/filter.o CC utils/fstack.o CC utils/graph.o CC utils/hashmap.o CC utils/kernel.o CC utils/pager.o CC utils/perf.o CC utils/rbtree.o CC utils/regs.o CC utils/report.o CC utils/script.o CC utils/script-luajit.o CC utils/script-python.o CC utils/session.o CC utils/socket.o CC utils/symbol.o CC utils/symbol-libelf.o CC utils/symbol-rawelf.o CC utils/tracefs.o CC utils/utils.o CC arch/x86_64/cpuinfo.o FLAGS: * new build flags or cross compiler CC arch/x86_64/symbol.o CC FPIC libmcount/dynamic.op CC FPIC libmcount/event.op In file included from TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/git/libmcount/dynamic.c:24: TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/git/libmcount/dynamic.h:13:9: warning: 'PAGE_SIZE' macro redefined [-Wmacro-redefined] #define PAGE_SIZE 4096 ^ TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/recipe-sysroot/usr/include/limits.h:97:9: note: previous definition is here #define PAGE_SIZE PAGESIZE ^ LINK arch/x86_64/uftrace.o CC FPIC libmcount/mcount.op CC FPIC libmcount/misc.op In file included from TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/git/libmcount/mcount.c:24: TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/git/libmcount/dynamic.h:13:9: warning: 'PAGE_SIZE' macro redefined [-Wmacro-redefined] #define PAGE_SIZE 4096 ^ TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/recipe-sysroot/usr/include/limits.h:97:9: note: previous definition is here #define PAGE_SIZE PAGESIZE ^ CC FPIC libtraceevent/event-parse.o CC FPIC libmcount/plthook.op CC FPIC libmcount/pmu.op CC FPIC libmcount/record.op TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/git/libtraceevent/event-parse.c:127:13: warning: variable 'x' set but not used [-Wunused-but-set-variable] static int x; ^ CC FPIC libtraceevent/event-plugin.o CC FPIC libtraceevent/trace-seq.o CC FPIC libtraceevent/parse-filter.o 1 warning generated. CC FPIC libtraceevent/parse-utils.o CC FPIC libmcount/wrap.op CC FPIC libmcount/debug.op CC FPIC libtraceevent/kbuffer-parse.o CC FPIC libmcount/regs.op CC FPIC libmcount/rbtree.op In file included from TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/git/libmcount/wrap.c:13: TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/git/libmcount/dynamic.h:13:9: warning: 'PAGE_SIZE' macro redefined [-Wmacro-redefined] #define PAGE_SIZE 4096 ^ TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/recipe-sysroot/usr/include/limits.h:97:9: note: previous definition is here #define PAGE_SIZE PAGESIZE ^ CC FPIC libmcount/filter.op PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: x86_64-yoe-linux-musl-clang -target x86_64-yoe-linux-musl -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/recipe-sysroot -D_GNU_SOURCE -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/git=/usr/src/debug/uftrace/0.13.1-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/git=/usr/src/debug/uftrace/0.13.1-r0 -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/build=/usr/src/debug/uftrace/0.13.1-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/build=/usr/src/debug/uftrace/0.13.1-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/recipe-sysroot-native= -iquote TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/git -iquote TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/build -iquote TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/git/arch/x86_64 -Wdeclaration-after-statement -I/use/libelf/from/sysroot/include -W -Wall -Wno-unused-parameter -Wno-missing-field-initializers -O2 -g -DDEBUG_MODE=0 -DHAVE_CXA_DEMANGLE -DHAVE_PERF_CLOCKID -DHAVE_PERF_CTXSW -DHAVE_LIBELF -DHAVE_LIBDW -fPIC -fvisibility=hidden -fno-omit-frame-pointer -mno-sse2 -minline-all-stringops -c -o TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/build/libmcount/debug.op TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/git/utils/debug.c 1. <eof> parser at end of file 2. Code generation Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): CC FPIC libmcount/demangle.op 0 libLLVM-16.so 0x00007fdf87e6ac24 llvm::sys::RunSignalHandlers() + 52 1 libLLVM-16.so 0x00007fdf87d8d458 2 libc.so.6 0x00007fdf86bd4ab0 3 libc.so.6 0x00007fdf86c32c5e __libc_free + 30 4 libLLVM-16.so 0x00007fdf896ee902 5 libLLVM-16.so 0x00007fdf897045ab llvm::MCAssembler::handleFixup(llvm::MCAsmLayout const&, llvm::MCFragment&, llvm::MCFixup const&) + 171 6 libLLVM-16.so 0x00007fdf89705b90 llvm::MCAssembler::layout(llvm::MCAsmLayout&) + 640 7 libLLVM-16.so 0x00007fdf89705d28 llvm::MCAssembler::Finish() + 56 8 libLLVM-16.so 0x00007fdf88811f11 llvm::AsmPrinter::doFinalization(llvm::Module&) + 3025 9 libLLVM-16.so 0x00007fdf87facb6c llvm::FPPassManager::doFinalization(llvm::Module&) + 92 10 libLLVM-16.so 0x00007fdf87fb7f78 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 1240 11 libclang-cpp.so.16 0x00007fdf8fd9db51 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>) + 5793 12 libclang-cpp.so.16 0x00007fdf9017ab0a 13 libclang-cpp.so.16 0x00007fdf8eceae15 clang::ParseAST(clang::Sema&, bool, bool) + 1333 14 libclang-cpp.so.16 0x00007fdf909ada59 clang::FrontendAction::Execute() + 185 15 libclang-cpp.so.16 0x00007fdf909441fa clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 298 16 libclang-cpp.so.16 0x00007fdf90a27327 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 999 17 x86_64-yoe-linux-musl-clang 0x000055b2b553ec78 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 3256 18 x86_64-yoe-linux-musl-clang 0x000055b2b553a9b6 19 libclang-cpp.so.16 0x00007fdf905fa095 20 libLLVM-16.so 0x00007fdf87d8d543 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) + 35 21 libclang-cpp.so.16 0x00007fdf905fc523 clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const + 323 22 libclang-cpp.so.16 0x00007fdf905c4e55 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const + 165 23 libclang-cpp.so.16 0x00007fdf905c55ed clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const + 125 24 libclang-cpp.so.16 0x00007fdf905d73bc clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) + 332 25 x86_64-yoe-linux-musl-clang 0x000055b2b553c113 clang_main(int, char**) + 5171 26 libc.so.6 0x00007fdf86bbe850 27 libc.so.6 0x00007fdf86bbe90a __libc_start_main + 138 28 x86_64-yoe-linux-musl-clang 0x000055b2b5535315 _start + 37 clang-16: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 16.0.3 (https://github.com/llvm/llvm-project bd6783b380768bd35f37e0034dccf6c5736dd031) Target: x86_64-yoe-linux-musl Thread model: posix InstalledDir: TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/recipe-sysroot-native/usr/bin/x86_64-yoe-linux-musl CC FPIC libmcount/utils.op CC FPIC libmcount/script.op CC FPIC libmcount/script-python.op clang-16: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-16: note: diagnostic msg: /tmp/debug-08b8c2.c clang-16: note: diagnostic msg: /tmp/debug-08b8c2.sh clang-16: note: diagnostic msg: ******************** make[1]: *** [Makefile:251: TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/build/libmcount/debug.op] Error 1 make[1]: *** Waiting for unfinished jobs.... 1 warning generated. 1 warning generated. 1 warning generated. LINK libtraceevent/libtraceevent.a make: *** [Makefile:11: all] Error 2 ERROR: oe_runmake failed WARNING: TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/temp/run.do_compile.2518853:182 exit 1 from 'exit 1' WARNING: Backtrace (BB generated script): #1: bbfatal_log, TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/temp/run.do_compile.2518853, line 182 #2: die, TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/temp/run.do_compile.2518853, line 166 #3: oe_runmake, TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/temp/run.do_compile.2518853, line 161 #4: autotools_do_compile, TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/temp/run.do_compile.2518853, line 156 #5: do_compile, TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/temp/run.do_compile.2518853, line 151 #6: main, TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/uftrace/0.13.1-r0/temp/run.do_compile.2518853, line 195