Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-7378

Build failure with glibc 2.12.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.2.3, 1.3.0, 1.4.0
    • Component/s: build
    • Labels:
      None

      Description

      03:46:16 - ./.libs/libmesos.so: undefined reference to `gnu_dev_minor(unsigned long long)'
      03:46:16 - ./.libs/libmesos.so: undefined reference to `gnu_dev_major(unsigned long long)'
      

      This is caused by the change in MESOS-7365.

      Including <sys/sysmacros.h> directly works on modern systems, but on our older version of glibc, the <sys/sysmacros.h> header does not contain C++ decls. This means that the inline symbols get C++ name mangling applied and they don't get found at link time.

      vagrant@mesos ~]$ cat /etc/redhat-release
      CentOS release 6.8 (Final)
      [vagrant@mesos ~]$ rpm -qa | grep glibc
      glibc-common-2.12-1.192.el6.x86_64
      glibc-devel-2.12-1.192.el6.x86_64
      glibc-2.12-1.192.el6.x86_64
      glibc-headers-2.12-1.192.el6.x86_64
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                neilc Neil Conway
                Reporter:
                jamespeach James Peach
                Shepherd:
                Michael Park
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: