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

MongoDB 3.2+ fails to compile on PPC64LE with glibc 2.26+

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.3, 3.7.2
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.6
    • Sprint:
      Platforms 2018-01-29

      Description

      In Glibc 2.26+, the ucontext struct was changed from

      typedef struct ucontext { ... } ucontext_t
      

      to

      typedef struct ucontext_t { ... } ucontext_t
      

      This breaks compilation due to the presence of this line:

      typedef ucontext ucontext_t;
      

      in
      src/third_party/gperftools-2.2/src/stacktrace_powerpc-linux-inl.h
      src/third_party/gperftools-2.5/src/stacktrace_powerpc-linux-inl.h

      This was fixed upstream in: https://github.com/gperftools/gperftools/commit/e41bc414048eb4a37743e294bed3f1c63a1fa559

      This was reported original by Jim Van Fleet at IBM.

        Attachments

          Activity

            People

            Assignee:
            mark.benvenuto Mark Benvenuto
            Reporter:
            mark.benvenuto Mark Benvenuto
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: