Performing C++ SOURCE FILE Test TEST_use_lld_linker failed with the following output: Change Dir: /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp Run Build Command(s):/tmp/instance-8/output-1/host/bin/ninja cmTC_a5c04 && [1/2] Building CXX object CMakeFiles/cmTC_a5c04.dir/src.cxx.o [2/2] Linking CXX executable cmTC_a5c04 FAILED: cmTC_a5c04 : && /tmp/instance-8/output-1/host/bin/aarch64_be-none-linux-gnu-g++ --sysroot=/tmp/instance-8/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -DNDEBUG -fuse-ld=lld CMakeFiles/cmTC_a5c04.dir/src.cxx.o -o cmTC_a5c04 && : collect2: fatal error: cannot find 'ld' compilation terminated. ninja: build stopped: subcommand failed. Source file was: int main() { return 0; } Performing C++ SOURCE FILE Test TEST_gdb_index failed with the following output: Change Dir: /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp Run Build Command(s):/tmp/instance-8/output-1/host/bin/ninja cmTC_161ca && [1/2] Building CXX object CMakeFiles/cmTC_161ca.dir/src.cxx.o [2/2] Linking CXX executable cmTC_161ca FAILED: cmTC_161ca : && /tmp/instance-8/output-1/host/bin/aarch64_be-none-linux-gnu-g++ --sysroot=/tmp/instance-8/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -DNDEBUG -Wl,--gdb-index CMakeFiles/cmTC_161ca.dir/src.cxx.o -o cmTC_161ca && : /tmp/instance-8/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-none-linux-gnu/10.3.1/../../../../aarch64_be-none-linux-gnu/bin/ld: unrecognized option '--gdb-index' /tmp/instance-8/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-none-linux-gnu/10.3.1/../../../../aarch64_be-none-linux-gnu/bin/ld: use the --help option for usage information collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Source file was: int main() { return 0; } Performing C++ SOURCE FILE Test HAVE_reduce_relocations failed with the following output: Change Dir: /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp Run Build Command(s):/tmp/instance-8/output-1/host/bin/ninja cmTC_8e7b1 && [1/2] Building CXX object CMakeFiles/cmTC_8e7b1.dir/src.cxx.o FAILED: CMakeFiles/cmTC_8e7b1.dir/src.cxx.o /tmp/instance-8/output-1/host/bin/aarch64_be-none-linux-gnu-g++ --sysroot=/tmp/instance-8/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -DHAVE_reduce_relocations -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -DNDEBUG -fPIE -std=gnu++17 -o CMakeFiles/cmTC_8e7b1.dir/src.cxx.o -c /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp/src.cxx /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp/src.cxx:2:4: error: #error Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129). 2 | # error Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129). | ^~~~~ ninja: build stopped: subcommand failed. Source file was: #if !(defined(__i386) || defined(__i386__) || defined(__x86_64) || defined(__x86_64__) || defined(__amd64)) || defined(__sun) # error Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129). #endif int main(void) { /* BEGIN TEST: */ /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_alloca_malloc_h failed with the following output: Change Dir: /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp Run Build Command(s):/tmp/instance-8/output-1/host/bin/ninja cmTC_d3d7d && [1/2] Building CXX object CMakeFiles/cmTC_d3d7d.dir/src.cxx.o FAILED: CMakeFiles/cmTC_d3d7d.dir/src.cxx.o /tmp/instance-8/output-1/host/bin/aarch64_be-none-linux-gnu-g++ --sysroot=/tmp/instance-8/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -DHAVE_alloca_malloc_h -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -DNDEBUG -fPIE -std=gnu++17 -o CMakeFiles/cmTC_d3d7d.dir/src.cxx.o -c /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp/src.cxx /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp/src.cxx:6:1: error: 'alloca' was not declared in this scope; did you mean 'valloc'? 6 | alloca(1); | ^~~~~~ | valloc ninja: build stopped: subcommand failed. Source file was: #include int main(void) { /* BEGIN TEST: */ alloca(1); /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_intelcet failed with the following output: Change Dir: /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp Run Build Command(s):/tmp/instance-8/output-1/host/bin/ninja cmTC_0e13c && [1/2] Building CXX object CMakeFiles/cmTC_0e13c.dir/src.cxx.o FAILED: CMakeFiles/cmTC_0e13c.dir/src.cxx.o /tmp/instance-8/output-1/host/bin/aarch64_be-none-linux-gnu-g++ --sysroot=/tmp/instance-8/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -DHAVE_intelcet -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -DNDEBUG -fPIE -std=gnu++17 -o CMakeFiles/cmTC_0e13c.dir/src.cxx.o -c /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp/src.cxx /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp/src.cxx:5:4: error: #error Intel CET not available 5 | # error Intel CET not available | ^~~~~ ninja: build stopped: subcommand failed. Source file was: int main(void) { /* BEGIN TEST: */ #if !defined(__CET__) # error Intel CET not available #endif /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_pollts failed with the following output: Change Dir: /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp Run Build Command(s):/tmp/instance-8/output-1/host/bin/ninja cmTC_b240c && [1/2] Building CXX object CMakeFiles/cmTC_b240c.dir/src.cxx.o FAILED: CMakeFiles/cmTC_b240c.dir/src.cxx.o /tmp/instance-8/output-1/host/bin/aarch64_be-none-linux-gnu-g++ --sysroot=/tmp/instance-8/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -DHAVE_pollts -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -DNDEBUG -fPIE -std=gnu++17 -o CMakeFiles/cmTC_b240c.dir/src.cxx.o -c /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp/src.cxx /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp/src.cxx:11:1: error: 'pollts' was not declared in this scope; did you mean 'poll'? 11 | pollts(&pfd, 1, &ts, &sig); | ^~~~~~ | poll ninja: build stopped: subcommand failed. Source file was: #include #include #include int main(void) { /* BEGIN TEST: */ struct pollfd pfd; struct timespec ts; sigset_t sig; pollts(&pfd, 1, &ts, &sig); /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_cpp_winrt failed with the following output: Change Dir: /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp Run Build Command(s):/tmp/instance-8/output-1/host/bin/ninja cmTC_57660 && [1/2] Building CXX object CMakeFiles/cmTC_57660.dir/src.cxx.o FAILED: CMakeFiles/cmTC_57660.dir/src.cxx.o /tmp/instance-8/output-1/host/bin/aarch64_be-none-linux-gnu-g++ --sysroot=/tmp/instance-8/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -DHAVE_cpp_winrt -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -DNDEBUG -fPIE -std=gnu++17 -o CMakeFiles/cmTC_57660.dir/src.cxx.o -c /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp/src.cxx /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp/src.cxx:2:13: fatal error: winrt/base.h: No such file or directory 2 | # include | ^~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source file was: // Including winrt/base.h causes an error in some configurations (Windows 10 SDK + c++20) # include int main(void) { return 0; } Performing C++ SOURCE FILE Test HAVE_xlocalescanprint failed with the following output: Change Dir: /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp Run Build Command(s):/tmp/instance-8/output-1/host/bin/ninja cmTC_424b4 && [1/2] Building CXX object CMakeFiles/cmTC_424b4.dir/src.cxx.o FAILED: CMakeFiles/cmTC_424b4.dir/src.cxx.o /tmp/instance-8/output-1/host/bin/aarch64_be-none-linux-gnu-g++ --sysroot=/tmp/instance-8/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -DHAVE_xlocalescanprint -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -DNDEBUG -fPIE -std=gnu++17 -o CMakeFiles/cmTC_424b4.dir/src.cxx.o -c /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp/src.cxx /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp/src.cxx:10:10: error: #include expects "FILENAME" or 10 | #include QDSP_P_H | ^~~~~~~~ /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp/src.cxx:18:1: error: 'locale_t' was not declared in this scope 18 | locale_t invalidLocale = NULL; | ^~~~~~~~ /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp/src.cxx:21:17: error: 'argv' was not declared in this scope 21 | qDoubleSnprintf(argv[0], 1, invalidLocale, "invalid format", a); | ^~~~ /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp/src.cxx:21:29: error: 'invalidLocale' was not declared in this scope 21 | qDoubleSnprintf(argv[0], 1, invalidLocale, "invalid format", a); | ^~~~~~~~~~~~~ /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp/src.cxx:21:1: error: 'qDoubleSnprintf' was not declared in this scope 21 | qDoubleSnprintf(argv[0], 1, invalidLocale, "invalid format", a); | ^~~~~~~~~~~~~~~ /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp/src.cxx:22:62: error: 'argc' was not declared in this scope 22 | qDoubleSscanf(argv[0], invalidLocale, "invalid format", &a, &argc); | ^~~~ /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp/src.cxx:22:1: error: 'qDoubleSscanf' was not declared in this scope 22 | qDoubleSscanf(argv[0], invalidLocale, "invalid format", &a, &argc); | ^~~~~~~~~~~~~ ninja: build stopped: subcommand failed. Source file was: #define QT_BEGIN_NAMESPACE #define QT_END_NAMESPACE #ifdef _MSVC_VER #define Q_CC_MSVC _MSVC_VER #endif #define QT_NO_DOUBLECONVERSION #include QDSP_P_H int main(void) { /* BEGIN TEST: */ #ifdef _MSVC_VER _locale_t invalidLocale = NULL; #else locale_t invalidLocale = NULL; #endif double a = 3.4; qDoubleSnprintf(argv[0], 1, invalidLocale, "invalid format", a); qDoubleSscanf(argv[0], invalidLocale, "invalid format", &a, &argc); /* END TEST: */ return 0; } Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp Run Build Command(s):/tmp/instance-8/output-1/host/bin/ninja cmTC_5705b && [1/2] Building C object CMakeFiles/cmTC_5705b.dir/src.c.o [2/2] Linking C executable cmTC_5705b FAILED: cmTC_5705b : && /tmp/instance-8/output-1/host/bin/aarch64_be-none-linux-gnu-gcc --sysroot=/tmp/instance-8/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -DNDEBUG CMakeFiles/cmTC_5705b.dir/src.c.o -o cmTC_5705b && : /tmp/instance-8/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-none-linux-gnu/10.3.1/../../../../aarch64_be-none-linux-gnu/bin/ld: CMakeFiles/cmTC_5705b.dir/src.c.o: in function `main': src.c:(.text+0x34): undefined reference to `pthread_create' /tmp/instance-8/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-none-linux-gnu/10.3.1/../../../../aarch64_be-none-linux-gnu/bin/ld: src.c:(.text+0x3c): undefined reference to `pthread_detach' /tmp/instance-8/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-none-linux-gnu/10.3.1/../../../../aarch64_be-none-linux-gnu/bin/ld: src.c:(.text+0x44): undefined reference to `pthread_cancel' /tmp/instance-8/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-none-linux-gnu/10.3.1/../../../../aarch64_be-none-linux-gnu/bin/ld: src.c:(.text+0x50): undefined reference to `pthread_join' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Source file was: #include static void* test_func(void* data) { return data; } int main(void) { pthread_t thread; pthread_create(&thread, NULL, test_func, NULL); pthread_detach(thread); pthread_cancel(thread); pthread_join(thread, NULL); pthread_atfork(NULL, NULL, NULL); pthread_exit(NULL); return 0; } Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /tmp/instance-8/output-1/build/qt6base-6.4.2/CMakeFiles/CMakeTmp Run Build Command(s):/tmp/instance-8/output-1/host/bin/ninja cmTC_a5851 && [1/2] Building C object CMakeFiles/cmTC_a5851.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_a5851 FAILED: cmTC_a5851 : && /tmp/instance-8/output-1/host/bin/aarch64_be-none-linux-gnu-gcc --sysroot=/tmp/instance-8/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG CMakeFiles/cmTC_a5851.dir/CheckFunctionExists.c.o -o cmTC_a5851 -lpthreads && : /tmp/instance-8/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-none-linux-gnu/10.3.1/../../../../aarch64_be-none-linux-gnu/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.