Closed
Bug 736608
Opened 13 years ago
Closed 13 years ago
On some linux systems webrtc fails to link due to not finding XML_* functions from expat
Categories
(Core :: WebRTC, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jesup, Unassigned)
References
Details
(Whiteboard: [qa-])
Attachments
(3 files, 1 obsolete file)
2.25 KB,
patch
|
jesup
:
feedback+
|
Details | Diff | Splinter Review |
1.20 KB,
patch
|
Details | Diff | Splinter Review | |
1.95 KB,
patch
|
jesup
:
feedback+
|
Details | Diff | Splinter Review |
This is references from libjingle, which uses 'normal' expat (char, not PR_UniChar).
Fails on builders and on Ethan's Ubuntu 11.10, not on Fedora 15x64
Probably a side-effect of the SipCC checkin or maybe Bas's
libjingle tries to use system expat on linux, but instead ends up looking for an internal link symbol. May be an include-path issue at the heart.
Reporter | ||
Comment 1•13 years ago
|
||
Reporter | ||
Comment 2•13 years ago
|
||
Comment on attachment 606739 [details] [diff] [review]
hack to paper over the external expat problem by building it internal
Note: this patch is not for eventual checkin to mozilla-central; the include issue that causes the base problem should be solved, and this bug kept open until then
Attachment #606739 -
Flags: feedback?(ethanhugg)
Comment 3•13 years ago
|
||
Comment on attachment 606739 [details] [diff] [review]
hack to paper over the external expat problem by building it internal
Review of attachment 606739 [details] [diff] [review]:
-----------------------------------------------------------------
This fixes the problem where it breaks on Ubuntu64 but succeeds on Fedora15. Building expat internally reduces risk of build platform variability. The only downside I see is a marginally longer build time.
Reporter | ||
Comment 4•13 years ago
|
||
hack checked in as https://hg.mozilla.org/projects/alder/rev/10a5f0e2bc71
Reporter | ||
Updated•13 years ago
|
Attachment #606739 -
Flags: feedback?(ethanhugg) → feedback+
Reporter | ||
Comment 5•13 years ago
|
||
Reporter | ||
Comment 6•13 years ago
|
||
Attachment 606831 [details] [diff] - Partial backout of previous patch - re-enable system expat on Mac
https://hg.mozilla.org/projects/alder/rev/41d5c11a453f
Reporter | ||
Comment 7•13 years ago
|
||
Reporter | ||
Updated•13 years ago
|
Attachment #606831 -
Attachment is obsolete: true
Comment 8•13 years ago
|
||
We really don't want to use the system lib on Mac, but we get collisions with the existing expat. The following patch munges the unmunged symbols on the existing expat so that doesn't happen and then uses the libjingle/third_party expat.
Reporter | ||
Comment 9•13 years ago
|
||
Comment on attachment 616262 [details] [diff] [review]
Fix for this linkage problem
f+ with mods to fold expat back into the main list of libs (and remove the now-spurious comment)
Attachment #616262 -
Flags: feedback+
Comment 10•13 years ago
|
||
Checked in with nits as: http://hg.mozilla.org/projects/alder/rev/70cddbbd129b
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•