m32r-rtems4.11 crt* toolset breakage

Joel Sherrill joel.sherrill at OARcorp.com
Wed Apr 18 15:29:37 CDT 2012


Hi

Another apparent toolset linkage issue. m32rsim fails
with this:

m32r-rtems4.11-gcc -B../../../../../m32rsim/lib/ -specs bsp_specs 
-qrtems -O2 -g -Wall -Wmissing-prototypes 
-Wimplicit-function-declaration -Wstrict-prototypes 
-Wnested-externs       -o hello.exe init.o
/opt/rtems-4.11/lib/gcc/m32r-rtems4.11/4.7.0/../../../../m32r-rtems4.11/bin/ld: 
cannot find crtinit.o: No such file or directory
collect2: error: ld returned 1 exit status

But RPM only provides:
$ find /opt/rtems-4.11/lib/gcc/m32r-rtems4.11/ -name crt*
/opt/rtems-4.11/lib/gcc/m32r-rtems4.11/4.7.0/m32rx/crtend.o
/opt/rtems-4.11/lib/gcc/m32r-rtems4.11/4.7.0/m32rx/crtbegin.o
/opt/rtems-4.11/lib/gcc/m32r-rtems4.11/4.7.0/crtend.o
/opt/rtems-4.11/lib/gcc/m32r-rtems4.11/4.7.0/medium/m32rx/crtend.o
/opt/rtems-4.11/lib/gcc/m32r-rtems4.11/4.7.0/medium/m32rx/crtbegin.o
/opt/rtems-4.11/lib/gcc/m32r-rtems4.11/4.7.0/medium/crtend.o
/opt/rtems-4.11/lib/gcc/m32r-rtems4.11/4.7.0/medium/m32r2/crtend.o
/opt/rtems-4.11/lib/gcc/m32r-rtems4.11/4.7.0/medium/m32r2/crtbegin.o
/opt/rtems-4.11/lib/gcc/m32r-rtems4.11/4.7.0/medium/crtbegin.o
/opt/rtems-4.11/lib/gcc/m32r-rtems4.11/4.7.0/m32r2/crtend.o
/opt/rtems-4.11/lib/gcc/m32r-rtems4.11/4.7.0/m32r2/crtbegin.o
/opt/rtems-4.11/lib/gcc/m32r-rtems4.11/4.7.0/crtbegin.o


-- 
Joel Sherrill, Ph.D.             Director of Research&   Development
joel.sherrill at 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 rtems-devel mailing list