Closed
Bug 1363506
Opened 7 years ago
Closed 7 years ago
Cannot find OSPreferences Symbols on MinGW Build when compiling with --without-intl-api
Categories
(Core :: Internationalization, defect, P3)
Core
Internationalization
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: tjr, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [tor])
I'm getting a linking error at the end of a MinGW build that includes ac_add_options --without-intl-api:
> 8:34.68 ../../intl/locale/Unified_cpp_intl_locale0.o: In function `ZN7mozilla4intl13OSPreferences16GetSystemLocalesER8nsTArrayI9nsCStringE':
> 8:34.68 /home/tom/Documents/moz/mingw-work/just-build-3/intl/locale/OSPreferences.cpp:46: undefined reference to `mozilla::intl::OSPreferences::ReadSystemLocales(nsTArray<nsCString>&)'
> 8:34.68 ../../intl/locale/Unified_cpp_intl_locale0.o: In function `ZN7mozilla4intl13OSPreferences7RefreshEv':
> 8:34.68 /home/tom/Documents/moz/mingw-work/just-build-3/intl/locale/OSPreferences.cpp:62: undefined reference to `mozilla::intl::OSPreferences::ReadSystemLocales(nsTArray<nsCString>&)'
> 8:34.68 ../../intl/locale/Unified_cpp_intl_locale0.o: In function `ZN7mozilla4intl13OSPreferences18GetDateTimePatternEiiRK10nsACStringR9nsAString@20':
> 8:34.68 /home/tom/Documents/moz/mingw-work/just-build-3/intl/locale/OSPreferences.cpp:382: undefined reference to `mozilla::intl::OSPreferences::ReadDateTimePattern(mozilla::intl::OSPreferences::DateTimeFormatStyle, mozilla::intl::OSPreferences::DateTimeFormatStyle, nsACString const&, nsAString&)'
> 8:34.68 collect2: error: ld returned 1 exit status
When I remove '--without-intl-api' I do not see the linking errors, and the build fails with:
> 25:31.75 cp: cannot stat 'instgen/helper.exe': No such file or directory
> 25:31.76 /home/tom/Documents/moz/mingw-work/OSPreferences/toolkit/mozapps/installer/windows/nsis/makensis.mk:89: recipe for target 'uninstaller' failed
> 25:31.76 make[6]: *** [uninstaller] Error 1
> 25:31.76 Makefile:20: recipe for target 'libs' failed
> 25:31.76 make[5]: *** [libs] Error 2
> 25:31.76 /home/tom/Documents/moz/mingw-work/OSPreferences/config/recurse.mk:100: recipe for target 'browser/libs' failed
> 25:31.76 make[4]: *** [browser/libs] Error 2
> 25:31.76 /home/tom/Documents/moz/mingw-work/OSPreferences/config/recurse.mk:32: recipe for target 'libs' failed
> 25:31.76 make[3]: *** [libs] Error 2
> 25:31.76 /home/tom/Documents/moz/mingw-work/OSPreferences/config/rules.mk:519: recipe for target 'default' failed
> 25:31.76 make[2]: *** [default] Error 2
> 25:31.76 /home/tom/Documents/moz/mingw-work/OSPreferences/client.mk:419: recipe for target 'realbuild' failed
> 25:31.76 make[1]: *** [realbuild] Error 2
> 25:31.76 client.mk:170: recipe for target 'build' failed
> 25:31.76 make: *** [build] Error 2
> 25:31.80 0 compiler warnings present.
> 25:31.88 /usr/bin/notify-send --app-name=Mozilla Build System Mozilla Build System Build failed
Updated•7 years ago
|
Priority: -- → P3
Reporter | ||
Comment 1•7 years ago
|
||
This is extremely low priority, probably even WONTFIX, since I'm not aware of any consumers who need to compile in this configuration.
Assignee: tom → nobody
Severity: normal → enhancement
Summary: Cannot find OSPreferences Symbols on MinGW Build → Cannot find OSPreferences Symbols on MinGW Build when compiling with --without-intl-api
Comment 2•7 years ago
|
||
(In reply to Tom Ritter [:tjr] from comment #1)
> This is extremely low priority, probably even WONTFIX, since I'm not aware
> of any consumers who need to compile in this configuration.
We don't support --without-intl-api on Windows build. It will work for spidermonkey only build. --without-intl-api will work on Fennec/android.
Reporter | ||
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•