Closed Bug 1671695 Opened 4 years ago Closed 4 years ago

--with-system-icu fails to build: error: undefined hidden symbol

Categories

(Core :: Internationalization, defect)

defect

Tracking

()

RESOLVED FIXED
84 Branch
Tracking Status
firefox83 --- fixed
firefox84 --- fixed

People

(Reporter: matias, Assigned: dminor)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

After bug 1669573 was merged, building with system ICU started to fail with "error: undefined hidden symbol" for the following symbols:

  • icu_67::Calendar::createInstance(icu_67::TimeZone*, icu_67::Locale const&, UErrorCode&)
  • icu_67::Calendar::setTimeInMillis(double, UErrorCode&)
  • icu_67::DateFormatSymbols::createForLocale(icu_67::Locale const&, UErrorCode&)
  • icu_67::DateFormatSymbols::~DateFormatSymbols()
  • icu_67::UMemory::operator delete(void*)
  • icu_67::Calendar::get(UCalendarDateFields, UErrorCode&) const
  • icu_67::DateFormatSymbols::getMonths(int&, icu_67::DateFormatSymbols::DtContextType, icu_67::DateFormatSymbols::DtWidthType) const
  • icu_67::DateFormatSymbols::getWeekdays(int&, icu_67::DateFormatSymbols::DtContextType, icu_67::DateFormatSymbols::DtWidthType) const

Applying the attached patch fixes the issue.

Regressed by: 1669573
Has Regression Range: --- → yes
Assignee: nobody → dminor

Thank you for the patch and sorry about the inconvenience!

Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by dminor@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/89873d4afb47
Fix system icu build; r=zbraniecki
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch

Comment on attachment 9182118 [details]
Bug 1671695 - Fix system icu build; r=zbraniecki!

Beta/Release Uplift Approval Request

  • User impact if declined: Build is broken for users who build with system ICU library.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Low risk, this only affects build configuration.
  • String changes made/needed: None
Attachment #9182118 - Flags: approval-mozilla-beta?

Comment on attachment 9182118 [details]
Bug 1671695 - Fix system icu build; r=zbraniecki!

Approved for 83 beta 3, thanks.

Attachment #9182118 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: