[SERVER-18299] Use ld wrapper for compiling Enterprise GO tools in RHEL 5 Created: 01/May/15  Updated: 19/Sep/15  Resolved: 04/May/15

Status: Closed
Project: Core Server
Component/s: Build, Tools
Affects Version/s: 3.0.2, 3.1.2
Fix Version/s: 3.0.3, 3.1.3

Type: Bug Priority: Major - P3
Reporter: Ernie Hershey Assignee: Ernie Hershey
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Operating System: Linux
Backport Completed:
Participants:

 Description   

The system linker in RHEL 5.5 doesn't support the --build-id parameter which Go 1.4 passes to it when linking ssl and sasl for enterprise builds.

This leads to errors such as in this task:

 [2015/05/01 16:12:23.605] /usr/bin/ld: unrecognized option '--build-id=none'
 [2015/05/01 16:12:23.605] /usr/bin/ld: use the --help option for usage information
 [2015/05/01 16:12:23.605] collect2: ld returned 1 exit status
...
 [2015/05/01 16:12:29.925] ERROR: external binary not found: /srv/10gen/mci-exec/mci/shell/src/src/mongo-tools/mongodump



 Comments   
Comment by Githook User [ 01/May/15 ]

Author:

{u'username': u'ehershey', u'name': u'Ernie Hershey', u'email': u'ernie.hershey@10gen.com'}

Message: SERVER-18299 Use ld wrapper to build Go tools

(cherry picked from commit 689278c9bc3755a837ae33eb27bec1ace7952067)
Branch: v3.0
https://github.com/mongodb/mongo/commit/d1b8a934320c42d3554f320e5352d16dfc212b24

Comment by Githook User [ 01/May/15 ]

Author:

{u'username': u'ehershey', u'name': u'Ernie Hershey', u'email': u'ernie.hershey@10gen.com'}

Message: SERVER-18299 Use ld wrapper to build Go tools
Branch: master
https://github.com/mongodb/mongo/commit/689278c9bc3755a837ae33eb27bec1ace7952067

Generated at Thu Feb 08 03:47:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.