Problem building latest WebKitGTK+ with latest Jetpack 3.1 - /usr/bin/ld.gold: internal error in relocate_tls, at ../../gold/aarch64.cc:7419

Hey,

currently I’m trying hard to compile the latest version of WebKitGTK+ on my Nvidia Jetson TX1 (I’m aware of the possibility of cross-compiling, but I don’t see a difference expect the speed of building).

I managed to satisfy all of the 40 GTK library dependencies by manually building and installing them. Now I’m about the build WebKit using the following command:

/home/xxx/webkit/WebKit/Tools/jhbuild/jhbuild-wrapper --gtk run cmake --build /home/xxx/webkit/WebKit/WebKitBuild/Release --config Release -- -j4

I’m at the step where all compiled object files are about to be linked to create libjavascriptcoregtk-4.0.so, but this fails:

Erratum 843419 found and fixed at "../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/AtomicStringImpl.cpp.o)", section 4, offset 0x00001508.
Erratum 843419 found and fixed at "../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/AtomicStringImpl.cpp.o)", section 4, offset 0x00001508.
/usr/bin/ld.gold: internal error in relocate_tls, at ../../gold/aarch64.cc:7419
collect2: error: ld returned 1 exit status
Tools/TestWebKitAPI/CMakeFiles/TestWTF.dir/build.make:1483: recipe for target 'bin/TestWebKitAPI/WTF/TestWTF' failed
make[2]: *** [bin/TestWebKitAPI/WTF/TestWTF] Error 1
CMakeFiles/Makefile2:4936: recipe for target 'Tools/TestWebKitAPI/CMakeFiles/TestWTF.dir/all' failed
make[1]: *** [Tools/TestWebKitAPI/CMakeFiles/TestWTF.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  5%] Linking CXX shared library ../../lib/libjavascriptcoregtk-4.0.so
Erratum 843419 found and fixed at "CMakeFiles/JavaScriptCore.dir/bytecode/InlineAccess.cpp.o", section 8, offset 0x00002430.
Erratum 843419 found and fixed at "CMakeFiles/JavaScriptCore.dir/dfg/DFGSpeculativeJIT.cpp.o", section 1010, offset 0x00000858.
Erratum 843419 found and fixed at "CMakeFiles/JavaScriptCore.dir/inspector/InjectedScript.cpp.o", section 18, offset 0x00000000.
Erratum 843419 found and fixed at "CMakeFiles/JavaScriptCore.dir/runtime/DatePrototype.cpp.o", section 5, offset 0x0000001c.
Erratum 843419 found and fixed at "CMakeFiles/JavaScriptCore.dir/runtime/JSCJSValue.cpp.o", section 1, offset 0x000007d0.
Erratum 843419 found and fixed at "CMakeFiles/JavaScriptCore.dir/bytecode/InlineAccess.cpp.o", section 8, offset 0x00002430.
Erratum 843419 found and fixed at "CMakeFiles/JavaScriptCore.dir/dfg/DFGSpeculativeJIT.cpp.o", section 1010, offset 0x00000858.
Erratum 843419 found and fixed at "CMakeFiles/JavaScriptCore.dir/inspector/InjectedScript.cpp.o", section 18, offset 0x00000000.
Erratum 843419 found and fixed at "CMakeFiles/JavaScriptCore.dir/runtime/DatePrototype.cpp.o", section 5, offset 0x0000001c.
Erratum 843419 found and fixed at "CMakeFiles/JavaScriptCore.dir/runtime/JSCJSValue.cpp.o", section 1, offset 0x000007d0.
CMakeFiles/JavaScriptCore.dir/dfg/DFGOperations.cpp.o:DFGOperations.cpp:function operationParseIntNoRadixGeneric: error: undefined reference to 'u_charType_57'
CMakeFiles/JavaScriptCore.dir/dfg/DFGOperations.cpp.o:DFGOperations.cpp:function operationParseIntStringNoRadix: error: undefined reference to 'u_charType_57'
CMakeFiles/JavaScriptCore.dir/dfg/DFGOperations.cpp.o:DFGOperations.cpp:function operationParseIntString: error: undefined reference to 'u_charType_57'
CMakeFiles/JavaScriptCore.dir/dfg/DFGOperations.cpp.o:DFGOperations.cpp:function operationParseIntGeneric: error: undefined reference to 'u_charType_57'
CMakeFiles/JavaScriptCore.dir/inspector/InspectorValues.cpp.o:InspectorValues.cpp:function Inspector::(anonymous namespace)::parseToken(unsigned short const*, unsigned short const*, unsigned short const**, unsigned short const**): error: undefined reference to 'u_charDirection_57'
CMakeFiles/JavaScriptCore.dir/runtime/DatePrototype.cpp.o:DatePrototype.cpp:function JSC::formatLocaleDate(JSC::ExecState*, JSC::DateInstance*, double, JSC::LocaleDateTimeFormat) [clone .isra.100]: error: undefined reference to 'udat_open_57'
CMakeFiles/JavaScriptCore.dir/runtime/DatePrototype.cpp.o:DatePrototype.cpp:function JSC::formatLocaleDate(JSC::ExecState*, JSC::DateInstance*, double, JSC::LocaleDateTimeFormat) [clone .isra.100]: error: undefined reference to 'udat_format_57'
CMakeFiles/JavaScriptCore.dir/runtime/DatePrototype.cpp.o:DatePrototype.cpp:function JSC::formatLocaleDate(JSC::ExecState*, JSC::DateInstance*, double, JSC::LocaleDateTimeFormat) [clone .isra.100]: error: undefined reference to 'udat_close_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlCollator.cpp.o:IntlCollator.cpp:function JSC::sortLocaleData(WTF::String const&, unsigned long): error: undefined reference to 'ucol_getKeywordValuesForLocale_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlCollator.cpp.o:IntlCollator.cpp:function JSC::sortLocaleData(WTF::String const&, unsigned long): error: undefined reference to 'uenum_next_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlCollator.cpp.o:IntlCollator.cpp:function JSC::sortLocaleData(WTF::String const&, unsigned long): error: undefined reference to 'uenum_close_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlCollator.cpp.o:IntlCollator.cpp:function JSC::IntlCollator::UCollatorDeleter::operator()(UCollator*) const: error: undefined reference to 'ucol_close_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlCollator.cpp.o:IntlCollator.cpp:function JSC::IntlCollator::createCollator(JSC::ExecState&): error: undefined reference to 'ucol_open_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlCollator.cpp.o:IntlCollator.cpp:function JSC::IntlCollator::createCollator(JSC::ExecState&): error: undefined reference to 'ucol_setAttribute_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlCollator.cpp.o:IntlCollator.cpp:function JSC::IntlCollator::createCollator(JSC::ExecState&): error: undefined reference to 'ucol_setAttribute_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlCollator.cpp.o:IntlCollator.cpp:function JSC::IntlCollator::createCollator(JSC::ExecState&): error: undefined reference to 'ucol_setAttribute_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlCollator.cpp.o:IntlCollator.cpp:function JSC::IntlCollator::createCollator(JSC::ExecState&): error: undefined reference to 'ucol_setAttribute_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlCollator.cpp.o:IntlCollator.cpp:function JSC::IntlCollator::compareStrings(JSC::ExecState&, WTF::StringView, WTF::StringView): error: undefined reference to 'ucol_strcollIter_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::IntlDateTimeFormat::UDateFormatDeleter::operator()(void**) const: error: undefined reference to 'udat_close_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::IntlDateTimeFormat::UFieldPositionIteratorDeleter::operator()(UFieldPositionIterator*) const: error: undefined reference to 'ufieldpositer_close_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::IntlDateTimeFormat::formatToParts(JSC::ExecState&, double): error: undefined reference to 'ufieldpositer_open_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::IntlDateTimeFormat::formatToParts(JSC::ExecState&, double): error: undefined reference to 'udat_formatForFields_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::IntlDateTimeFormat::formatToParts(JSC::ExecState&, double): error: undefined reference to 'udat_formatForFields_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::IntlDateTimeFormat::formatToParts(JSC::ExecState&, double): error: undefined reference to 'ufieldpositer_next_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::localeData(WTF::String const&, unsigned long): error: undefined reference to 'ucal_getKeywordValuesForLocale_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::localeData(WTF::String const&, unsigned long): error: undefined reference to 'uenum_next_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::localeData(WTF::String const&, unsigned long): error: undefined reference to 'uenum_next_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::localeData(WTF::String const&, unsigned long): error: undefined reference to 'uenum_close_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::IntlDateTimeFormat::initializeDateTimeFormat(JSC::ExecState&, JSC::JSValue, JSC::JSValue): error: undefined reference to 'ucal_openTimeZones_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::IntlDateTimeFormat::initializeDateTimeFormat(JSC::ExecState&, JSC::JSValue, JSC::JSValue): error: undefined reference to 'uenum_unext_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::IntlDateTimeFormat::initializeDateTimeFormat(JSC::ExecState&, JSC::JSValue, JSC::JSValue): error: undefined reference to 'ucal_getCanonicalTimeZoneID_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::IntlDateTimeFormat::initializeDateTimeFormat(JSC::ExecState&, JSC::JSValue, JSC::JSValue): error: undefined reference to 'uenum_close_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::IntlDateTimeFormat::initializeDateTimeFormat(JSC::ExecState&, JSC::JSValue, JSC::JSValue): error: undefined reference to 'udatpg_open_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::IntlDateTimeFormat::initializeDateTimeFormat(JSC::ExecState&, JSC::JSValue, JSC::JSValue): error: undefined reference to 'ucal_getCanonicalTimeZoneID_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::IntlDateTimeFormat::initializeDateTimeFormat(JSC::ExecState&, JSC::JSValue, JSC::JSValue): error: undefined reference to 'uenum_close_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::IntlDateTimeFormat::initializeDateTimeFormat(JSC::ExecState&, JSC::JSValue, JSC::JSValue): error: undefined reference to 'ucal_getDefaultTimeZone_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::IntlDateTimeFormat::initializeDateTimeFormat(JSC::ExecState&, JSC::JSValue, JSC::JSValue): error: undefined reference to 'ucal_getDefaultTimeZone_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::IntlDateTimeFormat::initializeDateTimeFormat(JSC::ExecState&, JSC::JSValue, JSC::JSValue): error: undefined reference to 'ucal_getCanonicalTimeZoneID_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::IntlDateTimeFormat::initializeDateTimeFormat(JSC::ExecState&, JSC::JSValue, JSC::JSValue): error: undefined reference to 'udatpg_getBestPattern_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::IntlDateTimeFormat::initializeDateTimeFormat(JSC::ExecState&, JSC::JSValue, JSC::JSValue): error: undefined reference to 'udatpg_close_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::IntlDateTimeFormat::initializeDateTimeFormat(JSC::ExecState&, JSC::JSValue, JSC::JSValue): error: undefined reference to 'udat_open_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::IntlDateTimeFormat::initializeDateTimeFormat(JSC::ExecState&, JSC::JSValue, JSC::JSValue): error: undefined reference to 'ucal_getCanonicalTimeZoneID_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::IntlDateTimeFormat::initializeDateTimeFormat(JSC::ExecState&, JSC::JSValue, JSC::JSValue): error: undefined reference to 'udatpg_getBestPattern_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::IntlDateTimeFormat::format(JSC::ExecState&, double): error: undefined reference to 'udat_format_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlDateTimeFormat.cpp.o:IntlDateTimeFormat.cpp:function JSC::IntlDateTimeFormat::format(JSC::ExecState&, double): error: undefined reference to 'udat_format_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlNumberFormat.cpp.o:IntlNumberFormat.cpp:function JSC::IntlNumberFormat::UNumberFormatDeleter::operator()(void**) const: error: undefined reference to 'unum_close_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlNumberFormat.cpp.o:IntlNumberFormat.cpp:function JSC::IntlNumberFormat::createNumberFormat(JSC::ExecState&): error: undefined reference to 'unum_open_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlNumberFormat.cpp.o:IntlNumberFormat.cpp:function JSC::IntlNumberFormat::createNumberFormat(JSC::ExecState&): error: undefined reference to 'unum_setAttribute_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlNumberFormat.cpp.o:IntlNumberFormat.cpp:function JSC::IntlNumberFormat::createNumberFormat(JSC::ExecState&): error: undefined reference to 'unum_setAttribute_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlNumberFormat.cpp.o:IntlNumberFormat.cpp:function JSC::IntlNumberFormat::createNumberFormat(JSC::ExecState&): error: undefined reference to 'unum_setAttribute_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlNumberFormat.cpp.o:IntlNumberFormat.cpp:function JSC::IntlNumberFormat::createNumberFormat(JSC::ExecState&): error: undefined reference to 'unum_setAttribute_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlNumberFormat.cpp.o:IntlNumberFormat.cpp:function JSC::IntlNumberFormat::createNumberFormat(JSC::ExecState&): error: undefined reference to 'unum_setTextAttribute_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlNumberFormat.cpp.o:IntlNumberFormat.cpp:function JSC::IntlNumberFormat::formatNumber(JSC::ExecState&, double): error: undefined reference to 'unum_formatDouble_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlNumberFormat.cpp.o:IntlNumberFormat.cpp:function JSC::IntlNumberFormat::formatNumber(JSC::ExecState&, double): error: undefined reference to 'unum_formatDouble_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlObject.cpp.o:IntlObject.cpp:function JSC::numberingSystemsForLocale(WTF::String const&): error: undefined reference to 'unumsys_open_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlObject.cpp.o:IntlObject.cpp:function JSC::numberingSystemsForLocale(WTF::String const&): error: undefined reference to 'unumsys_getName_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlObject.cpp.o:IntlObject.cpp:function JSC::numberingSystemsForLocale(WTF::String const&): error: undefined reference to 'unumsys_close_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlObject.cpp.o:IntlObject.cpp:function JSC::numberingSystemsForLocale(WTF::String const&): error: undefined reference to 'unumsys_openAvailableNames_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlObject.cpp.o:IntlObject.cpp:function JSC::numberingSystemsForLocale(WTF::String const&): error: undefined reference to 'uenum_next_57'
CMakeFiles/JavaScriptCore.dir/runtime/IntlObject.cpp.o:IntlObject.cpp:function JSC::defaultLocale(JSC::ExecState&): error: undefined reference to 'uloc_getDefault_57'
CMakeFiles/JavaScriptCore.dir/runtime/JSGlobalObject.cpp.o:JSGlobalObject.cpp:function JSC::JSGlobalObject::intlCollatorAvailableLocales(): error: undefined reference to 'ucol_countAvailable_57'
CMakeFiles/JavaScriptCore.dir/runtime/JSGlobalObject.cpp.o:JSGlobalObject.cpp:function JSC::JSGlobalObject::intlCollatorAvailableLocales(): error: undefined reference to 'ucol_getAvailable_57'
CMakeFiles/JavaScriptCore.dir/runtime/JSGlobalObject.cpp.o:JSGlobalObject.cpp:function JSC::JSGlobalObject::intlDateTimeFormatAvailableLocales(): error: undefined reference to 'udat_countAvailable_57'
CMakeFiles/JavaScriptCore.dir/runtime/JSGlobalObject.cpp.o:JSGlobalObject.cpp:function JSC::JSGlobalObject::intlDateTimeFormatAvailableLocales(): error: undefined reference to 'udat_getAvailable_57'
CMakeFiles/JavaScriptCore.dir/runtime/JSGlobalObject.cpp.o:JSGlobalObject.cpp:function JSC::JSGlobalObject::intlNumberFormatAvailableLocales(): error: undefined reference to 'unum_countAvailable_57'
CMakeFiles/JavaScriptCore.dir/runtime/JSGlobalObject.cpp.o:JSGlobalObject.cpp:function JSC::JSGlobalObject::intlNumberFormatAvailableLocales(): error: undefined reference to 'unum_getAvailable_57'
CMakeFiles/JavaScriptCore.dir/runtime/StringPrototype.cpp.o:StringPrototype.cpp:function JSC::stringProtoFuncNormalize(JSC::ExecState*): error: undefined reference to 'unorm2_getNFCInstance_57'
CMakeFiles/JavaScriptCore.dir/runtime/StringPrototype.cpp.o:StringPrototype.cpp:function JSC::stringProtoFuncNormalize(JSC::ExecState*): error: undefined reference to 'unorm2_getNFKCInstance_57'
CMakeFiles/JavaScriptCore.dir/runtime/StringPrototype.cpp.o:StringPrototype.cpp:function JSC::stringProtoFuncNormalize(JSC::ExecState*): error: undefined reference to 'unorm2_getNFDInstance_57'
CMakeFiles/JavaScriptCore.dir/runtime/StringPrototype.cpp.o:StringPrototype.cpp:function JSC::stringProtoFuncNormalize(JSC::ExecState*): error: undefined reference to 'unorm2_normalize_57'
CMakeFiles/JavaScriptCore.dir/runtime/StringPrototype.cpp.o:StringPrototype.cpp:function JSC::stringProtoFuncNormalize(JSC::ExecState*): error: undefined reference to 'unorm2_normalize_57'
CMakeFiles/JavaScriptCore.dir/runtime/StringPrototype.cpp.o:StringPrototype.cpp:function JSC::stringProtoFuncNormalize(JSC::ExecState*): error: undefined reference to 'unorm2_getNFKDInstance_57'
CMakeFiles/JavaScriptCore.dir/runtime/StringPrototype.cpp.o:StringPrototype.cpp:function JSC::toLocaleCase(JSC::ExecState*, int (*)(unsigned short*, int, unsigned short const*, int, char const*, UErrorCode*)): error: undefined reference to 'u_errorName_57'
CMakeFiles/JavaScriptCore.dir/runtime/StringPrototype.cpp.o:StringPrototype.cpp:function JSC::toLocaleCase(JSC::ExecState*, int (*)(unsigned short*, int, unsigned short const*, int, char const*, UErrorCode*)): error: undefined reference to 'u_errorName_57'
CMakeFiles/JavaScriptCore.dir/runtime/StringPrototype.cpp.o:StringPrototype.cpp:function JSC::stringProtoFuncToLocaleLowerCase(JSC::ExecState*): error: undefined reference to 'u_strToLower_57'
CMakeFiles/JavaScriptCore.dir/runtime/StringPrototype.cpp.o:StringPrototype.cpp:function JSC::stringProtoFuncToLocaleLowerCase(JSC::ExecState*): error: undefined reference to 'u_strToLower_57'
CMakeFiles/JavaScriptCore.dir/runtime/StringPrototype.cpp.o:StringPrototype.cpp:function JSC::stringProtoFuncToLocaleUpperCase(JSC::ExecState*): error: undefined reference to 'u_strToUpper_57'
CMakeFiles/JavaScriptCore.dir/runtime/StringPrototype.cpp.o:StringPrototype.cpp:function JSC::stringProtoFuncToLocaleUpperCase(JSC::ExecState*): error: undefined reference to 'u_strToUpper_57'
CMakeFiles/JavaScriptCore.dir/yarr/YarrInterpreter.cpp.o:YarrInterpreter.cpp:function JSC::Yarr::ByteCompiler::emitDisjunction(JSC::Yarr::PatternDisjunction*, unsigned int, unsigned int): error: undefined reference to 'u_tolower_57'
CMakeFiles/JavaScriptCore.dir/yarr/YarrInterpreter.cpp.o:YarrInterpreter.cpp:function JSC::Yarr::ByteCompiler::emitDisjunction(JSC::Yarr::PatternDisjunction*, unsigned int, unsigned int): error: undefined reference to 'u_toupper_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringImpl.cpp.o):StringImpl.cpp:function WTF::StringImpl::convertToLowercaseWithoutLocaleStartingAtFailingIndex8Bit(unsigned int): error: undefined reference to 'u_tolower_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringImpl.cpp.o):StringImpl.cpp:function WTF::StringImpl::convertToLowercaseWithoutLocale(): error: undefined reference to 'u_strToLower_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringImpl.cpp.o):StringImpl.cpp:function WTF::StringImpl::convertToLowercaseWithoutLocale(): error: undefined reference to 'u_strToLower_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringImpl.cpp.o):StringImpl.cpp:function WTF::StringImpl::convertToUppercaseWithoutLocale(): error: undefined reference to 'u_toupper_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringImpl.cpp.o):StringImpl.cpp:function WTF::StringImpl::convertToUppercaseWithoutLocale(): error: undefined reference to 'u_strToUpper_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringImpl.cpp.o):StringImpl.cpp:function WTF::StringImpl::convertToUppercaseWithoutLocale(): error: undefined reference to 'u_strToUpper_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringImpl.cpp.o):StringImpl.cpp:function WTF::StringImpl::convertToUppercaseWithoutLocale(): error: undefined reference to 'u_toupper_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringImpl.cpp.o):StringImpl.cpp:function WTF::StringImpl::foldCase(): error: undefined reference to 'u_strFoldCase_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringImpl.cpp.o):StringImpl.cpp:function WTF::StringImpl::foldCase(): error: undefined reference to 'u_strFoldCase_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringImpl.cpp.o):StringImpl.cpp:function WTF::StringImpl::foldCase(): error: undefined reference to 'u_foldCase_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringImpl.cpp.o):StringImpl.cpp:function WTF::StringImpl::stripWhiteSpace(): error: undefined reference to 'u_charDirection_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringImpl.cpp.o):StringImpl.cpp:function WTF::StringImpl::stripWhiteSpace(): error: undefined reference to 'u_charDirection_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringImpl.cpp.o):StringImpl.cpp:function WTF::StringImpl::findIgnoringCase(unsigned char const*, unsigned int): error: undefined reference to 'u_foldCase_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringImpl.cpp.o):StringImpl.cpp:function WTF::StringImpl::findIgnoringCase(WTF::StringImpl*, unsigned int): error: undefined reference to 'u_foldCase_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringImpl.cpp.o):StringImpl.cpp:function WTF::StringImpl::findIgnoringCase(WTF::StringImpl*, unsigned int): error: undefined reference to 'u_memcasecmp_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringImpl.cpp.o):StringImpl.cpp:function WTF::StringImpl::findIgnoringCase(WTF::StringImpl*, unsigned int): error: undefined reference to 'u_foldCase_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringImpl.cpp.o):StringImpl.cpp:function WTF::StringImpl::reverseFindIgnoringCase(WTF::StringImpl*, unsigned int): error: undefined reference to 'u_memcasecmp_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringImpl.cpp.o):StringImpl.cpp:function WTF::StringImpl::defaultWritingDirection(bool*): error: undefined reference to 'u_charDirection_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringView.cpp.o):StringView.cpp:function WTF::StringView::GraphemeClusters::Iterator::Iterator(WTF::StringView const&, unsigned int): error: undefined reference to 'ubrk_following_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringView.cpp.o):StringView.cpp:function WTF::StringView::GraphemeClusters::Iterator::operator++(): error: undefined reference to 'ubrk_following_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextBreakIterator.cpp.o):TextBreakIterator.cpp:function WTF::setContextAwareTextForIterator(UBreakIterator&, WTF::StringView, unsigned short const*, unsigned int) [clone .isra.10]: error: undefined reference to 'ubrk_setUText_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextBreakIterator.cpp.o):TextBreakIterator.cpp:function WTF::setContextAwareTextForIterator(UBreakIterator&, WTF::StringView, unsigned short const*, unsigned int) [clone .isra.10]: error: undefined reference to 'utext_close_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextBreakIterator.cpp.o):TextBreakIterator.cpp:function WTF::setContextAwareTextForIterator(UBreakIterator&, WTF::StringView, unsigned short const*, unsigned int) [clone .isra.10]: error: undefined reference to 'ubrk_setUText_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextBreakIterator.cpp.o):TextBreakIterator.cpp:function WTF::setContextAwareTextForIterator(UBreakIterator&, WTF::StringView, unsigned short const*, unsigned int) [clone .isra.10]: error: undefined reference to 'utext_close_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextBreakIterator.cpp.o):TextBreakIterator.cpp:function WTF::TextBreakIterator::TextBreakIterator(WTF::StringView, WTF::TextBreakIterator::Mode, WTF::AtomicString const&): error: undefined reference to 'ubrk_open_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextBreakIterator.cpp.o):TextBreakIterator.cpp:function WTF::TextBreakIterator::TextBreakIterator(WTF::StringView, WTF::TextBreakIterator::Mode, WTF::AtomicString const&): error: undefined reference to 'ubrk_setUText_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextBreakIterator.cpp.o):TextBreakIterator.cpp:function WTF::TextBreakIterator::TextBreakIterator(WTF::StringView, WTF::TextBreakIterator::Mode, WTF::AtomicString const&): error: undefined reference to 'utext_close_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextBreakIterator.cpp.o):TextBreakIterator.cpp:function WTF::TextBreakIterator::TextBreakIterator(WTF::StringView, WTF::TextBreakIterator::Mode, WTF::AtomicString const&): error: undefined reference to 'ubrk_open_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextBreakIterator.cpp.o):TextBreakIterator.cpp:function WTF::TextBreakIterator::TextBreakIterator(WTF::StringView, WTF::TextBreakIterator::Mode, WTF::AtomicString const&): error: undefined reference to 'ubrk_close_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextBreakIterator.cpp.o):TextBreakIterator.cpp:function WTF::TextBreakIterator::TextBreakIterator(WTF::StringView, WTF::TextBreakIterator::Mode, WTF::AtomicString const&): error: undefined reference to 'ubrk_open_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextBreakIterator.cpp.o):TextBreakIterator.cpp:function WTF::wordBreakIterator(WTF::StringView): error: undefined reference to 'ubrk_setUText_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextBreakIterator.cpp.o):TextBreakIterator.cpp:function WTF::wordBreakIterator(WTF::StringView): error: undefined reference to 'utext_close_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextBreakIterator.cpp.o):TextBreakIterator.cpp:function WTF::wordBreakIterator(WTF::StringView): error: undefined reference to 'ubrk_setText_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextBreakIterator.cpp.o):TextBreakIterator.cpp:function WTF::wordBreakIterator(WTF::StringView): error: undefined reference to 'ubrk_open_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextBreakIterator.cpp.o):TextBreakIterator.cpp:function WTF::sentenceBreakIterator(WTF::StringView): error: undefined reference to 'ubrk_setText_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextBreakIterator.cpp.o):TextBreakIterator.cpp:function WTF::closeLineBreakIterator(UBreakIterator*&): error: undefined reference to 'ubrk_close_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextBreakIterator.cpp.o):TextBreakIterator.cpp:function WTF::NonSharedCharacterBreakIterator::NonSharedCharacterBreakIterator(WTF::StringView): error: undefined reference to 'ubrk_setText_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextBreakIterator.cpp.o):TextBreakIterator.cpp:function WTF::NonSharedCharacterBreakIterator::~NonSharedCharacterBreakIterator(): error: undefined reference to 'ubrk_close_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextBreakIterator.cpp.o):TextBreakIterator.cpp:function WTF::isWordTextBreak(UBreakIterator*): error: undefined reference to 'ubrk_getRuleStatus_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextBreakIterator.cpp.o):TextBreakIterator.cpp:function WTF::numGraphemeClusters(WTF::StringView): error: undefined reference to 'ubrk_next_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextBreakIterator.cpp.o):TextBreakIterator.cpp:function WTF::numCharactersInGraphemeClusters(WTF::StringView, unsigned int): error: undefined reference to 'ubrk_next_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextBreakIterator.cpp.o):TextBreakIterator.cpp:function WTF::numCharactersInGraphemeClusters(WTF::StringView, unsigned int): error: undefined reference to 'ubrk_current_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextBreakIterator.cpp.o):TextBreakIterator.cpp:function WTF::acquireLineBreakIterator(WTF::StringView, WTF::AtomicString const&, unsigned short const*, unsigned int, WTF::LineBreakIteratorMode): error: undefined reference to 'uloc_setKeywordValue_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextBreakIterator.cpp.o):TextBreakIterator.cpp:function WTF::acquireLineBreakIterator(WTF::StringView, WTF::AtomicString const&, unsigned short const*, unsigned int, WTF::LineBreakIteratorMode): error: undefined reference to 'uloc_setKeywordValue_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProviderLatin1.cpp.o):UTextProviderLatin1.cpp:function WTF::uTextLatin1Clone(UText*, UText const*, signed char, UErrorCode*): error: undefined reference to 'utext_setup_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProviderLatin1.cpp.o):UTextProviderLatin1.cpp:function WTF::openLatin1UTextProvider(WTF::UTextWithBuffer*, unsigned char const*, unsigned int, UErrorCode*): error: undefined reference to 'utext_setup_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProviderLatin1.cpp.o):UTextProviderLatin1.cpp:function WTF::openLatin1ContextAwareUTextProvider(WTF::UTextWithBuffer*, unsigned char const*, unsigned int, unsigned short const*, int, UErrorCode*): error: undefined reference to 'utext_setup_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProviderUTF16.cpp.o):UTextProviderUTF16.cpp:function WTF::openUTF16ContextAwareUTextProvider(UText*, unsigned short const*, unsigned int, unsigned short const*, int, UErrorCode*): error: undefined reference to 'utext_setup_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/unicode/icu/CollatorICU.cpp.o):CollatorICU.cpp:function WTF::Collator::Collator(char const*, bool): error: undefined reference to 'ucol_open_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/unicode/icu/CollatorICU.cpp.o):CollatorICU.cpp:function WTF::Collator::Collator(char const*, bool): error: undefined reference to 'ucol_open_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/unicode/icu/CollatorICU.cpp.o):CollatorICU.cpp:function WTF::Collator::Collator(char const*, bool): error: undefined reference to 'ucol_open_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/unicode/icu/CollatorICU.cpp.o):CollatorICU.cpp:function WTF::Collator::~Collator(): error: undefined reference to 'ucol_close_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/unicode/icu/CollatorICU.cpp.o):CollatorICU.cpp:function WTF::createIterator(WTF::StringView): error: undefined reference to 'uiter_setString_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/unicode/icu/CollatorICU.cpp.o):CollatorICU.cpp:function WTF::Collator::collate(WTF::StringView, WTF::StringView) const: error: undefined reference to 'ucol_strcollIter_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/unicode/icu/CollatorICU.cpp.o):CollatorICU.cpp:function WTF::Collator::collateUTF8(char const*, char const*) const: error: undefined reference to 'uiter_setUTF8_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/unicode/icu/CollatorICU.cpp.o):CollatorICU.cpp:function WTF::Collator::collateUTF8(char const*, char const*) const: error: undefined reference to 'uiter_setUTF8_57'
../../lib/libWTFGTK.a(../../lib/../Source/WTF/wtf/CMakeFiles/WTF.dir/unicode/icu/CollatorICU.cpp.o):CollatorICU.cpp:function WTF::Collator::collateUTF8(char const*, char const*) const: error: undefined reference to 'ucol_strcollIter_57'
collect2: error: ld returned 1 exit status
Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/build.make:25225: recipe for target 'lib/libjavascriptcoregtk-4.0.so.18.6.5' failed
make[2]: *** [lib/libjavascriptcoregtk-4.0.so.18.6.5] Error 1
CMakeFiles/Makefile2:485: recipe for target 'Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/all' failed
make[1]: *** [Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

First I tried to understand these weired “undefined reference to…” errors until I saw that there was an error before related to ld.gold…

After a bit of research I found this: https://sourceware.org/bugzilla/show_bug.cgi?id=21062

The used version on the latest jetpack is kind of old -> 2.26 and so I compiled 2.29 and installed it. But obviously the build process is not using the latest version…

I’m kind of lost here and already have invested a big amount of time to get this done. I’m not giving up before I have a running version webkit!

Do you guys have any suggestions, hints or ideas which could help me to solve this issue ?

I really would appretiate any kind of help!

Thank you in advance.

Cheers,
mitp0sh