Andrew Kelley fa940bafa2 std.zig.system.NativeTargetInfo: improve glibc version detection
Previously, this code would fail to detect glibc version because it
relied on libc.so.6 being a symlink which revealed the answer. On modern
distros, this is no longer the case.

This new strategy finds the path to libc.so.6 from /usr/bin/env, then
inspects the .dynstr section of libc.so.6, looking for symbols that
start with "GLIBC_2.". It then parses those as semantic versions and
takes the maximum value as the system-native glibc version.

closes #6469
   see #11137
closes #12567
2022-09-08 20:52:49 -07:00
..
2022-08-31 19:30:51 +02:00
2022-08-23 21:11:02 -07:00
2022-08-23 21:11:02 -07:00
2022-04-20 17:18:06 -07:00
2022-01-07 00:06:06 -05:00
2022-04-14 10:12:45 -07:00
2022-09-01 15:13:07 -05:00
2022-05-26 21:58:19 -07:00
2022-09-07 15:22:30 +03:00
2022-04-15 17:01:01 -05:00
2022-01-07 00:06:06 -05:00
2022-08-18 18:58:28 -07:00