[tsan] Disabled test dead locking on glibc-2.38

https://github.com/google/sanitizers/issues/1733
This commit is contained in:
Vitaly Buka 2024-03-12 22:21:15 -07:00
parent a0283987d0
commit deebf6b312
2 changed files with 5 additions and 1 deletions

View File

@ -632,7 +632,7 @@ if config.host_os == "Linux":
ver = LooseVersion(ver_string)
any_glibc = False
for required in ["2.19", "2.27", "2.30", "2.33", "2.34", "2.37"]:
for required in ["2.19", "2.27", "2.30", "2.33", "2.34", "2.37", "2.38"]:
if ver >= LooseVersion(required):
config.available_features.add("glibc-" + required)
any_glibc = True

View File

@ -5,6 +5,10 @@
// Make sure TSan doesn't deadlock on a file stream lock at program shutdown.
// See https://github.com/google/sanitizers/issues/454
// https://github.com/google/sanitizers/issues/1733
// UNSUPPORTED: glibc-2.38
#ifdef __FreeBSD__
#define _WITH_GETLINE // to declare getline()
#endif