[Bug other/58996] [4.9 regression] build failure in libcilkrts
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 9 21:08:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58996
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
__cpu_set_t_defined is a glibc internal macro, so I don't think it is a good
idea to use it.
I'd suggest you look at libgomp's affinity related configury and ifdefs.
HAVE_PTHREAD_AFFINITY_NP test in libgomp/configure* and then looking at how it
deals with the various versions of the glibc affinity APIs (AFAIK there were 3
different ones). Also, make sure you handle > 1024 CPUs properly.
More information about the Gcc-bugs
mailing list