./Tools/Scripts/build-jsc --jsc-only --release --cmakeargs="-DENABLE_STATIC_JSC=ON -DCMAKE_C_COMPILER='/usr/bin/clang-12' -DCMAKE_CXX_COMPILER='/usr/bin/clang++-12' -DCMAKE_CXX_FLAGS='-fsanitize-coverage=trace-pc-guard -O3 -lrt'" + cmake -DPORT="JSCOnly" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Release -G Ninja -DDEVELOPER_MODE=ON -DENABLE_STATIC_JSC=ON -DCMAKE_C_COMPILER='/usr/bin/clang-12' -DCMAKE_CXX_COMPILER='/usr/bin/clang++-12' -DCMAKE_CXX_FLAGS='-fsanitize-coverage=trace-pc-guard -O3 -lrt' -DENABLE_FTL_JIT=ON "/home/turnerrocks1/Desktop/WebKit" -- The C compiler identification is Clang 12.0.1 -- The CXX compiler identification is Clang 12.0.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang-12 - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/clang++-12 - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- The CMake build type is: Release -- Found Perl: /usr/bin/perl (found suitable version "5.34.0", minimum required is "5.10.0") -- Found PerlModules: TRUE found components: JSON::PP -- Found Python: /usr/bin/python3.10 (found version "3.10.3") found components: Interpreter -- Could NOT find Ruby (missing: Ruby_INCLUDE_DIR Ruby_LIBRARY Ruby_CONFIG_INCLUDE_DIR) (found suitable version "3.0.2", minimum required is "1.9") -- Enabling ccache: Setting ccache prefix for compiler. -- Performing Test C_COMPILER_SUPPORTS_-fno-strict-aliasing -- Performing Test C_COMPILER_SUPPORTS_-fno-strict-aliasing - Success -- Performing Test CXX_COMPILER_SUPPORTS_-fno-strict-aliasing -- Performing Test CXX_COMPILER_SUPPORTS_-fno-strict-aliasing - Success -- Performing Test C_COMPILER_SUPPORTS_-fno-exceptions -- Performing Test C_COMPILER_SUPPORTS_-fno-exceptions - Success -- Performing Test CXX_COMPILER_SUPPORTS_-fno-exceptions -- Performing Test CXX_COMPILER_SUPPORTS_-fno-exceptions - Success -- Performing Test CXX_COMPILER_SUPPORTS_-fno-rtti -- Performing Test CXX_COMPILER_SUPPORTS_-fno-rtti - Success -- Performing Test C_COMPILER_SUPPORTS_-Wno-tautological-compare -- Performing Test C_COMPILER_SUPPORTS_-Wno-tautological-compare - Success -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-tautological-compare -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-tautological-compare - Success -- Performing Test C_COMPILER_SUPPORTS_-Wcast-align -- Performing Test C_COMPILER_SUPPORTS_-Wcast-align - Success -- Performing Test C_COMPILER_SUPPORTS_-Wformat-security -- Performing Test C_COMPILER_SUPPORTS_-Wformat-security - Success -- Performing Test C_COMPILER_SUPPORTS_-Wmissing-format-attribute -- Performing Test C_COMPILER_SUPPORTS_-Wmissing-format-attribute - Success -- Performing Test C_COMPILER_SUPPORTS_-Wpointer-arith -- Performing Test C_COMPILER_SUPPORTS_-Wpointer-arith - Success -- Performing Test C_COMPILER_SUPPORTS_-Wundef -- Performing Test C_COMPILER_SUPPORTS_-Wundef - Success -- Performing Test C_COMPILER_SUPPORTS_-Wwrite-strings -- Performing Test C_COMPILER_SUPPORTS_-Wwrite-strings - Success -- Performing Test CXX_COMPILER_SUPPORTS_-Wcast-align -- Performing Test CXX_COMPILER_SUPPORTS_-Wcast-align - Success -- Performing Test CXX_COMPILER_SUPPORTS_-Wformat-security -- Performing Test CXX_COMPILER_SUPPORTS_-Wformat-security - Success -- Performing Test CXX_COMPILER_SUPPORTS_-Wmissing-format-attribute -- Performing Test CXX_COMPILER_SUPPORTS_-Wmissing-format-attribute - Success -- Performing Test CXX_COMPILER_SUPPORTS_-Wpointer-arith -- Performing Test CXX_COMPILER_SUPPORTS_-Wpointer-arith - Success -- Performing Test CXX_COMPILER_SUPPORTS_-Wundef -- Performing Test CXX_COMPILER_SUPPORTS_-Wundef - Success -- Performing Test CXX_COMPILER_SUPPORTS_-Wwrite-strings -- Performing Test CXX_COMPILER_SUPPORTS_-Wwrite-strings - Success -- Performing Test C_COMPILER_SUPPORTS_-Qunused-arguments -- Performing Test C_COMPILER_SUPPORTS_-Qunused-arguments - Success -- Performing Test C_COMPILER_SUPPORTS_-Wno-maybe-uninitialized -- Performing Test C_COMPILER_SUPPORTS_-Wno-maybe-uninitialized - Failed -- Performing Test C_COMPILER_SUPPORTS_-Wno-parentheses-equality -- Performing Test C_COMPILER_SUPPORTS_-Wno-parentheses-equality - Success -- Performing Test C_COMPILER_SUPPORTS_-Wno-misleading-indentation -- Performing Test C_COMPILER_SUPPORTS_-Wno-misleading-indentation - Success -- Performing Test C_COMPILER_SUPPORTS_-Wno-psabi -- Performing Test C_COMPILER_SUPPORTS_-Wno-psabi - Success -- Performing Test CXX_COMPILER_SUPPORTS_-Qunused-arguments -- Performing Test CXX_COMPILER_SUPPORTS_-Qunused-arguments - Success -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-maybe-uninitialized -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-maybe-uninitialized - Failed -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-parentheses-equality -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-parentheses-equality - Success -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-misleading-indentation -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-misleading-indentation - Success -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-psabi -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-psabi - Success -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-noexcept-type -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-noexcept-type - Success -- Performing Test C_COMPILER_SUPPORTS_-pipe -- Performing Test C_COMPILER_SUPPORTS_-pipe - Success -- Performing Test CXX_COMPILER_SUPPORTS_-pipe -- Performing Test CXX_COMPILER_SUPPORTS_-pipe - Success -- Performing Test C_COMPILER_SUPPORTS_-Wall -- Performing Test C_COMPILER_SUPPORTS_-Wall - Success -- Performing Test C_COMPILER_SUPPORTS_-Wextra -- Performing Test C_COMPILER_SUPPORTS_-Wextra - Success -- Performing Test CXX_COMPILER_SUPPORTS_-Wall -- Performing Test CXX_COMPILER_SUPPORTS_-Wall - Success -- Performing Test CXX_COMPILER_SUPPORTS_-Wextra -- Performing Test CXX_COMPILER_SUPPORTS_-Wextra - Success -- Performing Test C_COMPILER_SUPPORTS_-fcolor-diagnostics -- Performing Test C_COMPILER_SUPPORTS_-fcolor-diagnostics - Success -- Performing Test C_COMPILER_SUPPORTS_-fdiagnostics-color=always -- Performing Test C_COMPILER_SUPPORTS_-fdiagnostics-color=always - Success -- Performing Test CXX_COMPILER_SUPPORTS_-fcolor-diagnostics -- Performing Test CXX_COMPILER_SUPPORTS_-fcolor-diagnostics - Success -- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always -- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always - Success -- Performing Test ATOMICS_ARE_BUILTIN -- Performing Test ATOMICS_ARE_BUILTIN - Success -- Performing Test STD_FILESYSTEM_IS_AVAILABLE -- Performing Test STD_FILESYSTEM_IS_AVAILABLE - Success -- Linker variant in use: LLD -- Linker supports thin archives - TRUE -- Linker supports split debug info - TRUE -- Linker supports --gdb-index - TRUE -- Linker supports --disable-new-dtags - TRUE -- Archiver variant in use: UNKNOWN -- Archiver supports thin archives - FALSE -- Looking for features.h -- Looking for features.h - found -- Looking for errno.h -- Looking for errno.h - found -- Looking for langinfo.h -- Looking for langinfo.h - found -- Looking for sys/mman.h -- Looking for sys/mman.h - found -- Looking for pthread_np.h -- Looking for pthread_np.h - not found -- Looking for sys/param.h -- Looking for sys/param.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/timeb.h -- Looking for sys/timeb.h - found -- Looking for linux/memfd.h -- Looking for linux/memfd.h - found -- Looking for _aligned_malloc -- Looking for _aligned_malloc - not found -- Looking for IsDebuggerPresent -- Looking for IsDebuggerPresent - not found -- Looking for localtime_r -- Looking for localtime_r - found -- Looking for malloc_trim -- Looking for malloc_trim - found -- Looking for strnstr -- Looking for strnstr - not found -- Looking for timegm -- Looking for timegm - found -- Looking for vasprintf -- Looking for vasprintf - found -- Looking for regexec -- Looking for regexec - found -- Looking for pthread_main_np -- Looking for pthread_main_np - not found -- Looking for MAP_ALIGNED -- Looking for MAP_ALIGNED - not found -- Looking for SHM_ANON -- Looking for SHM_ANON - not found -- Looking for timingsafe_bcmp -- Looking for timingsafe_bcmp - not found -- Looking for SIGTRAP -- Looking for SIGTRAP - found -- Performing Test HAVE_STAT_BIRTHTIME_value -- Performing Test HAVE_STAT_BIRTHTIME_value - Failed -- Performing Test HAVE_TM_GMTOFF_value -- Performing Test HAVE_TM_GMTOFF_value - Success -- Performing Test HAVE_TM_ZONE_value -- Performing Test HAVE_TM_ZONE_value - Success -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of __int128_t -- Check size of __int128_t - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found the following ICU libraries: -- data (required) -- i18n (required) -- uc (required) -- Found ICU: /usr/include (found suitable version "65.1", minimum required is "61.2") -- Platform-specific CMakeLists not found: /home/turnerrocks1/Desktop/WebKit/Source/bmalloc/PlatformJSCOnly.cmake -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-missing-field-initializers -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-missing-field-initializers - Success -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-cast-align -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-cast-align - Success -- Using platform-specific CMakeLists: /home/turnerrocks1/Desktop/WebKit/Source/WTF/wtf/PlatformJSCOnly.cmake -- Copying generate-unified-source-bundles.rb to: /home/turnerrocks1/Desktop/WebKit/WebKitBuild/Release/WTF/Scripts -- Using platform-specific CMakeLists: /home/turnerrocks1/Desktop/WebKit/Source/JavaScriptCore/PlatformJSCOnly.cmake -- Performing Test CXX_COMPILER_SUPPORTS_-ffp-contract=off -- Performing Test CXX_COMPILER_SUPPORTS_-ffp-contract=off - Success -- Performing Test CXX_COMPILER_SUPPORTS_-fno-slp-vectorize -- Performing Test CXX_COMPILER_SUPPORTS_-fno-slp-vectorize - Success -- Using source list file: Sources.txt -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-array-bounds -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-array-bounds - Success -- Platform-specific CMakeLists not found: /home/turnerrocks1/Desktop/WebKit/Source/JavaScriptCore/shell/PlatformJSCOnly.cmake -- Platform-specific CMakeLists not found: /home/turnerrocks1/Desktop/WebKit/Source/ThirdParty/gtest/PlatformJSCOnly.cmake -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-undef -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-undef - Success -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-stringop-truncation -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-stringop-truncation - Failed -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-suggest-attribute=format -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-suggest-attribute=format - Failed -- Platform-specific CMakeLists not found: /home/turnerrocks1/Desktop/WebKit/Source/PlatformJSCOnly.cmake -- Platform-specific CMakeLists not found: /home/turnerrocks1/Desktop/WebKit/Tools/PlatformJSCOnly.cmake -- Using platform-specific CMakeLists: /home/turnerrocks1/Desktop/WebKit/Tools/TestWebKitAPI/PlatformJSCOnly.cmake -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-dangling-else -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-dangling-else - Success -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-sign-compare -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-sign-compare - Success -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-unused-parameter -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-unused-parameter - Success -- Platform-specific CMakeLists not found: /home/turnerrocks1/Desktop/WebKit/PerformanceTests/MallocBench/MallocBench/PlatformJSCOnly.cmake -- Platform-specific CMakeLists not found: /home/turnerrocks1/Desktop/WebKit/PerformanceTests/PlatformJSCOnly.cmake -- Enabled features: -- ENABLE_STATIC_JSC ............................. ON -- Configuring done -- Generating done -- Build files have been written to: /home/turnerrocks1/Desktop/WebKit/WebKitBuild/Release + cmake --build /home/turnerrocks1/Desktop/WebKit/WebKitBuild/Release --config Release -- jsc testb3 testair testapi testmasm testdfg -j4 [37/2255] Building CXX object Source/b...loc.dir/libpas/src/libpas/jit_heap.c.o clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] [42/2255] Building CXX object Source/b...pas/src/libpas/bmalloc_heap_config.c.o clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] [55/2255] Building CXX object Source/b.../libpas/src/libpas/jit_heap_config.c.o clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] [58/2255] Building CXX object Source/b...dir/libpas/src/libpas/bmalloc_heap.c.o clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] [80/2255] Building CXX object Source/b...libpas/pas_bitfit_page_config_kind.c.o clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] [93/2255] Building CXX object Source/b...src/libpas/pas_fast_megapage_cache.c.o clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] [113/2255] Building CXX object Source/...as/src/libpas/pas_heap_config_kind.c.o clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] [159/2255] Building CXX object Source/...as/pas_segregated_page_config_kind.c.o clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] [265/2255] Building CXX object Source/...src/libpas/pas_utility_heap_config.c.o clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] [342/2255] Building CXX object Source/.../src/libpas/pas_thread_local_cache.c.o clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] [1474/2255] Building CXX object Source...sources/UnifiedSource-0284c6ac-1.cpp.o In file included from /home/turnerrocks1/Desktop/WebKit/WebKitBuild/Release/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-0284c6ac-1.cpp:8: /home/turnerrocks1/Desktop/WebKit/Source/JavaScriptCore/tools/SigillCrashAnalyzer.cpp:262:18: warning: unused variable 'wordAtPC' [-Wunused-variable] uint32_t wordAtPC = *reinterpret_cast<uint32_t*>(pc); ^ 1 warning generated. [2238/2255] Linking CXX executable bin/testapi FAILED: bin/testapi : && /usr/bin/clang++-12 -fdiagnostics-color=always -fcolor-diagnostics -Wextra -Wall -pipe -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-parentheses-equality -Qunused-arguments -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -fsanitize-coverage=trace-pc-guard -O3 -lrt -fno-strict-aliasing -fno-exceptions -fno-rtti -O3 -DNDEBUG -fuse-ld=lld -Wl,--disable-new-dtags Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/CompareAndSwapTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/CustomGlobalObjectClassTest.c.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/ExecutionTimeLimitTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/FunctionOverridesTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/GlobalContextWithFinalizerTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/JSONParseTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/JSObjectGetProxyTargetTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/MultithreadedMultiVMExecutionTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/PingPongStackOverflowTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/TypedArrayCTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/testapi.c.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/testapi.cpp.o -o bin/testapi lib/libJavaScriptCore.a lib/libWTF.a /usr/lib/aarch64-linux-gnu/libicudata.so /usr/lib/aarch64-linux-gnu/libicui18n.so /usr/lib/aarch64-linux-gnu/libicuuc.so lib/libbmalloc.a -ldl && : ld.lld: error: undefined symbol: u_charType_65_swift >>> referenced by UnifiedSource-bfc896e1-12.cpp >>> UnifiedSource-bfc896e1-12.cpp.o:(operationParseIntNoRadixGeneric) in archive lib/libJavaScriptCore.a >>> referenced by UnifiedSource-bfc896e1-12.cpp >>> UnifiedSource-bfc896e1-12.cpp.o:(operationParseIntStringNoRadix) in archive lib/libJavaScriptCore.a >>> referenced by UnifiedSource-bfc896e1-12.cpp >>> UnifiedSource-bfc896e1-12.cpp.o:(operationParseIntString) in archive lib/libJavaScriptCore.a >>> referenced 151 more times ld.lld: error: undefined symbol: ucol_close_65_swift >>> referenced by UnifiedSource-ee8a7a7a-3.cpp >>> UnifiedSource-ee8a7a7a-3.cpp.o:(JSC::IntlCollator::destroy(JSC::JSCell*)) in archive lib/libJavaScriptCore.a >>> referenced by UnifiedSource-f2e18ffc-14.cpp >>> UnifiedSource-f2e18ffc-14.cpp.o:(JSC::IntlCollator::initializeCollator(JSC::JSGlobalObject*, JSC::JSValue, JSC::JSValue)) in archive lib/libJavaScriptCore.a ld.lld: error: undefined symbol: udat_close_65_swift >>> referenced by UnifiedSource-ee8a7a7a-3.cpp >>> UnifiedSource-ee8a7a7a-3.cpp.o:(JSC::IntlDateTimeFormat::~IntlDateTimeFormat()) in archive lib/libJavaScriptCore.a >>> referenced by IntlDateTimeFormat.cpp >>> IntlDateTimeFormat.cpp.o:(JSC::IntlDateTimeFormat::initializeDateTimeFormat(JSC::JSGlobalObject*, JSC::JSValue, JSC::JSValue)) in archive lib/libJavaScriptCore.a >>> referenced by IntlDateTimeFormat.cpp >>> IntlDateTimeFormat.cpp.o:(JSC::IntlDateTimeFormat::initializeDateTimeFormat(JSC::JSGlobalObject*, JSC::JSValue, JSC::JSValue)) in archive lib/libJavaScriptCore.a ld.lld: error: undefined symbol: uldn_close_65_swift >>> referenced by UnifiedSource-ee8a7a7a-3.cpp >>> UnifiedSource-ee8a7a7a-3.cpp.o:(JSC::IntlDisplayNames::destroy(JSC::JSCell*)) in archive lib/libJavaScriptCore.a >>> referenced by UnifiedSource-f2e18ffc-14.cpp >>> UnifiedSource-f2e18ffc-14.cpp.o:(JSC::IntlDisplayNames::initializeDisplayNames(JSC::JSGlobalObject*, JSC::JSValue, JSC::JSValue)) in archive lib/libJavaScriptCore.a ld.lld: error: undefined symbol: unum_close_65_swift >>> referenced by UnifiedSource-ee8a7a7a-3.cpp >>> UnifiedSource-ee8a7a7a-3.cpp.o:(JSC::IntlRelativeTimeFormat::destroy(JSC::JSCell*)) in archive lib/libJavaScriptCore.a >>> referenced by UnifiedSource-f2e18ffc-16.cpp >>> UnifiedSource-f2e18ffc-16.cpp.o:(JSC::IntlRelativeTimeFormat::initializeRelativeTimeFormat(JSC::JSGlobalObject*, JSC::JSValue, JSC::JSValue)) in archive lib/libJavaScriptCore.a ld.lld: error: undefined symbol: ureldatefmt_close_65_swift >>> referenced by UnifiedSource-ee8a7a7a-3.cpp >>> UnifiedSource-ee8a7a7a-3.cpp.o:(JSC::IntlRelativeTimeFormat::destroy(JSC::JSCell*)) in archive lib/libJavaScriptCore.a >>> referenced by UnifiedSource-f2e18ffc-16.cpp >>> UnifiedSource-f2e18ffc-16.cpp.o:(JSC::IntlRelativeTimeFormat::initializeRelativeTimeFormat(JSC::JSGlobalObject*, JSC::JSValue, JSC::JSValue)) in archive lib/libJavaScriptCore.a ld.lld: error: undefined symbol: ubrk_close_65_swift >>> referenced by UnifiedSource-ee8a7a7a-3.cpp >>> UnifiedSource-ee8a7a7a-3.cpp.o:(JSC::IntlSegmentIterator::destroy(JSC::JSCell*)) in archive lib/libJavaScriptCore.a >>> referenced by UnifiedSource-ee8a7a7a-3.cpp >>> UnifiedSource-ee8a7a7a-3.cpp.o:(JSC::IntlSegmenter::destroy(JSC::JSCell*)) in archive lib/libJavaScriptCore.a >>> referenced by UnifiedSource-ee8a7a7a-3.cpp >>> UnifiedSource-ee8a7a7a-3.cpp.o:(JSC::IntlSegments::destroy(JSC::JSCell*)) in archive lib/libJavaScriptCore.a >>> referenced 8 more times ld.lld: error: undefined symbol: u_hasBinaryProperty_65_swift >>> referenced by UnifiedSource-95324de6-1.cpp >>> UnifiedSource-95324de6-1.cpp.o:(JSC::Lexer<char16_t>::lexWithoutClearingLineTerminator(JSC::JSToken*, WTF::OptionSet<JSC::LexerFlags>, bool)) in archive lib/libJavaScriptCore.a >>> referenced by UnifiedSource-95324de6-1.cpp >>> UnifiedSource-95324de6-1.cpp.o:(JSC::Lexer<char16_t>::lexWithoutClearingLineTerminator(JSC::JSToken*, WTF::OptionSet<JSC::LexerFlags>, bool)) in archive lib/libJavaScriptCore.a >>> referenced by UnifiedSource-95324de6-1.cpp >>> UnifiedSource-95324de6-1.cpp.o:(JSC::Lexer<char16_t>::lexWithoutClearingLineTerminator(JSC::JSToken*, WTF::OptionSet<JSC::LexerFlags>, bool)) in archive lib/libJavaScriptCore.a >>> referenced 13 more times ld.lld: error: undefined symbol: udatpg_open_65_swift >>> referenced by UnifiedSource-f2e18ffc-13.cpp >>> UnifiedSource-f2e18ffc-13.cpp.o:(JSC::IntlCache::cacheSharedPatternGenerator(WTF::CString const&, UErrorCode&)) in archive lib/libJavaScriptCore.a >>> referenced by UnifiedSource-f2e18ffc-13.cpp >>> UnifiedSource-f2e18ffc-13.cpp.o:(JSC::IntlCache::getSharedPatternGenerator(WTF::CString const&, UErrorCode&)) in archive lib/libJavaScriptCore.a >>> referenced by UnifiedSource-f2e18ffc-15.cpp >>> UnifiedSource-f2e18ffc-15.cpp.o:(JSC::IntlLocale::hourCycles(JSC::JSGlobalObject*)) in archive lib/libJavaScriptCore.a ld.lld: error: undefined symbol: udatpg_close_65_swift >>> referenced by UnifiedSource-f2e18ffc-13.cpp >>> UnifiedSource-f2e18ffc-13.cpp.o:(JSC::IntlCache::cacheSharedPatternGenerator(WTF::CString const&, UErrorCode&)) in archive lib/libJavaScriptCore.a >>> referenced by UnifiedSource-f2e18ffc-13.cpp >>> UnifiedSource-f2e18ffc-13.cpp.o:(JSC::IntlCache::cacheSharedPatternGenerator(WTF::CString const&, UErrorCode&)) in archive lib/libJavaScriptCore.a >>> referenced by UnifiedSource-f2e18ffc-13.cpp >>> UnifiedSource-f2e18ffc-13.cpp.o:(JSC::IntlCache::getSharedPatternGenerator(WTF::CString const&, UErrorCode&)) in archive lib/libJavaScriptCore.a >>> referenced 3 more times ld.lld: error: undefined symbol: udatpg_getBestPatternWithOptions_65_swift >>> referenced by UnifiedSource-f2e18ffc-13.cpp >>> UnifiedSource-f2e18ffc-13.cpp.o:(JSC::IntlCache::getBestDateTimePattern(WTF::CString const&, char16_t const*, unsigned int, UErrorCode&)) in archive lib/libJavaScriptCore.a >>> referenced by UnifiedSource-f2e18ffc-13.cpp >>> UnifiedSource-f2e18ffc-13.cpp.o:(JSC::IntlCache::getBestDateTimePattern(WTF::CString const&, char16_t const*, unsigned int, UErrorCode&)) in archive lib/libJavaScriptCore.a >>> referenced by UnifiedSource-f2e18ffc-15.cpp >>> UnifiedSource-f2e18ffc-15.cpp.o:(JSC::IntlLocale::hourCycles(JSC::JSGlobalObject*)) in archive lib/libJavaScriptCore.a >>> referenced 1 more times ld.lld: error: undefined symbol: udatpg_getFieldDisplayName_65_swift >>> referenced by UnifiedSource-f2e18ffc-13.cpp >>> UnifiedSource-f2e18ffc-13.cpp.o:(JSC::IntlCache::getFieldDisplayName(WTF::CString const&, UDateTimePatternField, UDateTimePGDisplayWidth, UErrorCode&)) in archive lib/libJavaScriptCore.a >>> referenced by UnifiedSource-f2e18ffc-13.cpp >>> UnifiedSource-f2e18ffc-13.cpp.o:(JSC::IntlCache::getFieldDisplayName(WTF::CString const&, UDateTimePatternField, UDateTimePGDisplayWidth, UErrorCode&)) in archive lib/libJavaScriptCore.a ld.lld: error: undefined symbol: udtitvfmt_close_65_swift >>> referenced by IntlDateTimeFormat.cpp >>> IntlDateTimeFormat.cpp.o:(JSC::UDateIntervalFormatDeleter::operator()(UDateIntervalFormat*)) in archive lib/libJavaScriptCore.a >>> referenced by IntlDateTimeFormat.cpp >>> IntlDateTimeFormat.cpp.o:(JSC::IntlDateTimeFormat::createDateIntervalFormatIfNecessary(JSC::JSGlobalObject*)) in archive lib/libJavaScriptCore.a ld.lld: error: undefined symbol: ucal_getKeywordValuesForLocale_65_swift >>> referenced by IntlDateTimeFormat.cpp >>> IntlDateTimeFormat.cpp.o:(JSC::IntlDateTimeFormat::localeData(WTF::String const&, JSC::RelevantExtensionKey)) in archive lib/libJavaScriptCore.a >>> referenced by UnifiedSource-f2e18ffc-15.cpp >>> UnifiedSource-f2e18ffc-15.cpp.o:(JSC::IntlLocale::calendars(JSC::JSGlobalObject*)) in archive lib/libJavaScriptCore.a >>> referenced by UnifiedSource-f2e18ffc-15.cpp >>> UnifiedSource-f2e18ffc-15.cpp.o:(std::once_flag::_Prepare_execution::_Prepare_execution<void std::call_once<JSC::intlAvailableCalendars()::$_4>(std::once_flag&, JSC::intlAvailableCalendars()::$_4&&)::'lambda'()>(JSC::intlAvailableCalendars()::$_4&)::'lambda'()::__invoke()) in archive lib/libJavaScriptCore.a ld.lld: error: undefined symbol: uenum_next_65_swift >>> referenced by IntlDateTimeFormat.cpp >>> IntlDateTimeFormat.cpp.o:(JSC::IntlDateTimeFormat::localeData(WTF::String const&, JSC::RelevantExtensionKey)) in archive lib/libJavaScriptCore.a >>> referenced by IntlDateTimeFormat.cpp >>> IntlDateTimeFormat.cpp.o:(JSC::IntlDateTimeFormat::localeData(WTF::String const&, JSC::RelevantExtensionKey)) in archive lib/libJavaScriptCore.a >>> referenced by IntlPluralRules.cpp >>> IntlPluralRules.cpp.o:(JSC::IntlPluralRules::resolvedOptions(JSC::JSGlobalObject*) const) in archive lib/libJavaScriptCore.a >>> referenced 16 more times ld.lld: error: undefined symbol: uenum_close_65_swift >>> referenced by IntlDateTimeFormat.cpp >>> IntlDateTimeFormat.cpp.o:(JSC::IntlDateTimeFormat::localeData(WTF::String const&, JSC::RelevantExtensionKey)) in archive lib/libJavaScriptCore.a >>> referenced by IntlDateTimeFormat.cpp >>> IntlDateTimeFormat.cpp.o:(JSC::IntlDateTimeFormat::initializeDateTimeFormat(JSC::JSGlobalObject*, JSC::JSValue, JSC::JSValue)) in archive lib/libJavaScriptCore.a >>> referenced by IntlDateTimeFormat.cpp >>> IntlDateTimeFormat.cpp.o:(JSC::IntlDateTimeFormat::initializeDateTimeFormat(JSC::JSGlobalObject*, JSC::JSValue, JSC::JSValue)) in archive lib/libJavaScriptCore.a >>> referenced 9 more times ld.lld: error: undefined symbol: ucal_openTimeZones_65_swift >>> referenced by IntlDateTimeFormat.cpp >>> IntlDateTimeFormat.cpp.o:(JSC::IntlDateTimeFormat::initializeDateTimeFormat(JSC::JSGlobalObject*, JSC::JSValue, JSC::JSValue)) in archive lib/libJavaScriptCore.a ld.lld: error: undefined symbol: uenum_unext_65_swift >>> referenced by IntlDateTimeFormat.cpp >>> IntlDateTimeFormat.cpp.o:(JSC::IntlDateTimeFormat::initializeDateTimeFormat(JSC::JSGlobalObject*, JSC::JSValue, JSC::JSValue)) in archive lib/libJavaScriptCore.a ld.lld: error: undefined symbol: ucal_getCanonicalTimeZoneID_65_swift >>> referenced by IntlDateTimeFormat.cpp >>> IntlDateTimeFormat.cpp.o:(JSC::IntlDateTimeFormat::initializeDateTimeFormat(JSC::JSGlobalObject*, JSC::JSValue, JSC::JSValue)) in archive lib/libJavaScriptCore.a >>> referenced by IntlDateTimeFormat.cpp >>> IntlDateTimeFormat.cpp.o:(JSC::IntlDateTimeFormat::initializeDateTimeFormat(JSC::JSGlobalObject*, JSC::JSValue, JSC::JSValue)) in archive lib/libJavaScriptCore.a ld.lld: error: undefined symbol: udat_open_65_swift >>> referenced by IntlDateTimeFormat.cpp >>> IntlDateTimeFormat.cpp.o:(JSC::IntlDateTimeFormat::initializeDateTimeFormat(JSC::JSGlobalObject*, JSC::JSValue, JSC::JSValue)) in archive lib/libJavaScriptCore.a >>> referenced by IntlDateTimeFormat.cpp >>> IntlDateTimeFormat.cpp.o:(JSC::IntlDateTimeFormat::initializeDateTimeFormat(JSC::JSGlobalObject*, JSC::JSValue, JSC::JSValue)) in archive lib/libJavaScriptCore.a ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) clang: error: linker command failed with exit code 1 (use -v to see invocation) [2241/2255] Building CXX object Source...stmasm.dir/__/assembler/testmasm.cpp.o ninja: build stopped: subcommand failed.
/usr/lib/aarch64-linux-gnu/libicui18n.so /usr/lib/aarch64-linux-gnu/libicuuc.so lib/libbmalloc.a -ldl && : ld.lld: error: undefined symbol: u_charType_65_swift >>> referenced by UnifiedSource-bfc896e1-12.cpp >>> UnifiedSource-bfc896e1-12.cpp.o:(operationParseIntNoRadixGeneric) in archive lib/libJavaScriptCore.a >>> referenced by UnifiedSource-bfc896e1-12.cpp >>> UnifiedSource-bfc896e1-12.cpp.o:(operationParseIntStringNoRadix) in archive lib/libJavaScriptCore.a >>> referenced by UnifiedSource-bfc896e1-12.cpp >>> UnifiedSource-bfc896e1-12.cpp.o:(operationParseIntString) in archive lib/libJavaScriptCore.a >>> referenced 151 more times Looks like it is an issue of installed ICU. Please ensure that JSC is built with the ICU header aligned with the finally linked ICU.
<rdar://problem/91525543>
(In reply to Yusuke Suzuki from comment #1) > /usr/lib/aarch64-linux-gnu/libicui18n.so > /usr/lib/aarch64-linux-gnu/libicuuc.so lib/libbmalloc.a -ldl && : > ld.lld: error: undefined symbol: u_charType_65_swift > >>> referenced by UnifiedSource-bfc896e1-12.cpp > >>> UnifiedSource-bfc896e1-12.cpp.o:(operationParseIntNoRadixGeneric) in archive lib/libJavaScriptCore.a > >>> referenced by UnifiedSource-bfc896e1-12.cpp > >>> UnifiedSource-bfc896e1-12.cpp.o:(operationParseIntStringNoRadix) in archive lib/libJavaScriptCore.a > >>> referenced by UnifiedSource-bfc896e1-12.cpp > >>> UnifiedSource-bfc896e1-12.cpp.o:(operationParseIntString) in archive lib/libJavaScriptCore.a > >>> referenced 151 more times > > Looks like it is an issue of installed ICU. > Please ensure that JSC is built with the ICU header aligned with the finally > linked ICU. Installing icu-dev fixed my issue thanks !!!