mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [mesos] cf-natali commented on a change in pull request #384: Fixed parsing of ld.so.cache on new glibc.
Date Sat, 29 May 2021 17:47:38 GMT

cf-natali commented on a change in pull request #384:
URL: https://github.com/apache/mesos/pull/384#discussion_r641965468



##########
File path: src/linux/ldcache.cpp
##########
@@ -79,8 +81,22 @@ using std::vector;
 //                                                  ^
 //                                end of string table
 //
-// We currently only support the new format, since glibc 2.2
-// was released in late 2000.
+// Then from glibc 2.32 the default changed to the new format, without

Review comment:
       Interesting!
   Here's the reference I can find: https://sourceware.org/bugzilla/show_bug.cgi?id=23668
   Which does mention 2.32.
   
   However my Debian has version 2.31, and also defaults to the new format:
   ```
   cf@thinkpad:~$ /sbin/ldconfig --help | grep format 
     -c, --format=FORMAT        Format to use: new (default), old, or compat
   cf@thinkpad:~$ ldd --version | head -n1
   ldd (Debian GLIBC 2.31-12) 2.31
   ```
   
   I'm not sure why - it's possible that Debian and Ubuntu backported the change.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message