Closed Bug 1218027 Opened 9 years ago Closed 9 years ago

--with-system-icu fails: js/src/jsapi.cpp:69: error: visibility does not match previous declaration

Categories

(Core :: JavaScript: Internationalization API, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox43 --- fixed
firefox44 --- fixed
firefox45 --- fixed
b2g-v2.5 --- fixed

People

(Reporter: jbeich, Unassigned)

References

Details

(Whiteboard: [npotb])

Attachments

(1 file)

Nothing seems to use system ICU by default except for some downstream. So, the build regressed once a file not in config/system-headers was included.

In file included from obj/js/src/Unified_cpp_js_src8.cpp:11:
In file included from js/src/jsapi.cpp:69:
In file included from /usr/local/include/unicode/timezone.h:40:
In file included from /usr/local/include/unicode/unistr.h:31:
In file included from /usr/local/include/unicode/std_string.h:33:
In file included from dist/system_wrappers/string:3:
In file included from /usr/include/c++/v1/string:439:
In file included from dist/system_wrappers/algorithm:3:
In file included from /usr/include/c++/v1/algorithm:628:
In file included from dist/system_wrappers/memory:3:
In file included from /usr/include/c++/v1/memory:600:
In file included from dist/system_wrappers/typeinfo:3:
/usr/include/c++/v1/typeinfo:72:7: error: visibility does not match previous declaration
class _LIBCPP_EXCEPTION_ABI type_info
      ^
/usr/include/c++/v1/__config:221:47: note: expanded from macro '_LIBCPP_EXCEPTION_ABI'
#define _LIBCPP_EXCEPTION_ABI __attribute__ ((__visibility__("default")))
                                              ^
config/gcc_hidden.h:6:13: note: previous attribute is here
#pragma GCC visibility push(hidden)
            ^
Attachment #8678378 - Flags: review?(mh+mozilla)
Attachment #8678378 - Attachment description: fix → Unbreak --with-system-icu build after bug 1172609
Attachment #8678378 - Flags: review?(mh+mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/3fa665625111
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
Comment on attachment 8678378 [details] [diff] [review]
Unbreak --with-system-icu build after bug 1172609

Approval Request Comment
[Feature/regressing bug #]: bug 1172609 regression
[User impact if declined]: broken build --with-system-icu
[Describe test coverage new/current, TreeHerder]: NPOTB after bug 1172609, comment 1, m-i, m-c
[Risks and why]: Low. Mismerge outside of #ifdef MOZ_SHARED_ICU may break build or leak internal symbols.
[String/UUID change made/needed]: None
Attachment #8678378 - Flags: approval-mozilla-beta?
Attachment #8678378 - Flags: approval-mozilla-aurora?
No longer depends on: 1229518
Comment on attachment 8678378 [details] [diff] [review]
Unbreak --with-system-icu build after bug 1172609

Not part of the build, I think it's ok to uplift this to aurora and beta (now that we don't freeze aurora build configs anymore)
Attachment #8678378 - Flags: approval-mozilla-beta?
Attachment #8678378 - Flags: approval-mozilla-beta+
Attachment #8678378 - Flags: approval-mozilla-aurora?
Attachment #8678378 - Flags: approval-mozilla-aurora+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: