This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Building gnat-6.1 for arm-rtems fails with '"Kill" is undefined'


Hi,

I am trying to build the gcc toolchain for arm-rtems including gnat. It used to work before.
The compilation process stops with:
make.adb:7310:10: "Kill" is undefined

The Kill function is present in s-os_lib.ads and the imported c-function is compiled in adaint.c, so generally it should be there.

My host-compiler is gcc-5.3.1 and the configure options of the build process are

../gcc-6.1.0/configure --prefix=/opt/rtems-4.12-pi --bindir=/opt/rtems-4.12-pi/bin --exec_prefix=/opt/rtems-4.12-pi --includedir=/opt/rtems-4.12-pi/include --libdir=/opt/rtems-4.12-pi/lib --libexecdir=/opt/rtems-4.12-pi/libexec --mandir=/opt/rtems-4.12-pi/share/man --infodir=/opt/rtems-4.12-pi/share/info --datadir=/opt/rtems-4.12-pi/share --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=arm-rtems4.12 --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --verbose --with-newlib --with-system-zlib --disable-nls --without-included-gettext --disable-win32-registry --enable-version-specific-runtime-libs --disable-lto --enable-newlib-io-c99-formats --enable-newlib-iconv  --enable-threads --disable-plugin --enable-libgomp --enable-languages=c,c++,ada

The compilation command which fails also doesn't look too suspicious to me (the gcc-6.1.0/gcc/ada-folder is included):

/usr/bin/gcc -c -I./ -I/usr/lib/gcc/x86_64-linux-gnu/5/adalib/../adainclude -I/usr/lib/gcc/x86_64-linux-gnu/5/adalib -I. -I/home/jan/workspace/rtems-pi/development/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6.1.0-newlib-2.4.0-x86_64-linux-gnu-1/gcc-6.1.0/gcc/ada -O2 -pipe -I/home/jan/workspace/rtems-pi/development/rtems/rtems-source-builder/rtems/build/tmp/sb-jan/4.12/rtems-arm/opt/rtems-4.12-pi/include -g -O2 -W -Wall -gnatpg -gnata -I- /home/jan/workspace/rtems-pi/development/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6.1.0-newlib-2.4.0-x86_64-linux-gnu-1/gcc-6.1.0/gcc/ada/make.adb

However, make.adb includes GNAT.OS_Lib whereas the s-os_lib.ads defines the package System.OS_Lib, but that seems to be a convention throughout gnat.

Does someone have an idea where to look?

Cheers,

   Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]