------- Comment #2 from J dot J dot vanderHeijden at gmail dot com 2008-12-11 11:07 ------- Subject: Re: Acats faillures due to undefined pthread_setrunon_np
On Wed, Dec 10, 2008 at 12:54 PM, laurent at guerby dot net <[EMAIL PROTECTED]> wrote: > > > Could you try to add in gcc/ada/adaint.c the following definition: > > int pthread_setrunon_np (int cpu) { return 0; } > > Then see if it fixes the ACATS failures, then try to find out #ifdef that > trigger only on IRIX 6.2. > > Thanks in advance, Sounds like a plan. The offending piece of code is pretty useless btw, even on IRIX 6.5. The cpu# in question is always initialized in s-tasinf-irix.ads with CPU_ANY so the end result is the same as when you wouldn't call pthread_setrunon_np() at all. So my initial fix was to simply remove this functionality entirely. I'll have to dig up an old SGI running IRIX 6.2, yet fast enough to finish the regression test. Usually I run 6.2 regression tests inside a sandbox on a much faster SGI running IRIX 6.5, but this sandbox is limited: it always fails anything linked to the pthreads library. Jan-Jaap -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38400