DEBUG: Executing shell function do_compile NOTE: cmake --build TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/build --target all -- [1/64] Building CXX object CMakeFiles/dwelf.dir/dwarf_pubnames.cc.o In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/dwarf.h:6, from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarf_pubnames.cc:1: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'pstack::Elf::Addr pstack::Elf::getReg(const CoreRegisters&, int)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:360:41: warning: unused parameter 'regs' [-Wunused-parameter] 360 | inline Addr getReg(const CoreRegisters ®s, int reg) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'void pstack::Elf::setReg(CoreRegisters&, int, Addr)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:35: warning: unused parameter 'regs' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:55: warning: unused parameter 'val' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~^~~ [2/64] Building CXX object CMakeFiles/dwelf.dir/dwarf_reader.cc.o In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/dwarf.h:6, from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarf_reader.cc:1: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'pstack::Elf::Addr pstack::Elf::getReg(const CoreRegisters&, int)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:360:41: warning: unused parameter 'regs' [-Wunused-parameter] 360 | inline Addr getReg(const CoreRegisters ®s, int reg) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'void pstack::Elf::setReg(CoreRegisters&, int, Addr)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:35: warning: unused parameter 'regs' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:55: warning: unused parameter 'val' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~^~~ [3/64] Building CXX object CMakeFiles/dwelf.dir/dwarf_macros.cc.o In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/dwarf.h:6, from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarf_macros.cc:1: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'pstack::Elf::Addr pstack::Elf::getReg(const CoreRegisters&, int)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:360:41: warning: unused parameter 'regs' [-Wunused-parameter] 360 | inline Addr getReg(const CoreRegisters ®s, int reg) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'void pstack::Elf::setReg(CoreRegisters&, int, Addr)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:35: warning: unused parameter 'regs' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:55: warning: unused parameter 'val' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~^~~ [4/64] Building CXX object CMakeFiles/dwelf.dir/dwarf_lines.cc.o In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/dwarf.h:6, from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarf_lines.cc:1: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'pstack::Elf::Addr pstack::Elf::getReg(const CoreRegisters&, int)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:360:41: warning: unused parameter 'regs' [-Wunused-parameter] 360 | inline Addr getReg(const CoreRegisters ®s, int reg) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'void pstack::Elf::setReg(CoreRegisters&, int, Addr)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:35: warning: unused parameter 'regs' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:55: warning: unused parameter 'val' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~^~~ [5/64] Building CXX object CMakeFiles/dwelf.dir/flags.cc.o [6/64] Building CXX object CMakeFiles/dwelf.dir/dwarf_unit.cc.o In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarf_unit.cc:1: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'pstack::Elf::Addr pstack::Elf::getReg(const CoreRegisters&, int)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:360:41: warning: unused parameter 'regs' [-Wunused-parameter] 360 | inline Addr getReg(const CoreRegisters ®s, int reg) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'void pstack::Elf::setReg(CoreRegisters&, int, Addr)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:35: warning: unused parameter 'regs' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:55: warning: unused parameter 'val' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~^~~ [7/64] Building CXX object CMakeFiles/dwelf.dir/dwarf_info.cc.o In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/dwarf.h:6, from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarf_info.cc:1: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'pstack::Elf::Addr pstack::Elf::getReg(const CoreRegisters&, int)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:360:41: warning: unused parameter 'regs' [-Wunused-parameter] 360 | inline Addr getReg(const CoreRegisters ®s, int reg) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'void pstack::Elf::setReg(CoreRegisters&, int, Addr)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:35: warning: unused parameter 'regs' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:55: warning: unused parameter 'val' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~^~~ [8/64] Building CXX object CMakeFiles/dwelf.dir/inflate.cc.o [9/64] Building CXX object CMakeFiles/dwelf.dir/dwarf_die.cc.o In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/dwarf.h:6, from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarf_die.cc:1: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'pstack::Elf::Addr pstack::Elf::getReg(const CoreRegisters&, int)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:360:41: warning: unused parameter 'regs' [-Wunused-parameter] 360 | inline Addr getReg(const CoreRegisters ®s, int reg) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'void pstack::Elf::setReg(CoreRegisters&, int, Addr)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:35: warning: unused parameter 'regs' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:55: warning: unused parameter 'val' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~^~~ [10/64] Building CXX object CMakeFiles/dwelf.dir/dwarf_frame.cc.o In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/dwarf.h:6, from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarf_frame.cc:1: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'pstack::Elf::Addr pstack::Elf::getReg(const CoreRegisters&, int)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:360:41: warning: unused parameter 'regs' [-Wunused-parameter] 360 | inline Addr getReg(const CoreRegisters ®s, int reg) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'void pstack::Elf::setReg(CoreRegisters&, int, Addr)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:35: warning: unused parameter 'regs' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:55: warning: unused parameter 'val' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~^~~ [11/64] Building CXX object CMakeFiles/dwelf.dir/context.cc.o In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/dwarf.h:6, from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/context.cc:4: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'pstack::Elf::Addr pstack::Elf::getReg(const CoreRegisters&, int)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:360:41: warning: unused parameter 'regs' [-Wunused-parameter] 360 | inline Addr getReg(const CoreRegisters ®s, int reg) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'void pstack::Elf::setReg(CoreRegisters&, int, Addr)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:35: warning: unused parameter 'regs' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:55: warning: unused parameter 'val' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~^~~ [12/64] Building CXX object CMakeFiles/dwelf.dir/lzma.cc.o [13/64] Building CXX object CMakeFiles/dwelf.dir/reader.cc.o [14/64] Building C object tests/CMakeFiles/testhelper.dir/abort.c.o <command-line>: warning: '_FORTIFY_SOURCE' redefined <command-line>: note: this is the location of the previous definition [15/64] Linking C static library tests/libtesthelper.a [16/64] Building C object tests/CMakeFiles/basic.dir/basic.c.o <command-line>: warning: '_FORTIFY_SOURCE' redefined <command-line>: note: this is the location of the previous definition [17/64] Building CXX object CMakeFiles/procman.dir/dead.cc.o FAILED: [code=1] CMakeFiles/procman.dir/dead.cc.o TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot-native/usr/bin/riscv64-yoe-linux/riscv64-yoe-linux-g++ --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot -DDEBUGINFOD -DVERSION="" -DWITH_LZMA -DWITH_ZLIB -Dprocman_EXPORTS -ITMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11 -march=rv64imafdc_zicsr_zifencei -mabi=lp64d -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11=/usr/src/debug/pstack/2.11 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/build=/usr/src/debug/pstack/2.11 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -std=gnu++20 -fPIC -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-omit-frame-pointer -g3 -MD -MT CMakeFiles/procman.dir/dead.cc.o -MF CMakeFiles/procman.dir/dead.cc.o.d -o CMakeFiles/procman.dir/dead.cc.o -c TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dead.cc In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/dwarf.h:6, from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dead.cc:1: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'pstack::Elf::Addr pstack::Elf::getReg(const CoreRegisters&, int)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:360:41: warning: unused parameter 'regs' [-Wunused-parameter] 360 | inline Addr getReg(const CoreRegisters ®s, int reg) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'void pstack::Elf::setReg(CoreRegisters&, int, Addr)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:35: warning: unused parameter 'regs' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:55: warning: unused parameter 'val' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~^~~ In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dead.cc:3: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/proc.h: At global scope: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/proc.h:137:24: error: field 'regs' has incomplete type 'pstack::Elf::CoreRegisters' {aka 'pstack::Elf::user_regs_struct'} 137 | Elf::CoreRegisters regs; | ^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:357:16: note: forward declaration of 'pstack::Elf::CoreRegisters' {aka 'struct pstack::Elf::user_regs_struct'} 357 | typedef struct user_regs_struct CoreRegisters; | ^~~~~~~~~~~~~~~~ [18/64] Building CXX object CMakeFiles/procman.dir/self.cc.o FAILED: [code=1] CMakeFiles/procman.dir/self.cc.o TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot-native/usr/bin/riscv64-yoe-linux/riscv64-yoe-linux-g++ --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot -DDEBUGINFOD -DVERSION="" -DWITH_LZMA -DWITH_ZLIB -Dprocman_EXPORTS -ITMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11 -march=rv64imafdc_zicsr_zifencei -mabi=lp64d -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11=/usr/src/debug/pstack/2.11 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/build=/usr/src/debug/pstack/2.11 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -std=gnu++20 -fPIC -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-omit-frame-pointer -g3 -MD -MT CMakeFiles/procman.dir/self.cc.o -MF CMakeFiles/procman.dir/self.cc.o.d -o CMakeFiles/procman.dir/self.cc.o -c TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/self.cc In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/dwarf.h:6, from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/proc.h:22, from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/self.cc:1: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'pstack::Elf::Addr pstack::Elf::getReg(const CoreRegisters&, int)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:360:41: warning: unused parameter 'regs' [-Wunused-parameter] 360 | inline Addr getReg(const CoreRegisters ®s, int reg) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'void pstack::Elf::setReg(CoreRegisters&, int, Addr)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:35: warning: unused parameter 'regs' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:55: warning: unused parameter 'val' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~^~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/proc.h: At global scope: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/proc.h:137:24: error: field 'regs' has incomplete type 'pstack::Elf::CoreRegisters' {aka 'pstack::Elf::user_regs_struct'} 137 | Elf::CoreRegisters regs; | ^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:357:16: note: forward declaration of 'pstack::Elf::CoreRegisters' {aka 'struct pstack::Elf::user_regs_struct'} 357 | typedef struct user_regs_struct CoreRegisters; | ^~~~~~~~~~~~~~~~ In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/cassert:46, from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/self.cc:11: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/self.cc: In member function 'virtual size_t pstack::Procman::SelfProcess::getRegs(lwpid_t, int, size_t, void*)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/self.cc:49:34: error: 'user_regs_struct' was not declared in this scope; did you mean 'pstack::Elf::user_regs_struct'? 49 | assert(size == sizeof (user_regs_struct)); | ^~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:357:16: note: 'pstack::Elf::user_regs_struct' declared here 357 | typedef struct user_regs_struct CoreRegisters; | ^~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/self.cc:50:42: error: 'user_regs_struct' does not name a type 50 | gregset2core(*reinterpret_cast<user_regs_struct *>(regs), context.uc_mcontext.gregs); | ^~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/self.cc:50:59: error: expected '>' before '*' token 50 | gregset2core(*reinterpret_cast<user_regs_struct *>(regs), context.uc_mcontext.gregs); | ^ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/self.cc:50:89: error: 'mcontext_t' {aka 'struct mcontext_t'} has no member named 'gregs'; did you mean '__gregs'? 50 | gregset2core(*reinterpret_cast<user_regs_struct *>(regs), context.uc_mcontext.gregs); | ^~~~~ | __gregs TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/self.cc:55:44: error: 'mcontext_t' {aka 'struct mcontext_t'} has no member named 'fpregs'; did you mean '__fpregs'? 55 | memcpy(regs, context.uc_mcontext.fpregs, size); | ^~~~~~ | __fpregs [19/64] Building CXX object CMakeFiles/procman.dir/procdump.cc.o [20/64] Building CXX object CMakeFiles/procman.dir/live.cc.o FAILED: [code=1] CMakeFiles/procman.dir/live.cc.o TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot-native/usr/bin/riscv64-yoe-linux/riscv64-yoe-linux-g++ --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot -DDEBUGINFOD -DVERSION="" -DWITH_LZMA -DWITH_ZLIB -Dprocman_EXPORTS -ITMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11 -march=rv64imafdc_zicsr_zifencei -mabi=lp64d -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11=/usr/src/debug/pstack/2.11 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/build=/usr/src/debug/pstack/2.11 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -std=gnu++20 -fPIC -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-omit-frame-pointer -g3 -MD -MT CMakeFiles/procman.dir/live.cc.o -MF CMakeFiles/procman.dir/live.cc.o.d -o CMakeFiles/procman.dir/live.cc.o -c TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/live.cc In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/dwarf.h:6, from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/proc.h:22, from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/live.cc:1: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'pstack::Elf::Addr pstack::Elf::getReg(const CoreRegisters&, int)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:360:41: warning: unused parameter 'regs' [-Wunused-parameter] 360 | inline Addr getReg(const CoreRegisters ®s, int reg) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'void pstack::Elf::setReg(CoreRegisters&, int, Addr)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:35: warning: unused parameter 'regs' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:55: warning: unused parameter 'val' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~^~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/proc.h: At global scope: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/proc.h:137:24: error: field 'regs' has incomplete type 'pstack::Elf::CoreRegisters' {aka 'pstack::Elf::user_regs_struct'} 137 | Elf::CoreRegisters regs; | ^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:357:16: note: forward declaration of 'pstack::Elf::CoreRegisters' {aka 'struct pstack::Elf::user_regs_struct'} 357 | typedef struct user_regs_struct CoreRegisters; | ^~~~~~~~~~~~~~~~ [21/64] Building CXX object CMakeFiles/procman.dir/proc_service.cc.o FAILED: [code=1] CMakeFiles/procman.dir/proc_service.cc.o TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot-native/usr/bin/riscv64-yoe-linux/riscv64-yoe-linux-g++ --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot -DDEBUGINFOD -DVERSION="" -DWITH_LZMA -DWITH_ZLIB -Dprocman_EXPORTS -ITMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11 -march=rv64imafdc_zicsr_zifencei -mabi=lp64d -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11=/usr/src/debug/pstack/2.11 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/build=/usr/src/debug/pstack/2.11 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -std=gnu++20 -fPIC -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-omit-frame-pointer -g3 -MD -MT CMakeFiles/procman.dir/proc_service.cc.o -MF CMakeFiles/procman.dir/proc_service.cc.o.d -o CMakeFiles/procman.dir/proc_service.cc.o -c TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/proc_service.cc In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/dwarf.h:6, from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/proc.h:22, from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/proc_service.cc:1: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'pstack::Elf::Addr pstack::Elf::getReg(const CoreRegisters&, int)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:360:41: warning: unused parameter 'regs' [-Wunused-parameter] 360 | inline Addr getReg(const CoreRegisters ®s, int reg) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'void pstack::Elf::setReg(CoreRegisters&, int, Addr)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:35: warning: unused parameter 'regs' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:55: warning: unused parameter 'val' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~^~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/proc.h: At global scope: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/proc.h:137:24: error: field 'regs' has incomplete type 'pstack::Elf::CoreRegisters' {aka 'pstack::Elf::user_regs_struct'} 137 | Elf::CoreRegisters regs; | ^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:357:16: note: forward declaration of 'pstack::Elf::CoreRegisters' {aka 'struct pstack::Elf::user_regs_struct'} 357 | typedef struct user_regs_struct CoreRegisters; | ^~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/proc_service.cc: In function 'ps_err_e ps_lgetregs(ps_prochandle*, lwpid_t, long unsigned int*)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/proc_service.cc:173:65: error: 'user_regs_struct' was not declared in this scope; did you mean 'pstack::Elf::user_regs_struct'? 173 | return p->getRegset<Elf::CoreRegisters, NT_PRSTATUS>(pid, *(user_regs_struct *)gregset) ? PS_OK : PS_ERR; | ^~~~~~~~~~~~~~~~ | pstack::Elf::user_regs_struct TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:357:16: note: 'pstack::Elf::user_regs_struct' declared here 357 | typedef struct user_regs_struct CoreRegisters; | ^~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/proc_service.cc:173:83: error: expected primary-expression before ')' token 173 | return p->getRegset<Elf::CoreRegisters, NT_PRSTATUS>(pid, *(user_regs_struct *)gregset) ? PS_OK : PS_ERR; | ^ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/proc_service.cc:170:73: warning: unused parameter 'gregset' [-Wunused-parameter] 170 | ps_err_e ps_lgetregs(struct ps_prochandle *ph, lwpid_t pid, prgregset_t gregset) | ~~~~~~~~~~~~^~~~~~~ [22/64] Building CXX object CMakeFiles/procman.dir/dwarfproc.cc.o FAILED: [code=1] CMakeFiles/procman.dir/dwarfproc.cc.o TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot-native/usr/bin/riscv64-yoe-linux/riscv64-yoe-linux-g++ --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot -DDEBUGINFOD -DVERSION="" -DWITH_LZMA -DWITH_ZLIB -Dprocman_EXPORTS -ITMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11 -march=rv64imafdc_zicsr_zifencei -mabi=lp64d -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11=/usr/src/debug/pstack/2.11 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/build=/usr/src/debug/pstack/2.11 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -std=gnu++20 -fPIC -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-omit-frame-pointer -g3 -MD -MT CMakeFiles/procman.dir/dwarfproc.cc.o -MF CMakeFiles/procman.dir/dwarfproc.cc.o.d -o CMakeFiles/procman.dir/dwarfproc.cc.o -c TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarfproc.cc In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/dwarf.h:6, from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarfproc.cc:1: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'pstack::Elf::Addr pstack::Elf::getReg(const CoreRegisters&, int)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:360:41: warning: unused parameter 'regs' [-Wunused-parameter] 360 | inline Addr getReg(const CoreRegisters ®s, int reg) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'void pstack::Elf::setReg(CoreRegisters&, int, Addr)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:35: warning: unused parameter 'regs' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:55: warning: unused parameter 'val' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~^~~ In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarfproc.cc:3: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/proc.h: At global scope: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/proc.h:137:24: error: field 'regs' has incomplete type 'pstack::Elf::CoreRegisters' {aka 'pstack::Elf::user_regs_struct'} 137 | Elf::CoreRegisters regs; | ^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:357:16: note: forward declaration of 'pstack::Elf::CoreRegisters' {aka 'struct pstack::Elf::user_regs_struct'} 357 | typedef struct user_regs_struct CoreRegisters; | ^~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarfproc.cc: In member function 'void pstack::Procman::StackFrame::setCoreRegs(const pstack::Elf::CoreRegisters&)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarfproc.cc:11:51: warning: unused parameter 'sys' [-Wunused-parameter] 11 | StackFrame::setCoreRegs(const Elf::CoreRegisters &sys) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarfproc.cc: In member function 'void pstack::Procman::StackFrame::getCoreRegs(pstack::Elf::CoreRegisters&) const': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarfproc.cc:19:45: warning: unused parameter 'core' [-Wunused-parameter] 19 | StackFrame::getCoreRegs(Elf::CoreRegisters &core) const | ~~~~~~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarfproc.cc: In member function 'pstack::Elf::Addr pstack::Procman::StackFrame::rawIP() const': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarfproc.cc:29:30: error: 'IPREG' was not declared in this scope 29 | return Elf::getReg(regs, IPREG); | ^~~~~ In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/bits/stl_iterator_base_types.h:69, from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/iterator:63, from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/dwarf.h:5: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits: In instantiation of 'constexpr const bool std::is_trivially_copy_constructible_v<pstack::Elf::user_regs_struct>': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/optional:778:11: required from 'class std::optional<pstack::Elf::user_regs_struct>' 778 | class optional | ^~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarfproc.cc:502:64: required from here 502 | std::optional<Elf::CoreRegisters> StackFrame::unwind(Process &p) { | ^ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:3587:7: error: invalid use of incomplete type 'struct pstack::Elf::user_regs_struct' 3587 | = __is_trivially_constructible(_Tp, __add_lval_ref_t<const _Tp>); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:357:16: note: forward declaration of 'struct pstack::Elf::user_regs_struct' 357 | typedef struct user_regs_struct CoreRegisters; | ^~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits: In instantiation of 'constexpr const bool std::is_trivially_move_constructible_v<pstack::Elf::user_regs_struct>': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/optional:778:11: required from 'class std::optional<pstack::Elf::user_regs_struct>' 778 | class optional | ^~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarfproc.cc:502:64: required from here 502 | std::optional<Elf::CoreRegisters> StackFrame::unwind(Process &p) { | ^ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:3590:7: error: invalid use of incomplete type 'struct pstack::Elf::user_regs_struct' 3590 | = __is_trivially_constructible(_Tp, __add_rval_ref_t<_Tp>); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:357:16: note: forward declaration of 'struct pstack::Elf::user_regs_struct' 357 | typedef struct user_regs_struct CoreRegisters; | ^~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits: In instantiation of 'constexpr const bool std::is_copy_constructible_v<pstack::Elf::user_regs_struct>': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/optional:782:2: required from 'class std::optional<pstack::Elf::user_regs_struct>' 782 | is_copy_constructible_v<_Tp>, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarfproc.cc:502:64: required from here 502 | std::optional<Elf::CoreRegisters> StackFrame::unwind(Process &p) { | ^ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:3562:7: error: invalid use of incomplete type 'struct pstack::Elf::user_regs_struct' 3562 | = __is_constructible(_Tp, __add_lval_ref_t<const _Tp>); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:357:16: note: forward declaration of 'struct pstack::Elf::user_regs_struct' 357 | typedef struct user_regs_struct CoreRegisters; | ^~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits: In substitution of 'template<class _Tp, class ... _Args> using std::__is_constructible_impl = std::__bool_constant<__is_constructible(_Tp, _Args ...)> [with _Tp = pstack::Elf::user_regs_struct; _Args = {const pstack::Elf::user_regs_struct&}]': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:1192:12: required from 'struct std::is_copy_constructible<pstack::Elf::user_regs_struct>' 1192 | struct is_copy_constructible | ^~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:188:35: required by substitution of 'template<class ... _Bn> std::__detail::__first_t<std::integral_constant<bool, true>, typename std::enable_if<(bool)(_Bn::value), void>::type ...> std::__detail::__and_fn(int) [with _Bn = {std::is_copy_constructible<pstack::Elf::user_regs_struct>, std::is_copy_assignable<pstack::Elf::user_regs_struct>}]' 188 | __enable_if_t<bool(_Bn::value)>...>; | ^~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:204:42: required from 'struct std::__and_<std::is_copy_constructible<pstack::Elf::user_regs_struct>, std::is_copy_assignable<pstack::Elf::user_regs_struct> >' 204 | : decltype(__detail::__and_fn<_Bn...>(0)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:219:53: required from 'constexpr const bool std::__and_v<std::is_copy_constructible<pstack::Elf::user_regs_struct>, std::is_copy_assignable<pstack::Elf::user_regs_struct> >' 219 | inline constexpr bool __and_v = __and_<_Bn...>::value; | ^~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/optional:784:2: required from 'class std::optional<pstack::Elf::user_regs_struct>' 784 | __and_v<is_copy_constructible<_Tp>, is_copy_assignable<_Tp>>, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarfproc.cc:502:64: required from here 502 | std::optional<Elf::CoreRegisters> StackFrame::unwind(Process &p) { | ^ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:1151:25: error: invalid use of incomplete type 'struct pstack::Elf::user_regs_struct' 1151 | = __bool_constant<__is_constructible(_Tp, _Args...)>; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:357:16: note: forward declaration of 'struct pstack::Elf::user_regs_struct' 357 | typedef struct user_regs_struct CoreRegisters; | ^~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits: In instantiation of 'struct std::is_copy_constructible<pstack::Elf::user_regs_struct>': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:188:35: required by substitution of 'template<class ... _Bn> std::__detail::__first_t<std::integral_constant<bool, true>, typename std::enable_if<(bool)(_Bn::value), void>::type ...> std::__detail::__and_fn(int) [with _Bn = {std::is_copy_constructible<pstack::Elf::user_regs_struct>, std::is_copy_assignable<pstack::Elf::user_regs_struct>}]' 188 | __enable_if_t<bool(_Bn::value)>...>; | ^~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:204:42: required from 'struct std::__and_<std::is_copy_constructible<pstack::Elf::user_regs_struct>, std::is_copy_assignable<pstack::Elf::user_regs_struct> >' 204 | : decltype(__detail::__and_fn<_Bn...>(0)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:219:53: required from 'constexpr const bool std::__and_v<std::is_copy_constructible<pstack::Elf::user_regs_struct>, std::is_copy_assignable<pstack::Elf::user_regs_struct> >' 219 | inline constexpr bool __and_v = __and_<_Bn...>::value; | ^~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/optional:784:2: required from 'class std::optional<pstack::Elf::user_regs_struct>' 784 | __and_v<is_copy_constructible<_Tp>, is_copy_assignable<_Tp>>, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarfproc.cc:502:64: required from here 502 | std::optional<Elf::CoreRegisters> StackFrame::unwind(Process &p) { | ^ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:1195:52: error: static assertion failed: template argument must be a complete class or an unbounded array 1195 | static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:1195:52: note: 'std::__is_complete_or_unbounded<__type_identity<pstack::Elf::user_regs_struct> >((std::__type_identity<pstack::Elf::user_regs_struct>(), std::__type_identity<pstack::Elf::user_regs_struct>()))' evaluates to false TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits: In instantiation of 'constexpr const bool std::is_move_constructible_v<pstack::Elf::user_regs_struct>': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/optional:786:2: required from 'class std::optional<pstack::Elf::user_regs_struct>' 786 | is_move_constructible_v<_Tp>, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarfproc.cc:502:64: required from here 502 | std::optional<Elf::CoreRegisters> StackFrame::unwind(Process &p) { | ^ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:3565:7: error: invalid use of incomplete type 'struct pstack::Elf::user_regs_struct' 3565 | = __is_constructible(_Tp, __add_rval_ref_t<_Tp>); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:357:16: note: forward declaration of 'struct pstack::Elf::user_regs_struct' 357 | typedef struct user_regs_struct CoreRegisters; | ^~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits: In substitution of 'template<class _Tp, class ... _Args> using std::__is_constructible_impl = std::__bool_constant<__is_constructible(_Tp, _Args ...)> [with _Tp = pstack::Elf::user_regs_struct; _Args = {pstack::Elf::user_regs_struct&&}]': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:1219:12: required from 'struct std::is_move_constructible<pstack::Elf::user_regs_struct>' 1219 | struct is_move_constructible | ^~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:188:35: required by substitution of 'template<class ... _Bn> std::__detail::__first_t<std::integral_constant<bool, true>, typename std::enable_if<(bool)(_Bn::value), void>::type ...> std::__detail::__and_fn(int) [with _Bn = {std::is_move_constructible<pstack::Elf::user_regs_struct>, std::is_move_assignable<pstack::Elf::user_regs_struct>}]' 188 | __enable_if_t<bool(_Bn::value)>...>; | ^~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:204:42: required from 'struct std::__and_<std::is_move_constructible<pstack::Elf::user_regs_struct>, std::is_move_assignable<pstack::Elf::user_regs_struct> >' 204 | : decltype(__detail::__and_fn<_Bn...>(0)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:219:53: required from 'constexpr const bool std::__and_v<std::is_move_constructible<pstack::Elf::user_regs_struct>, std::is_move_assignable<pstack::Elf::user_regs_struct> >' 219 | inline constexpr bool __and_v = __and_<_Bn...>::value; | ^~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/optional:788:2: required from 'class std::optional<pstack::Elf::user_regs_struct>' 788 | __and_v<is_move_constructible<_Tp>, is_move_assignable<_Tp>>, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarfproc.cc:502:64: required from here 502 | std::optional<Elf::CoreRegisters> StackFrame::unwind(Process &p) { | ^ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:1151:25: error: invalid use of incomplete type 'struct pstack::Elf::user_regs_struct' 1151 | = __bool_constant<__is_constructible(_Tp, _Args...)>; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:357:16: note: forward declaration of 'struct pstack::Elf::user_regs_struct' 357 | typedef struct user_regs_struct CoreRegisters; | ^~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits: In instantiation of 'struct std::is_move_constructible<pstack::Elf::user_regs_struct>': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:188:35: required by substitution of 'template<class ... _Bn> std::__detail::__first_t<std::integral_constant<bool, true>, typename std::enable_if<(bool)(_Bn::value), void>::type ...> std::__detail::__and_fn(int) [with _Bn = {std::is_move_constructible<pstack::Elf::user_regs_struct>, std::is_move_assignable<pstack::Elf::user_regs_struct>}]' 188 | __enable_if_t<bool(_Bn::value)>...>; | ^~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:204:42: required from 'struct std::__and_<std::is_move_constructible<pstack::Elf::user_regs_struct>, std::is_move_assignable<pstack::Elf::user_regs_struct> >' 204 | : decltype(__detail::__and_fn<_Bn...>(0)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:219:53: required from 'constexpr const bool std::__and_v<std::is_move_constructible<pstack::Elf::user_regs_struct>, std::is_move_assignable<pstack::Elf::user_regs_struct> >' 219 | inline constexpr bool __and_v = __and_<_Bn...>::value; | ^~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/optional:788:2: required from 'class std::optional<pstack::Elf::user_regs_struct>' 788 | __and_v<is_move_constructible<_Tp>, is_move_assignable<_Tp>>, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarfproc.cc:502:64: required from here 502 | std::optional<Elf::CoreRegisters> StackFrame::unwind(Process &p) { | ^ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:1222:52: error: static assertion failed: template argument must be a complete class or an unbounded array 1222 | static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:1222:52: note: 'std::__is_complete_or_unbounded<__type_identity<pstack::Elf::user_regs_struct> >((std::__type_identity<pstack::Elf::user_regs_struct>(), std::__type_identity<pstack::Elf::user_regs_struct>()))' evaluates to false TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarfproc.cc: In member function 'std::optional<pstack::Elf::user_regs_struct> pstack::Procman::StackFrame::unwind(pstack::Procman::Process&)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarfproc.cc:533:24: error: aggregate 'pstack::Elf::CoreRegisters out' has incomplete type and cannot be defined 533 | Elf::CoreRegisters out; | ^~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dwarfproc.cc:619:28: error: 'IPREG' was not declared in this scope 619 | if (cie && cie->rar != IPREG) | ^~~~~ [23/64] Building CXX object CMakeFiles/procman.dir/process.cc.o FAILED: [code=1] CMakeFiles/procman.dir/process.cc.o TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot-native/usr/bin/riscv64-yoe-linux/riscv64-yoe-linux-g++ --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot -DDEBUGINFOD -DVERSION="" -DWITH_LZMA -DWITH_ZLIB -Dprocman_EXPORTS -ITMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11 -march=rv64imafdc_zicsr_zifencei -mabi=lp64d -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11=/usr/src/debug/pstack/2.11 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/build=/usr/src/debug/pstack/2.11 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -std=gnu++20 -fPIC -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-omit-frame-pointer -g3 -MD -MT CMakeFiles/procman.dir/process.cc.o -MF CMakeFiles/procman.dir/process.cc.o.d -o CMakeFiles/procman.dir/process.cc.o -c TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/process.cc In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/dwarf.h:6, from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/process.cc:17: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'pstack::Elf::Addr pstack::Elf::getReg(const CoreRegisters&, int)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:360:41: warning: unused parameter 'regs' [-Wunused-parameter] 360 | inline Addr getReg(const CoreRegisters ®s, int reg) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'void pstack::Elf::setReg(CoreRegisters&, int, Addr)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:35: warning: unused parameter 'regs' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:55: warning: unused parameter 'val' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~^~~ In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/process.cc:18: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/proc.h: At global scope: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/proc.h:137:24: error: field 'regs' has incomplete type 'pstack::Elf::CoreRegisters' {aka 'pstack::Elf::user_regs_struct'} 137 | Elf::CoreRegisters regs; | ^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:357:16: note: forward declaration of 'pstack::Elf::CoreRegisters' {aka 'struct pstack::Elf::user_regs_struct'} 357 | typedef struct user_regs_struct CoreRegisters; | ^~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/process.cc: In function 'void pstack::Procman::gregset2core(pstack::Elf::CoreRegisters&, const long unsigned int*)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/process.cc:105:34: warning: unused parameter 'core' [-Wunused-parameter] 105 | gregset2core(Elf::CoreRegisters &core, const gregset_t greg) { | ~~~~~~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/process.cc:105:56: warning: unused parameter 'greg' [-Wunused-parameter] 105 | gregset2core(Elf::CoreRegisters &core, const gregset_t greg) { | ~~~~~~~~~~~~~~~~^~~~ In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/charconv:47, from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/process.cc:5: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits: In instantiation of 'constexpr const bool std::is_trivially_copy_constructible_v<pstack::Elf::user_regs_struct>': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/optional:778:11: required from 'class std::optional<pstack::Elf::user_regs_struct>' 778 | class optional | ^~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/process.cc:883:48: required from here 883 | auto maybeNewRegs = prev.unwind(p); | ~~~~~~~~~~~^~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:3587:7: error: invalid use of incomplete type 'struct pstack::Elf::user_regs_struct' 3587 | = __is_trivially_constructible(_Tp, __add_lval_ref_t<const _Tp>); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:357:16: note: forward declaration of 'struct pstack::Elf::user_regs_struct' 357 | typedef struct user_regs_struct CoreRegisters; | ^~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits: In instantiation of 'constexpr const bool std::is_trivially_move_constructible_v<pstack::Elf::user_regs_struct>': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/optional:778:11: required from 'class std::optional<pstack::Elf::user_regs_struct>' 778 | class optional | ^~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/process.cc:883:48: required from here 883 | auto maybeNewRegs = prev.unwind(p); | ~~~~~~~~~~~^~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:3590:7: error: invalid use of incomplete type 'struct pstack::Elf::user_regs_struct' 3590 | = __is_trivially_constructible(_Tp, __add_rval_ref_t<_Tp>); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:357:16: note: forward declaration of 'struct pstack::Elf::user_regs_struct' 357 | typedef struct user_regs_struct CoreRegisters; | ^~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits: In instantiation of 'constexpr const bool std::is_copy_constructible_v<pstack::Elf::user_regs_struct>': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/optional:782:2: required from 'class std::optional<pstack::Elf::user_regs_struct>' 782 | is_copy_constructible_v<_Tp>, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/process.cc:883:48: required from here 883 | auto maybeNewRegs = prev.unwind(p); | ~~~~~~~~~~~^~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:3562:7: error: invalid use of incomplete type 'struct pstack::Elf::user_regs_struct' 3562 | = __is_constructible(_Tp, __add_lval_ref_t<const _Tp>); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:357:16: note: forward declaration of 'struct pstack::Elf::user_regs_struct' 357 | typedef struct user_regs_struct CoreRegisters; | ^~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits: In substitution of 'template<class _Tp, class ... _Args> using std::__is_constructible_impl = std::__bool_constant<__is_constructible(_Tp, _Args ...)> [with _Tp = pstack::Elf::user_regs_struct; _Args = {const pstack::Elf::user_regs_struct&}]': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:1192:12: required from 'struct std::is_copy_constructible<pstack::Elf::user_regs_struct>' 1192 | struct is_copy_constructible | ^~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:188:35: required by substitution of 'template<class ... _Bn> std::__detail::__first_t<std::integral_constant<bool, true>, typename std::enable_if<(bool)(_Bn::value), void>::type ...> std::__detail::__and_fn(int) [with _Bn = {std::is_copy_constructible<pstack::Elf::user_regs_struct>, std::is_copy_assignable<pstack::Elf::user_regs_struct>}]' 188 | __enable_if_t<bool(_Bn::value)>...>; | ^~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:204:42: required from 'struct std::__and_<std::is_copy_constructible<pstack::Elf::user_regs_struct>, std::is_copy_assignable<pstack::Elf::user_regs_struct> >' 204 | : decltype(__detail::__and_fn<_Bn...>(0)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:219:53: required from 'constexpr const bool std::__and_v<std::is_copy_constructible<pstack::Elf::user_regs_struct>, std::is_copy_assignable<pstack::Elf::user_regs_struct> >' 219 | inline constexpr bool __and_v = __and_<_Bn...>::value; | ^~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/optional:784:2: required from 'class std::optional<pstack::Elf::user_regs_struct>' 784 | __and_v<is_copy_constructible<_Tp>, is_copy_assignable<_Tp>>, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/process.cc:883:48: required from here 883 | auto maybeNewRegs = prev.unwind(p); | ~~~~~~~~~~~^~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:1151:25: error: invalid use of incomplete type 'struct pstack::Elf::user_regs_struct' 1151 | = __bool_constant<__is_constructible(_Tp, _Args...)>; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:357:16: note: forward declaration of 'struct pstack::Elf::user_regs_struct' 357 | typedef struct user_regs_struct CoreRegisters; | ^~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits: In instantiation of 'struct std::is_copy_constructible<pstack::Elf::user_regs_struct>': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:188:35: required by substitution of 'template<class ... _Bn> std::__detail::__first_t<std::integral_constant<bool, true>, typename std::enable_if<(bool)(_Bn::value), void>::type ...> std::__detail::__and_fn(int) [with _Bn = {std::is_copy_constructible<pstack::Elf::user_regs_struct>, std::is_copy_assignable<pstack::Elf::user_regs_struct>}]' 188 | __enable_if_t<bool(_Bn::value)>...>; | ^~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:204:42: required from 'struct std::__and_<std::is_copy_constructible<pstack::Elf::user_regs_struct>, std::is_copy_assignable<pstack::Elf::user_regs_struct> >' 204 | : decltype(__detail::__and_fn<_Bn...>(0)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:219:53: required from 'constexpr const bool std::__and_v<std::is_copy_constructible<pstack::Elf::user_regs_struct>, std::is_copy_assignable<pstack::Elf::user_regs_struct> >' 219 | inline constexpr bool __and_v = __and_<_Bn...>::value; | ^~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/optional:784:2: required from 'class std::optional<pstack::Elf::user_regs_struct>' 784 | __and_v<is_copy_constructible<_Tp>, is_copy_assignable<_Tp>>, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/process.cc:883:48: required from here 883 | auto maybeNewRegs = prev.unwind(p); | ~~~~~~~~~~~^~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:1195:52: error: static assertion failed: template argument must be a complete class or an unbounded array 1195 | static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:1195:52: note: 'std::__is_complete_or_unbounded<__type_identity<pstack::Elf::user_regs_struct> >((std::__type_identity<pstack::Elf::user_regs_struct>(), std::__type_identity<pstack::Elf::user_regs_struct>()))' evaluates to false TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits: In instantiation of 'constexpr const bool std::is_move_constructible_v<pstack::Elf::user_regs_struct>': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/optional:786:2: required from 'class std::optional<pstack::Elf::user_regs_struct>' 786 | is_move_constructible_v<_Tp>, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/process.cc:883:48: required from here 883 | auto maybeNewRegs = prev.unwind(p); | ~~~~~~~~~~~^~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:3565:7: error: invalid use of incomplete type 'struct pstack::Elf::user_regs_struct' 3565 | = __is_constructible(_Tp, __add_rval_ref_t<_Tp>); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:357:16: note: forward declaration of 'struct pstack::Elf::user_regs_struct' 357 | typedef struct user_regs_struct CoreRegisters; | ^~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits: In substitution of 'template<class _Tp, class ... _Args> using std::__is_constructible_impl = std::__bool_constant<__is_constructible(_Tp, _Args ...)> [with _Tp = pstack::Elf::user_regs_struct; _Args = {pstack::Elf::user_regs_struct&&}]': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:1219:12: required from 'struct std::is_move_constructible<pstack::Elf::user_regs_struct>' 1219 | struct is_move_constructible | ^~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:188:35: required by substitution of 'template<class ... _Bn> std::__detail::__first_t<std::integral_constant<bool, true>, typename std::enable_if<(bool)(_Bn::value), void>::type ...> std::__detail::__and_fn(int) [with _Bn = {std::is_move_constructible<pstack::Elf::user_regs_struct>, std::is_move_assignable<pstack::Elf::user_regs_struct>}]' 188 | __enable_if_t<bool(_Bn::value)>...>; | ^~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:204:42: required from 'struct std::__and_<std::is_move_constructible<pstack::Elf::user_regs_struct>, std::is_move_assignable<pstack::Elf::user_regs_struct> >' 204 | : decltype(__detail::__and_fn<_Bn...>(0)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:219:53: required from 'constexpr const bool std::__and_v<std::is_move_constructible<pstack::Elf::user_regs_struct>, std::is_move_assignable<pstack::Elf::user_regs_struct> >' 219 | inline constexpr bool __and_v = __and_<_Bn...>::value; | ^~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/optional:788:2: required from 'class std::optional<pstack::Elf::user_regs_struct>' 788 | __and_v<is_move_constructible<_Tp>, is_move_assignable<_Tp>>, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/process.cc:883:48: required from here 883 | auto maybeNewRegs = prev.unwind(p); | ~~~~~~~~~~~^~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:1151:25: error: invalid use of incomplete type 'struct pstack::Elf::user_regs_struct' 1151 | = __bool_constant<__is_constructible(_Tp, _Args...)>; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:357:16: note: forward declaration of 'struct pstack::Elf::user_regs_struct' 357 | typedef struct user_regs_struct CoreRegisters; | ^~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits: In instantiation of 'struct std::is_move_constructible<pstack::Elf::user_regs_struct>': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:188:35: required by substitution of 'template<class ... _Bn> std::__detail::__first_t<std::integral_constant<bool, true>, typename std::enable_if<(bool)(_Bn::value), void>::type ...> std::__detail::__and_fn(int) [with _Bn = {std::is_move_constructible<pstack::Elf::user_regs_struct>, std::is_move_assignable<pstack::Elf::user_regs_struct>}]' 188 | __enable_if_t<bool(_Bn::value)>...>; | ^~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:204:42: required from 'struct std::__and_<std::is_move_constructible<pstack::Elf::user_regs_struct>, std::is_move_assignable<pstack::Elf::user_regs_struct> >' 204 | : decltype(__detail::__and_fn<_Bn...>(0)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:219:53: required from 'constexpr const bool std::__and_v<std::is_move_constructible<pstack::Elf::user_regs_struct>, std::is_move_assignable<pstack::Elf::user_regs_struct> >' 219 | inline constexpr bool __and_v = __and_<_Bn...>::value; | ^~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/optional:788:2: required from 'class std::optional<pstack::Elf::user_regs_struct>' 788 | __and_v<is_move_constructible<_Tp>, is_move_assignable<_Tp>>, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/process.cc:883:48: required from here 883 | auto maybeNewRegs = prev.unwind(p); | ~~~~~~~~~~~^~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:1222:52: error: static assertion failed: template argument must be a complete class or an unbounded array 1222 | static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/type_traits:1222:52: note: 'std::__is_complete_or_unbounded<__type_identity<pstack::Elf::user_regs_struct> >((std::__type_identity<pstack::Elf::user_regs_struct>(), std::__type_identity<pstack::Elf::user_regs_struct>()))' evaluates to false In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/bits/requires_hosted.h:31, from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/charconv:39: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/optional: In instantiation of 'constexpr _Tp& std::optional<_Tp>::operator*() & [with _Tp = pstack::Elf::user_regs_struct]': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/process.cc:886:34: required from here 886 | auto &newRegs = *maybeNewRegs; | ^~~~~~~~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/optional:1186:9: error: 'class std::optional<pstack::Elf::user_regs_struct>' has no member named '_M_is_engaged' 1186 | __glibcxx_assert(this->_M_is_engaged()); | ^~~~~~~~~~~~~~~~ In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:43: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot/usr/include/c++/15.1.0/optional:1187:22: error: 'class std::optional<pstack::Elf::user_regs_struct>' has no member named '_M_get' 1187 | return this->_M_get(); | ~~~~~~^~~~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/process.cc: In member function 'void pstack::Procman::ThreadStack::unwind(pstack::Procman::Process&, pstack::Elf::CoreRegisters&)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/process.cc:924:50: error: 'IP' was not declared in this scope 924 | ProcessLocation badip = { p, IP(prev.regs) }; | ^~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/process.cc:924:64: error: could not convert '{p, <expression error>}' from '<brace-enclosed initializer list>' to 'pstack::Procman::ProcessLocation' 924 | ProcessLocation badip = { p, IP(prev.regs) }; | ^ | | | <brace-enclosed initializer list> TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/process.cc: In lambda function: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/process.cc:1073:28: error: aggregate 'pstack::Elf::CoreRegisters regs' has incomplete type and cannot be defined 1073 | Elf::CoreRegisters regs; | ^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/process.cc: In lambda function: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/process.cc:1103:32: error: aggregate 'pstack::Elf::CoreRegisters regs' has incomplete type and cannot be defined 1103 | Elf::CoreRegisters regs; | ^~~~ [24/64] Building CXX object CMakeFiles/dwelf.dir/dump.cc.o In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/dwarf.h:6, from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/dump.cc:2: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'pstack::Elf::Addr pstack::Elf::getReg(const CoreRegisters&, int)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:360:41: warning: unused parameter 'regs' [-Wunused-parameter] 360 | inline Addr getReg(const CoreRegisters ®s, int reg) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'void pstack::Elf::setReg(CoreRegisters&, int, Addr)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:35: warning: unused parameter 'regs' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:55: warning: unused parameter 'val' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~^~~ [25/64] Building CXX object CMakeFiles/canal.dir/canal.cc.o FAILED: [code=1] CMakeFiles/canal.dir/canal.cc.o TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot-native/usr/bin/riscv64-yoe-linux/riscv64-yoe-linux-g++ --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot -DDEBUGINFOD -DVERSION="" -DWITH_LZMA -DWITH_ZLIB -ITMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11 -march=rv64imafdc_zicsr_zifencei -mabi=lp64d -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11=/usr/src/debug/pstack/2.11 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/build=/usr/src/debug/pstack/2.11 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -std=gnu++20 -fPIE -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-omit-frame-pointer -g3 -MD -MT CMakeFiles/canal.dir/canal.cc.o -MF CMakeFiles/canal.dir/canal.cc.o.d -o CMakeFiles/canal.dir/canal.cc.o -c TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/canal.cc In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/dwarf.h:6, from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/proc.h:22, from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/canal.cc:19: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'pstack::Elf::Addr pstack::Elf::getReg(const CoreRegisters&, int)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:360:41: warning: unused parameter 'regs' [-Wunused-parameter] 360 | inline Addr getReg(const CoreRegisters ®s, int reg) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'void pstack::Elf::setReg(CoreRegisters&, int, Addr)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:35: warning: unused parameter 'regs' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:55: warning: unused parameter 'val' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~^~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/proc.h: At global scope: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/proc.h:137:24: error: field 'regs' has incomplete type 'pstack::Elf::CoreRegisters' {aka 'pstack::Elf::user_regs_struct'} 137 | Elf::CoreRegisters regs; | ^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:357:16: note: forward declaration of 'pstack::Elf::CoreRegisters' {aka 'struct pstack::Elf::user_regs_struct'} 357 | typedef struct user_regs_struct CoreRegisters; | ^~~~~~~~~~~~~~~~ [26/64] Building CXX object CMakeFiles/dwelf.dir/elf.cc.o In file included from TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/elf.cc:1: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'pstack::Elf::Addr pstack::Elf::getReg(const CoreRegisters&, int)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:360:41: warning: unused parameter 'regs' [-Wunused-parameter] 360 | inline Addr getReg(const CoreRegisters ®s, int reg) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h: In function 'void pstack::Elf::setReg(CoreRegisters&, int, Addr)': TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:35: warning: unused parameter 'regs' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~~~~~~~~~~~^~~~ TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/sources/pstack-2.11/libpstack/elf.h:369:55: warning: unused parameter 'val' [-Wunused-parameter] 369 | inline void setReg(CoreRegisters ®s, int reg, Addr val) { | ~~~~~^~~ ninja: build stopped: subcommand failed. WARNING: TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/temp/run.do_compile.989084:153 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} } cmake --build 'TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/build' "$@" -- ${EXTRA_OECMAKE_BUILD}' WARNING: Backtrace (BB generated script): #1: cmake_runcmake_build, TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/temp/run.do_compile.989084, line 153 #2: cmake_do_compile, TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/temp/run.do_compile.989084, line 147 #3: do_compile, TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/temp/run.do_compile.989084, line 142 #4: main, TMPDIR/work/riscv64imafdc-yoe-linux/pstack/2.11/temp/run.do_compile.989084, line 166