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

can't build clientBuild

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.1
    • Component/s: Build
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      When I invoke "scons --release clientBuild":

      g++ -o build/firstExample -Wl,--as-needed -Wl,-zdefs build/mongo/client/examples/first.o -Lbuild -Lsrc -lmongoclient -lboost_thread-mt -lboost_filesystem-mt -lboost_system-mt
      /usr/bin/ld: build/libmongoclient.a(spin_lock.o): undefined reference to symbol 'pthread_yield@@GLIBC_2.2.5'
      /usr/bin/ld: note: 'pthread_yield@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line
      /lib64/libpthread.so.0: could not read symbols: Invalid operation
      collect2: ld returned 1 exit status
      scons: *** [build/firstExample] Error 1
      scons: building terminated because of errors.

      The Linux 64-bit Nightly builder seems to be affected by this problem in a similar way.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: