https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125940

--- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Looks as if I missed

https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=libgomp/config/linux/affinity.c;h=ca14be9690e963029f1b845deac1449e94198d19;hb=HEAD

libgomp/config/linux/affinity.c:

  42 #ifdef HAVE_PTHREAD_AFFINITY_NP
...
 624 #else
 625 
 626 #include "../../affinity.c"
 627 
 628 #endif
...
 633 int
 634 gomp_get_current_numa_node ()

Maybe putting the new code into a file by its own would be a solution?

Reply via email to