powerpc-rtems fails to build on head

Joel Sherrill <joel@OARcorp.com> joel.sherrill@OARcorp.com
Wed Jan 11 16:18:00 GMT 2006


With code updated this morning, powerpc-rtems fails to build.  I am 
using binutils 2.16.1 with just a couple of patches.

Is this a gcc or binutils error?  Is there a known fix?

==============================================================
/home/joel/gcc-work/head/b-powerpc-rtems4.7/./gcc/xgcc 
-B/home/joel/gcc-work/head/b-powerpc-rtems4.7/./gcc/ -nostdinc 
-B/home/joel/gcc-work/head/b-powerpc-rtems4.7/powerpc-rtems4.7/newlib/ 
-isystem 
/home/joel/gcc-work/head/b-powerpc-rtems4.7/powerpc-rtems4.7/newlib/targ-include 
-isystem /home/joel/gcc-work/head/gcc/newlib/libc/include 
-B/home/joel/gcc-head-test//powerpc-rtems4.7/bin/ 
-B/home/joel/gcc-head-test//powerpc-rtems4.7/lib/ -isystem 
/home/joel/gcc-head-test//powerpc-rtems4.7/include -isystem 
/home/joel/gcc-head-test//powerpc-rtems4.7/sys-include -O2 -O2 -g -O2 
-DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I. -I. 
-I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include 
-I../../gcc/gcc/../libcpp/include  -I../../gcc/gcc/../libdecnumber 
-I../libdecnumber -mrelocatable-lib -mno-eabi -mstrict-align -g0 
-finhibit-size-directive -fno-inline-functions -fno-exceptions 
-fno-zero-initialized-in-bss -fno-unit-at-a-time -Dinhibit_libc -fPIC 
-msdata=none \
   -c ../../gcc/gcc/crtstuff.c -DCRT_BEGIN -DCRTSTUFFS_O \
   -o crtbeginS.o
/tmp/cc5gvpW0.s: Assembler messages:
/tmp/cc5gvpW0.s:36: Error: Relocation cannot be done when using 
-mrelocatable
==============================================================

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel@OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985




More information about the Gcc mailing list