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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.3, 3.7.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v3.6
    • Platforms 2018-01-29

      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.

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

              Created:
              Updated:
              Resolved: