http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60038
--- Comment #4 from Kostya Serebryany <kcc at gcc dot gnu.org> --- > GNU C Library stable release version 2.5 2.5 is way too old. You may try to comment out this CHECK and see if the rest works The main ASAN's functionality will probably not notice the lack of correct data about TLS, but LSAN (LeakSanitizer) may start reporting false positives.