Is newlib-1.10 required for ss-20021007?

Joel Sherrill joel.sherrill at OARcorp.com
Wed Oct 9 00:02:21 UTC 2002



How about just

  + hacking your installed pthread.h to define PTHREAD_CANCELED
    and moving on...

OR
  + revert the patch in your local cancelrun.c

--joel

Phil Torre wrote:
> 
> I'm trying to build ss-20021007 for powerpc, and the build is
> breaking in cancelrun.c because PTHREAD_CANCELED is undefined.
> 
> I see this in the changelog:
> 
> 2002-08-09      Joel Sherrill <joel at OARcorp.com>
> 
>         * src/cancelrun.c: Remove check for PTHREAD_CANCELED not being
> defined
>         to ensure that newlib patch includes it.
> 
> I have a bad feeling that I need to get a newer newlib with the patch
> mentioned above?  (That would be bad news for me, since I am marooned
> at GDB-5.0 because my bdm debugger patch won't work with GDB 5.1 or
> newer, which keeps me from moving up to gcc 3.x.)
> 
> If the above is correct, can I stick in a dummy define to get cancelrun.c
> built without breaking something else, or am I out of luck?
> 
> Many thanks,
> -Phil
> 
> --
> 
> =====================================================================
> Phil Torre                               phone: 425-820-6363 x234
> Design Engineer                          email: ptorre at zetron.com
> Switching Systems Group                    fax: 425-820-7031
> Zetron, Inc.                               web: http://www.zetron.com
> 
> 

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985



More information about the users mailing list