RSB builds single-threaded Newlib by default?

Chris Johns chrisj at rtems.org
Sun Apr 16 21:49:01 UTC 2017


On 17/4/17 7:39 am, Linda Huxley wrote:
> Hi Chris,
> 
> I am still unable to build the RTEMS kernel. ...cpukit/configure fails
> because the following check returns a negative response:
> 
> checking for struct _Thread_queue_Queue._name... no
> 
> The configure script is searching sys/lock.h for a structure member.
> sys/lock.h appears here in my build tree:
> 
> /c/opt/rtems/r4.11.2/sparc-rtems4.11/include/sys/lock.h
> 
> However, that version of lock.h only contains "dummy lock routines for
> single-threaded aps".  I have attached a copy of sys/lock.h.
> 
> Is there some build setting or environment variable that I have to set
> to build a multi-threaded version of newlib?

The tools built with the RSB will make sure newlib is correct.

There is something that is not right in the set up and it would be good
to figure this out.

Do you have just the one set of tools installed?

What does `sparc-rtems4.11-gcc --version` report?

Chris


More information about the users mailing list