https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106466
--- Comment #10 from tt_1 <herrtimson at yahoo dot de> --- so I simply did use valgrind as in < /usr/bin/valgrind gcc command > , heres the result: ==32586== Memcheck, a memory error detector ==32586== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==32586== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info ==32586== Command: /usr/bin/aarch64-unknown-linux-gnu-g++ -DHWY_DISABLED_TARGETS=(HWY_SVE|HWY_SVE2|HWY_SVE_256|HWY_SVE2_128|HWY_RVV) -D__DATE__="redacted" -D__TIMESTAMP__="redacted" -D__TIME__="redacted" -I/var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/third_party/skcms -O2 -pipe -save-temps -fno-rtti -funwind-tables -fno-omit-frame-pointer -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fmacro-prefix-map=/var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999=. -Wno-builtin-macro-redefined -Wall -Wno-psabi -DJPEGXL_BUNDLE_SKCMS=1 -include /var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/third_party/../lib/jxl/enc_jxl_skcms.h -std=c++11 -MD -MT third_party/CMakeFiles/skcms-obj.dir/skcms/skcms.cc.o -MF third_party/CMakeFiles/skcms-obj.dir/skcms/skcms.cc.o.d -o third_party/CMakeFiles/skcms-obj.dir/skcms/skcms.cc.o -c /var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/third_party/skcms/skcms.cc ==32586== --32586-- WARNING: unhandled arm64-linux syscall: 293 --32586-- You may be able to write your own handler. --32586-- Read the file README_MISSING_SYSCALL_OR_IOCTL. --32586-- Nevertheless we consider this a bug. Please report --32586-- it at http://valgrind.org/support/bug_reports.html. aarch64-unknown-linux-gnu-g++: warning: '-pipe' ignored because '-save-temps' specified during GIMPLE pass: fre /var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/third_party/skcms/skcms.cc: In function 'bool jxl_skcms_Parse(const void*, size_t, skcms_ICCProfile*)': /var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/third_party/skcms/skcms.cc:1004:6: internal compiler error: Segmentation fault 1004 | bool skcms_Parse(const void* buf, size_t len, skcms_ICCProfile* profile) { | ^~~~~~~~~~~~~~~ 0x7f82d9707b __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 0x7f82d9714b __libc_start_main_impl ../csu/libc-start.c:389