OR1K does not build on master

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Sep 11 06:05:29 UTC 2015


Hello,

On 10/09/15 20:01, Joel Sherrill wrote:
> Hi
>
> Fails like this. Patches appreciated.
>
> or1k-rtems4.11-gcc --pipe -DHAVE_CONFIG_H   -I../../.. 
> -I../../../../cpukit/../../../generic_or1k/lib/include   -O2 -O0 -g 
> -Wall -Wmissing-prototypes -Wimplicit-function-declaration 
> -Wstrict-prototypes -Wnested-externs -MT libscorecpu_a-cpu.o -MD -MP 
> -MF .deps/libscorecpu_a-cpu.Tpo -c -o libscorecpu_a-cpu.o `test -f 
> 'cpu.c' || echo 
> '../../../../../../../../rtems/c/src/../../cpukit/score/cpu/or1k/'`cpu.c
> In file included from 
> ../../../../cpukit/../../../generic_or1k/lib/include/rtems/score/threadq.h:25:0,
>                  from 
> ../../../../cpukit/../../../generic_or1k/lib/include/rtems/score/thread.h:35,
>                  from 
> ../../../../cpukit/../../../generic_or1k/lib/include/rtems/score/heap.h:22,
>                  from 
> ../../../../cpukit/../../../generic_or1k/lib/include/rtems/score/wkspace.h:23,
>                  from 
> ../../../../../../../../rtems/c/src/../../cpukit/score/cpu/or1k/cpu.c:16:
> ../../../../cpukit/../../../generic_or1k/lib/include/rtems/score/rbtree.h:21:22: 
> fatal error: sys/tree.h: No such file or directory
>  #include <sys/tree.h>
>                       ^
> compilation terminated.

I added <sys/tree.h> some months ago to Newlib:

2015-03-23  Sebastian Huber <sebastian.huber at embedded-brains.de>

     * libc/include/sys/tree.h: New file.

The or1k should use the upstream Newlib. If this is not possible, then 
we should add some Autoconf stuff to provide a <sys/tree.h> if necessary 
(similar to <semaphore.h>).

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list