Closed
Bug 1234033
Opened 9 years ago
Closed 8 years ago
--with-system-bz2 fails to build with Clang
Categories
(Toolkit :: Application Update, defect)
Toolkit
Application Update
Tracking
()
RESOLVED
FIXED
mozilla46
People
(Reporter: jbeich, Assigned: jbeich)
References
Details
Attachments
(1 file)
58 bytes,
text/x-review-board-request
|
dvander
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details |
mfbt/Compiler.h doesn't define MOZ_IS_GCC for Clang which makes config/gcc_hidden.h hide globals from libbz2.so. Before bug 836078 the code used #if (__GNUC__ >= 4) which worked fine for Clang pretending to be GCC 4.2.1. updater.o: In function `PatchFile::LoadSourceFile(__sFILE*)': toolkit/mozapps/update/updater/updater.cpp:(.text+0x1349): undefined reference to `BZ2_crc32Table' /usr/bin/ld: updater.o: relocation R_X86_64_PC32 against `BZ2_crc32Table' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value
Review commit: https://reviewboard.mozilla.org/r/28707/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/28707/
Attachment #8700401 -
Flags: review?(dvander)
Comment on attachment 8700401 [details] MozReview Request: Bug 1234033 - Unbreak build --with-system-bz2 using Clang. r?dvander https://reviewboard.mozilla.org/r/28707/#review25899
Attachment #8700401 -
Flags: review?(dvander) → review+
Assignee: nobody → jbeich
Keywords: checkin-needed
Comment on attachment 8700401 [details] MozReview Request: Bug 1234033 - Unbreak build --with-system-bz2 using Clang. r?dvander Less downstream patches for ESR45. Approval Request Comment [Feature/regressing bug #]: bug 836078 regression [User impact if declined]: Broken build --with-system-bz2 on some Clang platforms unless --disable-updater is also passed [Describe test coverage new/current, TreeHerder]: Try build via reviewboard, landed in m-i, soon m-c [Risks and why]: Broken build [String/UUID change made/needed]: None
Attachment #8700401 -
Flags: approval-mozilla-aurora?
Updated•8 years ago
|
Comment 5•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/61a36f055e0b
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
Updated•8 years ago
|
Attachment #8700401 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 6•8 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-aurora/rev/804e88d73ce2
Updated•8 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•