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

ppc64le: go compiled programs should statically link with libgo

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.5, 3.3.1
    • Component/s: Build
    • Labels:

      Description

      When gccgo compiles binaries, it dynamically links those binaries with libgo.so. This requires that users have libgo.so installed.

      MongoDB should compile binaries with static linking for libgo instead.

      Example:

      go build -gccgoflags '-static-libgo' -o bin/mongodump mongodump/main/mongodump.go
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: