This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR ada/49944, take 2 [4.5/4.6/4.7 regression] Bootstrapping on x86_64-pc-kfreebsd-gnu fails with "s-taprop.adb:856:10: "pthread_attr_setaffinity_np" is undefined (more references follow)"
> >> --- This is the GNU/kFreeBSD (GNU/LinuxThreads) version of this
> >> package
> >> +-- This is the GNU/kFreeBSD PTHREADS version of this package
> >
> > Not sure why PTHREADS is upper cased here, any specific reason?
>
> Because that's how it was written in s-osint-freebsd.ads, that's all.
Yes well, programming by copy/pasting isn't always a good idea :-)
In particular, the freebsd version isn't well maintained, so I wouldn't
take it as an example/reference.
Arno