Performing C++ SOURCE FILE Test BOOST_IOSTREAMS_HAS_ZSTD failed with the following output: Change Dir: /var/tmp/portage/dev-util/heaptrack-1.3.0/work/heaptrack-1.3.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_b2554 && [1/2] Building CXX object CMakeFiles/cmTC_b2554.dir/src.cxx.o [2/2] Linking CXX executable cmTC_b2554 FAILED: cmTC_b2554 : && /usr/bin/x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_b2554.dir/src.cxx.o -o cmTC_b2554 /usr/lib64/libboost_system.so.1.78.0 /usr/lib64/libboost_filesystem.so.1.78.0 /usr/lib64/libboost_iostreams.so.1.78.0 /usr/lib64/libboost_container.so.1.78.0 /usr/lib64/libboost_atomic.so.1.78.0 && : /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_b2554.dir/src.cxx.o: warning: relocation against `_ZN5boost9iostreams4zstd19default_compressionE' in read-only section `.text._ZN5boost9iostreams16symmetric_filterINS0_6detail22zstd_decompressor_implISaIcEEES4_EC2El[_ZN5boost9iostreams16symmetric_filterINS0_6detail22zstd_decompressor_implISaIcEEES4_EC5El]' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_b2554.dir/src.cxx.o: in function `boost::detail::sp_counted_impl_p >, std::allocator >::impl>::dispose()': src.cxx:(.text._ZN5boost6detail17sp_counted_impl_pINS_9iostreams16symmetric_filterINS2_6detail22zstd_decompressor_implISaIcEEES6_E4implEE7disposeEv[_ZN5boost6detail17sp_counted_impl_pINS_9iostreams16symmetric_filterINS2_6detail22zstd_decompressor_implISaIcEEES6_E4implEE7disposeEv]+0x24): undefined reference to `boost::iostreams::detail::zstd_base::reset(bool, bool)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: src.cxx:(.text._ZN5boost6detail17sp_counted_impl_pINS_9iostreams16symmetric_filterINS2_6detail22zstd_decompressor_implISaIcEEES6_E4implEE7disposeEv[_ZN5boost6detail17sp_counted_impl_pINS_9iostreams16symmetric_filterINS2_6detail22zstd_decompressor_implISaIcEEES6_E4implEE7disposeEv]+0x2c): undefined reference to `boost::iostreams::detail::zstd_base::~zstd_base()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_b2554.dir/src.cxx.o: in function `boost::detail::sp_counted_base::release()': src.cxx:(.text._ZN5boost6detail15sp_counted_base7releaseEv[_ZN5boost6detail15sp_counted_base7releaseEv]+0x56): undefined reference to `boost::iostreams::detail::zstd_base::reset(bool, bool)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: src.cxx:(.text._ZN5boost6detail15sp_counted_base7releaseEv[_ZN5boost6detail15sp_counted_base7releaseEv]+0x5e): undefined reference to `boost::iostreams::detail::zstd_base::~zstd_base()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_b2554.dir/src.cxx.o: in function `boost::iostreams::symmetric_filter >, std::allocator >::symmetric_filter(long)': src.cxx:(.text._ZN5boost9iostreams16symmetric_filterINS0_6detail22zstd_decompressor_implISaIcEEES4_EC2El[_ZN5boost9iostreams16symmetric_filterINS0_6detail22zstd_decompressor_implISaIcEEES4_EC5El]+0x2f): undefined reference to `boost::iostreams::detail::zstd_base::zstd_base()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: src.cxx:(.text._ZN5boost9iostreams16symmetric_filterINS0_6detail22zstd_decompressor_implISaIcEEES4_EC2El[_ZN5boost9iostreams16symmetric_filterINS0_6detail22zstd_decompressor_implISaIcEEES4_EC5El]+0x35): undefined reference to `boost::iostreams::zstd::default_compression' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: src.cxx:(.text._ZN5boost9iostreams16symmetric_filterINS0_6detail22zstd_decompressor_implISaIcEEES4_EC2El[_ZN5boost9iostreams16symmetric_filterINS0_6detail22zstd_decompressor_implISaIcEEES4_EC5El]+0x50): undefined reference to `boost::iostreams::detail::zstd_base::do_init(boost::iostreams::zstd_params const&, bool, void* (*)(void*, unsigned long, unsigned long), void (*)(void*, void*), void*)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: src.cxx:(.text._ZN5boost9iostreams16symmetric_filterINS0_6detail22zstd_decompressor_implISaIcEEES4_EC2El[_ZN5boost9iostreams16symmetric_filterINS0_6detail22zstd_decompressor_implISaIcEEES4_EC5El]+0x12d): undefined reference to `boost::iostreams::detail::zstd_base::reset(bool, bool)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: src.cxx:(.text._ZN5boost9iostreams16symmetric_filterINS0_6detail22zstd_decompressor_implISaIcEEES4_EC2El[_ZN5boost9iostreams16symmetric_filterINS0_6detail22zstd_decompressor_implISaIcEEES4_EC5El]+0x135): undefined reference to `boost::iostreams::detail::zstd_base::~zstd_base()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: src.cxx:(.text._ZN5boost9iostreams16symmetric_filterINS0_6detail22zstd_decompressor_implISaIcEEES4_EC2El[_ZN5boost9iostreams16symmetric_filterINS0_6detail22zstd_decompressor_implISaIcEEES4_EC5El]+0x1cc): undefined reference to `boost::iostreams::detail::zstd_base::~zstd_base()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: src.cxx:(.text._ZN5boost9iostreams16symmetric_filterINS0_6detail22zstd_decompressor_implISaIcEEES4_EC2El[_ZN5boost9iostreams16symmetric_filterINS0_6detail22zstd_decompressor_implISaIcEEES4_EC5El]+0x1f3): undefined reference to `boost::iostreams::detail::zstd_base::reset(bool, bool)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: src.cxx:(.text._ZN5boost9iostreams16symmetric_filterINS0_6detail22zstd_decompressor_implISaIcEEES4_EC2El[_ZN5boost9iostreams16symmetric_filterINS0_6detail22zstd_decompressor_implISaIcEEES4_EC5El]+0x1fb): undefined reference to `boost::iostreams::detail::zstd_base::~zstd_base()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: src.cxx:(.text._ZN5boost9iostreams16symmetric_filterINS0_6detail22zstd_decompressor_implISaIcEEES4_EC2El[_ZN5boost9iostreams16symmetric_filterINS0_6detail22zstd_decompressor_implISaIcEEES4_EC5El]+0x22b): undefined reference to `boost::iostreams::detail::zstd_base::reset(bool, bool)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: src.cxx:(.text._ZN5boost9iostreams16symmetric_filterINS0_6detail22zstd_decompressor_implISaIcEEES4_EC2El[_ZN5boost9iostreams16symmetric_filterINS0_6detail22zstd_decompressor_implISaIcEEES4_EC5El]+0x233): undefined reference to `boost::iostreams::detail::zstd_base::~zstd_base()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: warning: creating DT_TEXTREL in a PIE collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Source file was: #include int main() { boost::iostreams::zstd_decompressor(); return 0; } Determining if the cfree exist failed with the following output: Change Dir: /var/tmp/portage/dev-util/heaptrack-1.3.0/work/heaptrack-1.3.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_509f7 && [1/2] Building C object CMakeFiles/cmTC_509f7.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_509f7.dir/CheckSymbolExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -o CMakeFiles/cmTC_509f7.dir/CheckSymbolExists.c.o -c /var/tmp/portage/dev-util/heaptrack-1.3.0/work/heaptrack-1.3.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /var/tmp/portage/dev-util/heaptrack-1.3.0/work/heaptrack-1.3.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’: /var/tmp/portage/dev-util/heaptrack-1.3.0/work/heaptrack-1.3.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘cfree’ undeclared (first use in this function); did you mean ‘free’? 8 | return ((int*)(&cfree))[argc]; | ^~~~~ | free /var/tmp/portage/dev-util/heaptrack-1.3.0/work/heaptrack-1.3.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. File /var/tmp/portage/dev-util/heaptrack-1.3.0/work/heaptrack-1.3.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef cfree return ((int*)(&cfree))[argc]; #else (void)argc; return 0; #endif } Performing C SOURCE FILE Test LIBUNWIND_HAS_UNW_BACKTRACE_SKIP failed with the following output: Change Dir: /var/tmp/portage/dev-util/heaptrack-1.3.0/work/heaptrack-1.3.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_683e6 && [1/2] Building C object CMakeFiles/cmTC_683e6.dir/src.c.o /var/tmp/portage/dev-util/heaptrack-1.3.0/work/heaptrack-1.3.0_build/CMakeFiles/CMakeTmp/src.c: In function ‘main’: /var/tmp/portage/dev-util/heaptrack-1.3.0/work/heaptrack-1.3.0_build/CMakeFiles/CMakeTmp/src.c:3:29: warning: implicit declaration of function ‘unw_backtrace_skip’; did you mean ‘unw_backtrace’? [-Wimplicit-function-declaration] 3 | int main() { void* buf[10]; unw_backtrace_skip(&buf, 10, 2); return 0; } | ^~~~~~~~~~~~~~~~~~ | unw_backtrace [2/2] Linking C executable cmTC_683e6 FAILED: cmTC_683e6 : && /usr/bin/x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_683e6.dir/src.c.o -o cmTC_683e6 /usr/lib64/libunwind.so && : /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_683e6.dir/src.c.o: in function `main': src.c:(.text.startup+0x22): undefined reference to `unw_backtrace_skip' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Source file was: #define UNW_LOCAL_ONLY 1 #include int main() { void* buf[10]; unw_backtrace_skip(&buf, 10, 2); return 0; } Determining if the function getexecname exists failed with the following output: Change Dir: /var/tmp/portage/dev-util/heaptrack-1.3.0/work/heaptrack-1.3.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_ed0b8 && [1/2] Building C object CMakeFiles/cmTC_ed0b8.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_ed0b8 FAILED: cmTC_ed0b8 : && /usr/bin/x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DCHECK_FUNCTION_EXISTS=getexecname -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_ed0b8.dir/CheckFunctionExists.c.o -o cmTC_ed0b8 && : /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_ed0b8.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `getexecname' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.