DEBUG: Executing shell function do_compile
NOTE: cmake --build TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/build --target all --
[1/25] Building C object 3rdparty/libbacktrace/CMakeFiles/backtrace.dir/simple.c.o
[2/25] Building C object 3rdparty/libbacktrace/CMakeFiles/backtrace.dir/backtrace.c.o
[3/25] Building C object 3rdparty/libbacktrace/CMakeFiles/backtrace.dir/atomic.c.o
[4/25] Building C object 3rdparty/libbacktrace/CMakeFiles/backtrace.dir/mmapio.c.o
[5/25] Building C object 3rdparty/libbacktrace/CMakeFiles/backtrace.dir/alloc.c.o
[6/25] Building C object 3rdparty/libbacktrace/CMakeFiles/backtrace.dir/print.c.o
[7/25] Building C object 3rdparty/libbacktrace/CMakeFiles/backtrace.dir/posix.c.o
[8/25] Building C object 3rdparty/libbacktrace/CMakeFiles/backtrace.dir/fileline.c.o
[9/25] Building C object 3rdparty/libbacktrace/CMakeFiles/backtrace.dir/state.c.o
[10/25] Building CXX object src/track/CMakeFiles/heaptrack_unwind.dir/trace_libunwind.cpp.o
[11/25] Linking CXX static library src/track/libheaptrack_unwind.a
[12/25] Building C object 3rdparty/libbacktrace/CMakeFiles/backtrace.dir/sort.c.o
[13/25] Building CXX object src/track/CMakeFiles/heaptrack_preload.dir/heaptrack_preload.cpp.o
[14/25] Building C object 3rdparty/libbacktrace/CMakeFiles/backtrace.dir/elf.c.o
[15/25] Building C object 3rdparty/libbacktrace/CMakeFiles/backtrace.dir/dwarf.c.o
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:673:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  673 |     case DW_FORM_addr:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:677:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  677 |     case DW_FORM_block2:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:680:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  680 |     case DW_FORM_block4:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:683:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  683 |     case DW_FORM_data2:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:687:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  687 |     case DW_FORM_data4:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:691:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  691 |     case DW_FORM_data8:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:695:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  695 |     case DW_FORM_string:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:699:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  699 |     case DW_FORM_block:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:702:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  702 |     case DW_FORM_block1:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:705:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  705 |     case DW_FORM_data1:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:709:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  709 |     case DW_FORM_flag:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:713:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  713 |     case DW_FORM_sdata:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:717:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  717 |     case DW_FORM_strp:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:731:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  731 |     case DW_FORM_udata:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:735:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  735 |     case DW_FORM_ref_addr:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:742:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  742 |     case DW_FORM_ref1:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:746:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  746 |     case DW_FORM_ref2:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:750:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  750 |     case DW_FORM_ref4:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:754:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  754 |     case DW_FORM_ref8:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:758:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  758 |     case DW_FORM_ref_udata:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:762:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  762 |     case DW_FORM_indirect:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:771:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  771 |     case DW_FORM_sec_offset:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:775:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  775 |     case DW_FORM_exprloc:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:778:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  778 |     case DW_FORM_flag_present:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:782:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  782 |     case DW_FORM_ref_sig8:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:786:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  786 |     case DW_FORM_GNU_addr_index:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/auxincl/dwarf2.h:44:32: note: expanded from macro 'DW_FORM_GNU_addr_index'
   44 | #define DW_FORM_GNU_addr_index 0x1f01
      |                                ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:790:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  790 |     case DW_FORM_GNU_str_index:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/auxincl/dwarf2.h:45:32: note: expanded from macro 'DW_FORM_GNU_str_index'
   45 | #define DW_FORM_GNU_str_index  0x1f02
      |                                ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:794:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  794 |     case DW_FORM_GNU_ref_alt:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/auxincl/dwarf2.h:47:32: note: expanded from macro 'DW_FORM_GNU_ref_alt'
   47 | #define DW_FORM_GNU_ref_alt    0x1f20
      |                                ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:798:10: warning: case value not in enumerated type 'enum dwarf_form' [-Wswitch]
  798 |     case DW_FORM_GNU_strp_alt:
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/auxincl/dwarf2.h:48:32: note: expanded from macro 'DW_FORM_GNU_strp_alt'
   48 | #define DW_FORM_GNU_strp_alt   0x1f21
      |                                ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:1334:11: warning: case value not in enumerated type 'enum dwarf_attribute' [-Wswitch]
 1334 |             case DW_AT_name:
      |                  ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:1327:11: warning: case value not in enumerated type 'enum dwarf_attribute' [-Wswitch]
 1327 |             case DW_AT_stmt_list:
      |                  ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:1296:11: warning: case value not in enumerated type 'enum dwarf_attribute' [-Wswitch]
 1296 |             case DW_AT_low_pc:
      |                  ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:1304:11: warning: case value not in enumerated type 'enum dwarf_attribute' [-Wswitch]
 1304 |             case DW_AT_high_pc:
      |                  ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:1340:11: warning: case value not in enumerated type 'enum dwarf_attribute' [-Wswitch]
 1340 |             case DW_AT_comp_dir:
      |                  ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:1318:11: warning: case value not in enumerated type 'enum dwarf_attribute' [-Wswitch]
 1318 |             case DW_AT_ranges:
      |                  ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:2109:7: warning: case value not in enumerated type 'enum dwarf_attribute' [-Wswitch]
 2109 |         case DW_AT_name:
      |              ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:2121:7: warning: case value not in enumerated type 'enum dwarf_attribute' [-Wswitch]
 2121 |         case DW_AT_specification:
      |              ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:2115:7: warning: case value not in enumerated type 'enum dwarf_attribute' [-Wswitch]
 2115 |         case DW_AT_linkage_name:
      |              ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:2116:7: warning: case value not in enumerated type 'enum dwarf_attribute' [-Wswitch]
 2116 |         case DW_AT_MIPS_linkage_name:
      |              ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:2378:8: warning: case value not in enumerated type 'enum dwarf_attribute' [-Wswitch]
 2378 |                 case DW_AT_name:
      |                      ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:2396:8: warning: case value not in enumerated type 'enum dwarf_attribute' [-Wswitch]
 2396 |                 case DW_AT_low_pc:
      |                      ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:2404:8: warning: case value not in enumerated type 'enum dwarf_attribute' [-Wswitch]
 2404 |                 case DW_AT_high_pc:
      |                      ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:2356:8: warning: case value not in enumerated type 'enum dwarf_attribute' [-Wswitch]
 2356 |                 case DW_AT_abstract_origin:
      |                      ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:2357:8: warning: case value not in enumerated type 'enum dwarf_attribute' [-Wswitch]
 2357 |                 case DW_AT_specification:
      |                      ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:2418:8: warning: case value not in enumerated type 'enum dwarf_attribute' [-Wswitch]
 2418 |                 case DW_AT_ranges:
      |                      ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:2331:8: warning: case value not in enumerated type 'enum dwarf_attribute' [-Wswitch]
 2331 |                 case DW_AT_call_file:
      |                      ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:2351:8: warning: case value not in enumerated type 'enum dwarf_attribute' [-Wswitch]
 2351 |                 case DW_AT_call_line:
      |                      ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:2390:8: warning: case value not in enumerated type 'enum dwarf_attribute' [-Wswitch]
 2390 |                 case DW_AT_linkage_name:
      |                      ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/3rdparty/libbacktrace/dwarf.c:2391:8: warning: case value not in enumerated type 'enum dwarf_attribute' [-Wswitch]
 2391 |                 case DW_AT_MIPS_linkage_name:
      |                      ^
49 warnings generated.
[16/25] Linking C static library 3rdparty/libbacktrace/libbacktrace.a
[17/25] Building CXX object src/track/CMakeFiles/heaptrack_inject.dir/heaptrack_inject.cpp.o
[18/25] Building CXX object 3rdparty/boost-zstd/CMakeFiles/boost-zstd.dir/zstd.cpp.o
[19/25] Linking CXX static library 3rdparty/boost-zstd/libboost-zstd.a
[20/25] Building CXX object src/track/CMakeFiles/heaptrack_preload.dir/libheaptrack.cpp.o
FAILED: [code=1] src/track/CMakeFiles/heaptrack_preload.dir/libheaptrack.cpp.o 
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ --sysroot=TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/recipe-sysroot -Dheaptrack_preload_EXPORTS -ITMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/src -ITMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/build/src -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse  --dyld-prefix=/usr -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64  --sysroot=TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/recipe-sysroot  -O2 -g  -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0=/usr/src/debug/heaptrack/1.2.0  -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/build=/usr/src/debug/heaptrack/1.2.0  -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden -std=c++11 -Wall -Wpedantic -O2 -g -DNDEBUG -fPIC -MD -MT src/track/CMakeFiles/heaptrack_preload.dir/libheaptrack.cpp.o -MF src/track/CMakeFiles/heaptrack_preload.dir/libheaptrack.cpp.o.d -o src/track/CMakeFiles/heaptrack_preload.dir/libheaptrack.cpp.o -c TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/src/track/libheaptrack.cpp
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/src/track/libheaptrack.cpp:238:16: error: reference to 'once_flag' is ambiguous
  238 |         static once_flag once;
      |                ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/recipe-sysroot/usr/include/bits/types/once_flag.h:24:21: note: candidate found by name lookup is 'once_flag'
   24 | typedef __once_flag once_flag;
      |                     ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/recipe-sysroot/usr/lib/i686-yoe-linux/15.2.0/../../../include/c++/15.2.0/mutex:809:10: note: candidate found by name lookup is 'std::once_flag'
  809 |   struct once_flag
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/src/track/libheaptrack.cpp:239:9: error: no matching function for call to 'call_once'
  239 |         call_once(once, [] {
      |         ^~~~~~~~~
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/recipe-sysroot/usr/include/stdlib.h:1166:13: note: candidate function not viable: no known conversion from 'once_flag' (aka '__once_flag') to 'once_flag *' (aka '__once_flag *') for 1st argument; take the address of the argument with &
 1166 | extern void call_once (once_flag *__flag, void (*__func)(void));
      |             ^          ~~~~~~~~~~~~~~~~~
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/recipe-sysroot/usr/lib/i686-yoe-linux/15.2.0/../../../include/c++/15.2.0/mutex:907:5: note: candidate function template not viable: no known conversion from 'once_flag' (aka '__once_flag') to 'once_flag &' for 1st argument
  907 |     call_once(once_flag& __once, _Callable&& __f, _Args&&... __args)
      |     ^         ~~~~~~~~~~~~~~~~~
2 errors generated.
[21/25] Building CXX object src/track/CMakeFiles/heaptrack_inject.dir/libheaptrack.cpp.o
FAILED: [code=1] src/track/CMakeFiles/heaptrack_inject.dir/libheaptrack.cpp.o 
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ --sysroot=TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/recipe-sysroot -Dheaptrack_inject_EXPORTS -ITMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/src -ITMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/build/src -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse  --dyld-prefix=/usr -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64  --sysroot=TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/recipe-sysroot  -O2 -g  -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0=/usr/src/debug/heaptrack/1.2.0  -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/build=/usr/src/debug/heaptrack/1.2.0  -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden -std=c++11 -Wall -Wpedantic -O2 -g -DNDEBUG -fPIC -MD -MT src/track/CMakeFiles/heaptrack_inject.dir/libheaptrack.cpp.o -MF src/track/CMakeFiles/heaptrack_inject.dir/libheaptrack.cpp.o.d -o src/track/CMakeFiles/heaptrack_inject.dir/libheaptrack.cpp.o -c TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/src/track/libheaptrack.cpp
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/src/track/libheaptrack.cpp:238:16: error: reference to 'once_flag' is ambiguous
  238 |         static once_flag once;
      |                ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/recipe-sysroot/usr/include/bits/types/once_flag.h:24:21: note: candidate found by name lookup is 'once_flag'
   24 | typedef __once_flag once_flag;
      |                     ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/recipe-sysroot/usr/lib/i686-yoe-linux/15.2.0/../../../include/c++/15.2.0/mutex:809:10: note: candidate found by name lookup is 'std::once_flag'
  809 |   struct once_flag
      |          ^
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/sources/heaptrack-1.2.0/src/track/libheaptrack.cpp:239:9: error: no matching function for call to 'call_once'
  239 |         call_once(once, [] {
      |         ^~~~~~~~~
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/recipe-sysroot/usr/include/stdlib.h:1166:13: note: candidate function not viable: no known conversion from 'once_flag' (aka '__once_flag') to 'once_flag *' (aka '__once_flag *') for 1st argument; take the address of the argument with &
 1166 | extern void call_once (once_flag *__flag, void (*__func)(void));
      |             ^          ~~~~~~~~~~~~~~~~~
TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/recipe-sysroot/usr/lib/i686-yoe-linux/15.2.0/../../../include/c++/15.2.0/mutex:907:5: note: candidate function template not viable: no known conversion from 'once_flag' (aka '__once_flag') to 'once_flag &' for 1st argument
  907 |     call_once(once_flag& __once, _Callable&& __f, _Args&&... __args)
      |     ^         ~~~~~~~~~~~~~~~~~
2 errors generated.
[22/25] Building CXX object src/interpret/CMakeFiles/heaptrack_interpret.dir/heaptrack_interpret.cpp.o
ninja: build stopped: subcommand failed.
WARNING: TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/temp/run.do_compile.881946:153 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} } cmake --build 'TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
WARNING: Backtrace (BB generated script): 
	#1: cmake_runcmake_build, TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/temp/run.do_compile.881946, line 153
	#2: cmake_do_compile, TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/temp/run.do_compile.881946, line 147
	#3: do_compile, TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/temp/run.do_compile.881946, line 142
	#4: main, TMPDIR/work/core2-32-yoe-linux/heaptrack/1.2.0/temp/run.do_compile.881946, line 166

Error details

Submitted on:
09/11/25 11:14
Error type:
Recipe
Task:
do_compile
Recipe:
heaptrack
Recipe version:
1.2.0-r0
Machine:
qemux86
Distro:
yoe
Build system:
x86_64-linux
Target system:
i686-yoe-linux
Host distro:
ubuntu-22.04/ubuntu-22.04
Branch:
HEAD
Commit:
20c78057ffb40924fc16127731c1759d6cc6cf59
Build:
#219966
Submitter:
ab@rdk
Similar errors:
6
Open a bug