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

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.3, 3.7.2
    • None
    • None
    • Fully Compatible
    • ALL
    • v3.6
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: