Closed
Bug 1179805
Opened 8 years ago
Closed 8 years ago
Add compatibility check for glibc version
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox44 fixed)
RESOLVED
FIXED
mozilla44
Tracking | Status | |
---|---|---|
firefox44 | --- | fixed |
People
(Reporter: dustin, Assigned: glandium)
References
Details
Attachments
(1 file)
3.32 KB,
patch
|
mshal
:
review+
|
Details | Diff | Splinter Review |
We have some checks to make sure that Firefox is compatible with older versions of gtk+3, regardless of what it's linked aginst at build time, and we should do the same for glibc.
Assignee | ||
Comment 1•8 years ago
|
||
(In reply to Dustin J. Mitchell [:dustin] from comment #0) > We have some checks to make sure that Firefox is compatible with older > versions of gtk+3 s/gtk+3/libstdc++/ So for prospective assignees, what would need to be replicated is CHECK_STDCXX.
Assignee | ||
Comment 2•8 years ago
|
||
At the same time, make the test for libstdc++ more comprehensible.
Assignee: nobody → mh+mozilla
Attachment #8630375 -
Flags: review?(mshal)
Comment 3•8 years ago
|
||
Comment on attachment 8630375 [details] [diff] [review] Add compatibility check for glibc version, like the one for libstdc++ > ifneq (,$(MOZ_LIBSTDCXX_TARGET_VERSION)$(MOZ_LIBSTDCXX_HOST_VERSION)) > ifneq ($(OS_ARCH),Darwin) Is the Darwin check necessary anymore? It seems the first if check will only be true if the mozconfig specifies --enable-stdcxx-compat, though I may be reading that wrong. >+CHECK_STDCXX = $(call CHECK_SYMBOLS,$(1),GLIBCXX,libstdc++,v[1] > 3 || (v[1] == 3 && v[2] == 4 && v[3] >= 11)) >+CHECK_GLIBC = $(call CHECK_SYMBOLS,$(1),GLIBC,libc,v[1] > 2 || (v[1] == 2 && v[2] > 7)) Can you either use >= in both or > in both for the last check? It's a little odd to have 3.4.11 as the first bad version and 2.7 as the last good version.
Attachment #8630375 -
Flags: review?(mshal) → review+
Comment 5•8 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/65117b62026a
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox42:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 42
Reporter | ||
Comment 6•8 years ago
|
||
Since we don't yet pass this check in TaskCluster (bug 1179818), I'd like to roll this back until we do. Otherwise, we're artificially preventing other work from being done, since the builds fail on this check.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 7•8 years ago
|
||
Backed out at dustin's request over IRC. https://hg.mozilla.org/integration/mozilla-inbound/rev/f6a5ad7edc09
status-firefox42:
fixed → ---
Target Milestone: Firefox 42 → ---
Updated•8 years ago
|
Blocks: q3-bb-tc-migration
Reporter | ||
Comment 8•8 years ago
|
||
I think we can re-land this now. Try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=18b58662c749 If that goes green, I'll re-land, unless there are other objections.
Comment 10•8 years ago
|
||
(In reply to Dustin J. Mitchell [:dustin] from comment #8) > I think we can re-land this now. Try run: > https://treeherder.mozilla.org/#/jobs?repo=try&revision=18b58662c749 > If that goes green, I'll re-land, unless there are other objections. I have a workaround for my issue. I would prefer a minimum glibc version supported configure option though.
Comment 11•8 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e1d9c0f6bcb9
Status: REOPENED → RESOLVED
Closed: 8 years ago → 8 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 44
Comment 12•8 years ago
|
||
For those using a reasonably recent Linux distro for which this causes issues, here is the patch I am using to workaround the issue. http://www.wg9s.com/mozilla/firefox/patches/wg9s2.diff
Updated•4 years ago
|
Component: Build Config → General
Product: Firefox → Firefox Build System
Updated•4 years ago
|
Target Milestone: Firefox 44 → mozilla44
You need to log in
before you can comment on or make changes to this bug.
Description
•