[ 
https://issues.apache.org/jira/browse/MESOS-7378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15983357#comment-15983357
 ] 

James Peach commented on MESOS-7378:
------------------------------------

FWIW the Fedora glibc changelog says this was fixed in 2.13.90-12:

{noformat}
* Fri May 13 2011 Andreas Schwab <sch...@redhat.com> - 2.13.90-12
- Update from master
  - Fix resizing table for unique symbols when adding symbol for copy
    relocation (BZ#12511)
  - Fix sched_setscheduler call in spawn implementation (BZ#12052)
  - Report write error in addmnt even for cached streams (BZ#12625)
  - Translate kernel error into what pthread_create should return
    (BZ#386)
  - More configurability for secondary group lookup (BZ#11257)
  - Several locale data updates (BZ#11258, BZ#11487, BZ#11532,
    BZ#11578, BZ#11653, BZ#11668, BZ#11945, BZ#11947, BZ#12158,
    BZ#12200, BZ#12178, BZ#12178, BZ#12346, BZ#12449, BZ#12545,
    BZ#12551, BZ#12611, BZ#12660, BZ#12681, BZ#12541, BZ#12711,
    BZ#12738)
  - Fix Linux getcwd for long paths (BZ#12713)
  - static tls memory leak on TLS_DTV_AT_TP archs
  - Actually undefine ARG_MAX from <linux/limits.h>
  - Backport BIND code to query name as TLD (BZ#12734)
  - Allow $ORIGIN to reference trusted directoreis in SUID binaries
    (BZ #12393)
  - Add missing {__BEGIN,__END}_DECLS to sys/sysmacros.h
  - Report if no record is found by initgroups in nss_files
- Never leave $ORIGIN unexpanded
- Revert "Ignore origin of privileged program"
- Reexport RPC interface
{noformat}

> Build failure with missing gnu_dev_major and gnu_dev_minor symbols
> ------------------------------------------------------------------
>
>                 Key: MESOS-7378
>                 URL: https://issues.apache.org/jira/browse/MESOS-7378
>             Project: Mesos
>          Issue Type: Bug
>          Components: build
>            Reporter: James Peach
>
> {noformat}
> 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)'
> {noformat}
> 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.
> {noformat}
> 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
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to