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

Debug builds on solaris fail to link

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.5.5
    • Affects Version/s: None
    • Component/s: Build
    • Fully Compatible
    • Solaris
    • Hide

      Build on solaris with --dbg=on

      Show
      Build on solaris with --dbg=on

      When building the server on solaris with the --dbg=on flag, all targets fail to link, with errors like:

      ld: fatal: symbol referencing errors. No output written to build/cached/bsondemo
      collect2: ld returned 1 exit status
      scons: *** [build/cached/bsondemo] Error 1
      Undefined                       first referenced
       symbol                             in file
      __stack_chk_fail                    build/cached/mongo/client/auth_helpers.o
      __stack_chk_guard                   build/cached/mongo/client/auth_helpers.o
      

      The problem appears to be that we are not linking libssp.so as required on solaris to satisfy these symbols.

            Assignee:
            Unassigned Unassigned
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: