Closed Bug 971669 Opened 7 years ago Closed 7 years ago

--with-system-icu broken

Categories

(Firefox :: Untriaged, defect)

30 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 970757

People

(Reporter: octoploid, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0 (Beta/Release)
Build ID: 20140209161857

Steps to reproduce:

With:
ac_add_options --with-system-icu
ac_add_options --enable-system-icu
in .mozconfig I get during libxul linking:


Actual results:

../../intl/unicharutil/util/internal/libintl_unicharutil_util_internal.a(Unified_cpp_intl_unicharutil_util_internal0.o):/var/tmp/moz-build-dir/intl/unicharutil/util/internal/
Unified_cpp_intl_unicharutil_util_internal0.cpp:function ICUUtils::LocalizeNumber(double, ICUUtils::LanguageTagIterForContent&, nsAString_internal&): error: undefined referen
ce to 'unum_open'
../../intl/unicharutil/util/internal/libintl_unicharutil_util_internal.a(Unified_cpp_intl_unicharutil_util_internal0.o):/var/tmp/moz-build-dir/intl/unicharutil/util/internal/
Unified_cpp_intl_unicharutil_util_internal0.cpp:function ICUUtils::LocalizeNumber(double, ICUUtils::LanguageTagIterForContent&, nsAString_internal&): error: undefined referen
ce to 'unum_setAttribute'
../../intl/unicharutil/util/internal/libintl_unicharutil_util_internal.a(Unified_cpp_intl_unicharutil_util_internal0.o):/var/tmp/moz-build-dir/intl/unicharutil/util/internal/
Unified_cpp_intl_unicharutil_util_internal0.cpp:function ICUUtils::LocalizeNumber(double, ICUUtils::LanguageTagIterForContent&, nsAString_internal&): error: undefined referen
ce to 'unum_formatDouble'
../../intl/unicharutil/util/internal/libintl_unicharutil_util_internal.a(Unified_cpp_intl_unicharutil_util_internal0.o):/var/tmp/moz-build-dir/intl/unicharutil/util/internal/
Unified_cpp_intl_unicharutil_util_internal0.cpp:function ICUUtils::LocalizeNumber(double, ICUUtils::LanguageTagIterForContent&, nsAString_internal&): error: undefined referen
ce to 'unum_close'
../../intl/unicharutil/util/internal/libintl_unicharutil_util_internal.a(Unified_cpp_intl_unicharutil_util_internal0.o):/var/tmp/moz-build-dir/intl/unicharutil/util/internal/
Unified_cpp_intl_unicharutil_util_internal0.cpp:function ICUUtils::LocalizeNumber(double, ICUUtils::LanguageTagIterForContent&, nsAString_internal&): error: undefined referen
ce to 'unum_close'
../../intl/unicharutil/util/internal/libintl_unicharutil_util_internal.a(Unified_cpp_intl_unicharutil_util_internal0.o):/var/tmp/moz-build-dir/intl/unicharutil/util/internal/
Unified_cpp_intl_unicharutil_util_internal0.cpp:function ICUUtils::ParseNumber(nsAString_internal&, ICUUtils::LanguageTagIterForContent&): error: undefined reference to 'unum
_open'
../../intl/unicharutil/util/internal/libintl_unicharutil_util_internal.a(Unified_cpp_intl_unicharutil_util_internal0.o):/var/tmp/moz-build-dir/intl/unicharutil/util/internal/
Unified_cpp_intl_unicharutil_util_internal0.cpp:function ICUUtils::ParseNumber(nsAString_internal&, ICUUtils::LanguageTagIterForContent&): error: undefined reference to 'unum
_parseDouble'
../../intl/unicharutil/util/internal/libintl_unicharutil_util_internal.a(Unified_cpp_intl_unicharutil_util_internal0.o):/var/tmp/moz-build-dir/intl/unicharutil/util/internal/
Unified_cpp_intl_unicharutil_util_internal0.cpp:function ICUUtils::ParseNumber(nsAString_internal&, ICUUtils::LanguageTagIterForContent&): error: undefined reference to 'unum
_close'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_Collator_availableLocales(JSContext*, unsigned in
t, JS::Value*): error: undefined reference to 'ucol_countAvailable'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_Collator_availableLocales(JSContext*, unsigned in
t, JS::Value*): error: undefined reference to 'ucol_getAvailable'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_availableCollations(JSContext*, unsigned int, JS:
:Value*): error: undefined reference to 'ucol_getKeywordValuesForLocale'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_availableCollations(JSContext*, unsigned int, JS:
:Value*): error: undefined reference to 'uenum_count'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_availableCollations(JSContext*, unsigned int, JS:
:Value*): error: undefined reference to 'uenum_next'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_availableCollations(JSContext*, unsigned int, JS:
:Value*): error: undefined reference to 'uenum_close'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_CompareStrings(JSContext*, unsigned int, JS::Valu
e*): error: undefined reference to 'ucol_strcoll'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_CompareStrings(JSContext*, unsigned int, JS::Valu
e*): error: undefined reference to 'ucol_close'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function NewUCollator(JSContext*, JS::Handle<JSObject*>): error: un
defined reference to 'ucol_open'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function NewUCollator(JSContext*, JS::Handle<JSObject*>): error: un
defined reference to 'ucol_setAttribute'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function NewUCollator(JSContext*, JS::Handle<JSObject*>): error: un
defined reference to 'ucol_setAttribute'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function NewUCollator(JSContext*, JS::Handle<JSObject*>): error: un
defined reference to 'ucol_setAttribute'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function NewUCollator(JSContext*, JS::Handle<JSObject*>): error: un
defined reference to 'ucol_setAttribute'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function NewUCollator(JSContext*, JS::Handle<JSObject*>): error: un
defined reference to 'ucol_close'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_NumberFormat_availableLocales(JSContext*, unsigne
d int, JS::Value*): error: undefined reference to 'unum_countAvailable'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_NumberFormat_availableLocales(JSContext*, unsigne
d int, JS::Value*): error: undefined reference to 'unum_getAvailable'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_numberingSystem(JSContext*, unsigned int, JS::Val
ue*): error: undefined reference to 'icu::Locale::Locale(char const*, char const*, char const*, char const*)'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_numberingSystem(JSContext*, unsigned int, JS::Val
ue*): error: undefined reference to 'icu::NumberingSystem::createInstance(icu::Locale const&, UErrorCode&)'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_numberingSystem(JSContext*, unsigned int, JS::Val
ue*): error: undefined reference to 'icu::NumberingSystem::getName() const'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_numberingSystem(JSContext*, unsigned int, JS::Val
ue*): error: undefined reference to 'icu::Locale::~Locale()'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_FormatNumber(JSContext*, unsigned int, JS::Value*
): error: undefined reference to 'unum_formatDouble'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_FormatNumber(JSContext*, unsigned int, JS::Value*
): error: undefined reference to 'unum_formatDouble'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_FormatNumber(JSContext*, unsigned int, JS::Value*
): error: undefined reference to 'unum_close'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function NewUNumberFormat(JSContext*, JS::Handle<JSObject*>): error
: undefined reference to 'unum_open'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function NewUNumberFormat(JSContext*, JS::Handle<JSObject*>): error
: undefined reference to 'unum_setTextAttribute'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function NewUNumberFormat(JSContext*, JS::Handle<JSObject*>): error
: undefined reference to 'unum_setAttribute'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function NewUNumberFormat(JSContext*, JS::Handle<JSObject*>): error
: undefined reference to 'unum_setAttribute'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function NewUNumberFormat(JSContext*, JS::Handle<JSObject*>): error
: undefined reference to 'unum_setAttribute'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_DateTimeFormat_availableLocales(JSContext*, unsig
ned int, JS::Value*): error: undefined reference to 'udat_countAvailable'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_DateTimeFormat_availableLocales(JSContext*, unsig
ned int, JS::Value*): error: undefined reference to 'udat_getAvailable'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_availableCalendars(JSContext*, unsigned int, JS::
Value*): error: undefined reference to 'ucal_open'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_availableCalendars(JSContext*, unsigned int, JS::
Value*): error: undefined reference to 'ucal_getType'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_availableCalendars(JSContext*, unsigned int, JS::
Value*): error: undefined reference to 'ucal_close'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_availableCalendars(JSContext*, unsigned int, JS::
Value*): error: undefined reference to 'ucal_getKeywordValuesForLocale'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_availableCalendars(JSContext*, unsigned int, JS::
Value*): error: undefined reference to 'uenum_count'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_availableCalendars(JSContext*, unsigned int, JS::
Value*): error: undefined reference to 'uenum_next'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_availableCalendars(JSContext*, unsigned int, JS::
Value*): error: undefined reference to 'uenum_close'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_patternForSkeleton(JSContext*, unsigned int, JS::
Value*): error: undefined reference to 'u_strlen'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_patternForSkeleton(JSContext*, unsigned int, JS::
Value*): error: undefined reference to 'udatpg_open'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_patternForSkeleton(JSContext*, unsigned int, JS::
Value*): error: undefined reference to 'udatpg_getBestPattern'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_patternForSkeleton(JSContext*, unsigned int, JS::
Value*): error: undefined reference to 'udatpg_getBestPattern'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_patternForSkeleton(JSContext*, unsigned int, JS::
Value*): error: undefined reference to 'udatpg_close'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_FormatDateTime(JSContext*, unsigned int, JS::Valu
e*): error: undefined reference to 'udat_format'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_FormatDateTime(JSContext*, unsigned int, JS::Valu
e*): error: undefined reference to 'udat_format'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function js::intl_FormatDateTime(JSContext*, unsigned int, JS::Valu
e*): error: undefined reference to 'udat_close'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function NewUDateFormat(JSContext*, JS::Handle<JSObject*>): error: 
undefined reference to 'u_strlen'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function NewUDateFormat(JSContext*, JS::Handle<JSObject*>): error: 
undefined reference to 'u_strlen'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function NewUDateFormat(JSContext*, JS::Handle<JSObject*>): error: 
undefined reference to 'udat_open'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function NewUDateFormat(JSContext*, JS::Handle<JSObject*>): error: 
undefined reference to 'udat_getCalendar'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function NewUDateFormat(JSContext*, JS::Handle<JSObject*>): error: 
undefined reference to 'ucal_setGregorianChange'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function dateTimeFormat_finalize(js::FreeOp*, JSObject*): error: un
defined reference to 'udat_close'
../../dist/lib/libjs_static.a(Unified_cpp_js_src0.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src0.cpp:function collator_finalize(js::FreeOp*, JSObject*): error: undefine
d reference to 'ucol_close'
../../dist/lib/libjs_static.a(Unified_cpp_js_src6.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src6.cpp:function JS_Init(): error: undefined reference to 'u_init'
../../dist/lib/libjs_static.a(Unified_cpp_js_src6.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src6.cpp:function JS_ShutDown(): error: undefined reference to 'u_cleanup'
../../dist/lib/libjs_static.a(Unified_cpp_js_src6.o):/var/tmp/moz-build-dir/js/src/Unified_cpp_js_src6.cpp:function JS_SetICUMemoryFunctions(void* (*)(void const*, unsigned l
ong), void* (*)(void const*, void*, unsigned long), void (*)(void const*, void*)): error: undefined reference to 'u_setMemoryFunctions'
clang-3.5: error: linker command failed with exit code 1 (use -v to see invocation)
/var/tmp/mozilla-central/config/rules.mk:886: recipe for target 'libxul.so' failed



Expected results:

I suspect Mike's configure reshuffle.
Duplicate of bug 966559?
(In reply to Jonathan Watt [:jwatt] from comment #1)
> Duplicate of bug 966559?

I don't think so. The patch from 966559 doesn't help.

Adding "-licui18n -licuuc" to the libxul link invocation fixes the issue.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 970757
You need to log in before you can comment on or make changes to this bug.