Build problems with source-builder compiling 4.11-arm with ADA
Jan Sommer
soja-misc at aries.uberspace.de
Sat Feb 7 20:31:36 UTC 2015
Hello,
I tried building rtems 4.11 for arm with ADA enabled with the
source-builder, but the build failed. It runs fine for c/c++ and fortran.
There hasn't been a rsb-report.
source-builder$ uname -a
Linux kubuntu 3.16.0-30-generic #40-Ubuntu SMP Mon Jan 12 22:06:37 UTC
2015 x86_64 x86_64 x86_64 GNU/Linux
source-builder$ ./sb-check
RTEMS Source Builder - Check, v0.2.0
Environment is ok
rtems$ ../source-builder/sb-set-builder --log=build-log.txt
--prefix=/home/jan/workspace/rtems-pi/development/rtems/compiler/4.11
4.11/rtems-arm --jobs=none --with-ada
RTEMS Source Builder - Set Builder, v0.2.0
Build Set: 4.11/rtems-arm
Build Set: 4.11/rtems-autotools.bset
Build Set: 4.11/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-linux-gnu-1
building: autoconf-2.69-x86_64-linux-gnu-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-linux-gnu-1
building: automake-1.12.6-x86_64-linux-gnu-1
cleaning: autoconf-2.69-x86_64-linux-gnu-1
cleaning: automake-1.12.6-x86_64-linux-gnu-1
Build Set: Time 0:00:06.590777
Build Set: 4.11/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-linux-gnu-1
building: autoconf-2.69-x86_64-linux-gnu-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-linux-gnu-1
building: automake-1.12.6-x86_64-linux-gnu-1
installing: autoconf-2.69-x86_64-linux-gnu-1 ->
/home/jan/workspace/rtems-pi/development/rtems/compiler/4.11
installing: automake-1.12.6-x86_64-linux-gnu-1 ->
/home/jan/workspace/rtems-pi/development/rtems/compiler/4.11
cleaning: autoconf-2.69-x86_64-linux-gnu-1
cleaning: automake-1.12.6-x86_64-linux-gnu-1
Build Set: Time 0:00:06.426775
Build Set: Time 0:00:13.019515
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-linux-gnu-1
building: expat-2.1.0-x86_64-linux-gnu-1
config: tools/rtems-binutils-2.24-1.cfg
package: arm-rtems4.11-binutils-2.24-1
building: arm-rtems4.11-binutils-2.24-1
config: tools/rtems-gcc-4.8.2-newlib-cvs-1.cfg
package: arm-rtems4.11-gcc-4.8.2-newlib-11-Dec-2013-1
cvs: reset: cvs://pserver:anoncvs@sourceware.org/cvs/src
building: arm-rtems4.11-gcc-4.8.2-newlib-11-Dec-2013-1
Build Set: Time 0:28:16.659902
error: shell cmd failed: /bin/sh -ex
/home/jan/workspace/rtems-pi/development/rtems/rtems-source-builder/rtems/build/arm-rtems4.11-gcc-4.8.2-newlib-11-Dec-2013-1/doit
Build FAILED
I think the relevant error message from the build log is the following:
[...]
-iquote . -iquote .. -iquote ../.. -iquote
/home/jan/workspace/rtems-pi/development/rtems/rtems-source-builder/rtems/build/arm-rtems4.11-gcc-4.8.2-newlib-11-Dec-2013-1/gcc-4.8.2/gcc/ada
-iquote
/home/jan/workspace/rtems-pi/development/rtems/rtems-source-builder/rtems/build/arm-rtems4.11-gcc-4.8.2-newlib-11-Dec-2013-1/gcc-4.8.2/gcc
-I/home/jan/workspace/rtems-pi/development/rtems/rtems-source-builder/rtems/build/arm-rtems4.11-gcc-4.8.2-newlib-11-Dec-2013-1/gcc-4.8.2/gcc/../include
-I./../.. socket.c -o socket.o
In file included from socket.c:34:0:
gsocket.h:194:24: fatal error: sys/socket.h: No such file or directory
#include <sys/socket.h>
^
compilation terminated.
make[4]: *** [socket.o] Error 1
../gcc-interface/Makefile:306: recipe for target 'socket.o' failed
make[4]: Leaving directory
'/home/jan/workspace/rtems-pi/development/rtems/rtems-source-builder/rtems/build/arm-rtems4.11-gcc-4.8.2-newlib-11-Dec-2013-1/build/gcc/ada/rts'
make[3]: *** [gnatlib] Error 2
gcc-interface/Makefile:2664: recipe for target 'gnatlib' failed
make[3]: Leaving directory
'/home/jan/workspace/rtems-pi/development/rtems/rtems-source-builder/rtems/build/arm-rtems4.11-gcc-4.8.2-newlib-11-Dec-2013-1/build/gcc/ada'
make[2]: *** [gnatlib-plain] Error 2
Makefile:104: recipe for target 'gnatlib-plain' failed
make[2]: Leaving directory
'/home/jan/workspace/rtems-pi/development/rtems/rtems-source-builder/rtems/build/arm-rtems4.11-gcc-4.8.2-newlib-11-Dec-2013-1/build/arm-rtems4.11/libada'
make[1]: *** [all-target-libada] Error 2
Makefile:13337: recipe for target 'all-target-libada' failed
make[1]: Leaving directory
'/home/jan/workspace/rtems-pi/development/rtems/rtems-source-builder/rtems/build/arm-rtems4.11-gcc-4.8.2-newlib-11-Dec-2013-1/build'
Makefile:858: recipe for target 'all' failed
make: *** [all] Error 2
Build Set: Time 0:25:09.877451
error: shell cmd failed: /bin/sh -ex
/home/jan/workspace/rtems-pi/development/rtems/rtems-source-builder/rtems/build/arm-rtems4.11-gcc-4.8.2-newlib-11-Dec-2013-1/doit
Could it be connected to the problem described here?:
http://permalink.gmane.org/gmane.os.rtems.user/16431:
" The trick is to build RTEMS with networking multilib'ed and install it
and the BSP you are interested in before building Ada."
If yes, can I accomplish that with the source-builder or do I have to
build the toolchain manually?
Best regards,
Jan
More information about the users
mailing list