[SERVER-12468] Remove glibc version check Created: 24/Jan/14 Updated: 11/Jul/16 Resolved: 04/Dec/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 2.8.0-rc3 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Jonathan Reams |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Minor Change |
| Sprint: | BUILD 2.8.0-rc2 |
| Participants: |
| Description |
|
During our work to establish a build baseline for 2.5.5, we have uncovered some facts that seem to undermine the value of the glibc version check that we perform. Specifically, it is possible that when building on a system offering glibc > 2.2 the generated binary may only be dependent on GLIBC_2.2 level symbols, but still may not be able to run on systems offering only glibc 2.2. The incompatibility arises when the system gcc has been configured to expect feature support compatible with a glibc newer than 2.2, since that is what is shipped on the system (see DT_GNU_HASH and https://bugzilla.redhat.com/show_bug.cgi?id=482848). Since our glibc version check can't detect this sort of misconfiguration, it doesn't actually offer any protection, and we should remove it. |
| Comments |
| Comment by Jonathan Reams [ 04/Dec/14 ] |
|
This was resolved. Going forward, specifying --no-glibc-check will cause an error in scons. |
| Comment by Githook User [ 04/Dec/14 ] |
|
Author: {u'username': u'jbreams', u'name': u'Jonathan Reams', u'email': u'jbreams@mongodb.com'}Message: |
| Comment by Githook User [ 04/Dec/14 ] |
|
Author: {u'username': u'jbreams', u'name': u'Jonathan Reams', u'email': u'jbreams@mongodb.com'}Message: |
| Comment by Githook User [ 04/Dec/14 ] |
|
Author: {u'username': u'jbreams', u'name': u'Jonathan Reams', u'email': u'jbreams@mongodb.com'}Message: |
| Comment by Jonathan Reams [ 06/Nov/14 ] |
|
The first CR (http://codereview.10gen.com/4757293119832064) disables the option in scons, and the second disables it in MCI. They will need to be deployed roughly simultaneously. |