https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111024
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> --- Created attachment 55742 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55742&action=edit libgomp/allocator.c's gomp_init_libnuma - call numa_available() Given that (lib)memkind uses jemalloc - on Bionic in version 3.6.0, it could also be an error on that side. In libmemkind, the arena stuff seems to be rather unrelated to libnuma - and at least in the linked version, the call to numa_available() comes after the failing line. ("numa_available" must be called (and return != -1) before using any numa function. Thus, it seems to be unrelated to libnuma - and, hence, us calling it. Except: Well, a call to numa_available() is missing. It is worthwhile to check whether the attached patch fixes the issue - and even if not, it probably should be applied nonetheless.
