Re: [PATCH, gomp]: Unbreak bootstrap on glibc-2.5

2011-08-03 Thread Uros Bizjak
On Wed, Aug 3, 2011 at 11:11 AM, Jakub Jelinek wrote: > On Wed, Aug 03, 2011 at 10:36:47AM +0200, Uros Bizjak wrote: >> We should not call CPU_COUNT when not defined in glibc. > > Oops, forgot that old glibcs don't have it. > I don't like the prototype in libgomp.h, for one sched.h isn't included

Re: [PATCH, gomp]: Unbreak bootstrap on glibc-2.5

2011-08-03 Thread Jakub Jelinek
On Wed, Aug 03, 2011 at 10:36:47AM +0200, Uros Bizjak wrote: > We should not call CPU_COUNT when not defined in glibc. Oops, forgot that old glibcs don't have it. > 2011-08-03 Uros Bizjak > > * config/linux/proc.c (gomp_cpuset_popcount): Rename from > cpuset_popcount. No more sta