Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-18299

Use ld wrapper for compiling Enterprise GO tools in RHEL 5

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.3, 3.1.3
    • Affects Version/s: 3.0.2, 3.1.2
    • Component/s: Build, Tools
    • Labels:
      None
    • Fully Compatible
    • Linux

      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
      

            Assignee:
            ernie.hershey@mongodb.com Ernie Hershey (Inactive)
            Reporter:
            ernie.hershey@mongodb.com Ernie Hershey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: