------- Comment #3 from laurent at guerby dot net  2009-12-28 17:47 -------
"The second issue is how libgomp configure detects availability of
pthread_{attr,}_{get,set}affinity_np. It uses link test and does not pass -Wall
-Werror to compiler; thus, libgomp build fails if those functions are declared
in /usr/include/nptl/pthread.h but not in /usr/include/pthread.h (libgomp only
includes the latter)."

I confirm:

gue...@gcc40:/usr/include$ grep pthread_getaffinity_np *.h */*.h
nptl/pthread.h:extern int pthread_getaffinity_np (pthread_t __th, size_t
__cpusetsize,


-- 

laurent at guerby dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-12-28 17:47:45
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42519

Reply via email to