Problems during compiling for microblaze-rtems

Matthias Goldhoorn matthias.goldhoorn@uni-bremen.de
Mon Dec 3 14:52:00 GMT 2012


I just tried to compile an gcc with the newlib for the microblaze-rtems 
target.

I already fixed a few type errors before regarding the unknown 
microblaze target.
I run into the following problem that i couldn't fix so far:

ldhoorn/dev-limes/gcc-s/gcc-4.7.2/microblaze-rtems/microblaze-rtems/bs/newlib/ 
-isystem 
/home/goldhoorn/dev-limes/gcc-s/gcc-4.7.2/microblaze-rtems/microblaze-rtems/bs/newlib/targ-include 
-isystem /home/goldhoorn/dev-limes/gcc-s/gcc-4.7.2/newlib/libc/include 
-B/home/goldhoorn/install/microblaze-rtems/bin/ 
-B/home/goldhoorn/install/microblaze-rtems/lib/ -isystem 
/home/goldhoorn/install/microblaze-rtems/include -isystem 
/home/goldhoorn/install/microblaze-rtems/sys-include -mxl-barrel-shift 
-DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" 
-DPACKAGE_VERSION=\"1.20.0\" -DPACKAGE_STRING=\"newlib\ 1.20.0\" 
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I. 
-I../../../../../../../newlib/libc/sys/rtems -D_COMPILING_NEWLIB 
-DMALLOC_PROVIDED -DEXIT_PROVIDED -DSIGNAL_PROVIDED 
-DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_BLKSIZE 
-DHAVE_FCNTL -DHAVE_ASSERT_FUNC -D_NO_GETLOGIN -D_NO_GETPWENT 
-D_NO_GETUT -D_NO_GETPASS -D_NO_SIGSET -D_NO_WORDEXP -D_NO_POPEN 
-fno-builtin -g -O2 -mxl-barrel-shift -c 
../../../../../../../newlib/libc/sys/rtems/crt0.c
../../../../../../../newlib/libc/sys/rtems/crt0.c:72:1: error: expected 
‘)’ before ‘*’ token
../../../../../../../newlib/libc/sys/rtems/crt0.c:72:1: error: expected 
‘)’ before ‘=’ token

caused by this:

72 RTEMS_STUB(int, sigfillset(sigset_t *set), { return -1; })

i use the following versions:
binutils-2.23 binutils-2.23.tar.gz gcc-4.7.2 gcc-4.7.2.tar.gz 
newlib-1.20.0 newlib-1.20.0.tar.gz

confgure calls:
../configure --prefix=/home/goldhoorn/install --target=microblaze-rtems 
target_alias=microblaze-rtems --enable-languages=c,c++,lto --verbose 
--enable-dynamic --enable-threads --enable-dlopen --with-newlib 
--with-gnu-as --with-gnu-ld

../configure --prefix=/home/goldhoorn/install --target=microblaze-rtems 
--disable-werror --enable-languages=c,c++ target_alias=microblaze-rtems


Thanks for any help or hints,
Matthias Goldhoorn






-- 
  Dipl.-Inf. Matthias Goldhoorn
  Space and Underwater Robotic

  Universität Bremen
  FB 3 - Mathematik und Informatik
  AG Robotik
  Robert-Hooke-Straße 5
  28359 Bremen, Germany

  Tel.:     +49 421 178 45-4193
  Zentrale: +49 421 178 45-6550
  Fax:      +49 421 178 45-4150
  E-Mail:   matthias.goldhoorn@uni-bremen.de

  Weitere Informationen: http://www.informatik.uni-bremen.de/robotik



More information about the Newlib mailing list