Some PowerPC fail to link some bootloader image

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Dec 9 14:47:03 UTC 2015


Hello,

I have a problem with some older PowerPC BSPs:

powerpc-rtems4.12/c/mvme2307/testsuites/samples/hello (master) > make 
clean all
test -z "*.num *.nxe *.elf *.srec* *.bin *.bt *.ralf" || rm -f *.num 
*.nxe *.elf *.srec* *.bin *.bt *.ralf
test -z "hello.exe" || rm -f hello.exe
rm -f *.o
powerpc-rtems4.12-gcc -B../../../../../mvme2307/lib/ -specs bsp_specs 
-qrtems -DHAVE_CONFIG_H -I. 
-I/home/EB/sebastian_h/rtems-4.12/c/src/../../testsuites/samples/hello 
-I..     -mcpu=604 -mmultiple -mstring -mstrict-align -meabi -O2 -g 
-Wall -Wmissing-prototypes -Wimplicit-function-declaration 
-Wstrict-prototypes -Wnested-externs -MT init.o -MD -MP -MF 
.deps/init.Tpo -c -o init.o 
/home/EB/sebastian_h/rtems-4.12/c/src/../../testsuites/samples/hello/init.c
mv -f .deps/init.Tpo .deps/init.Po
powerpc-rtems4.12-gcc -B../../../../../mvme2307/lib/ -specs bsp_specs 
-qrtems -mcpu=604 -mmultiple -mstring -mstrict-align -meabi -O2 -g -Wall 
-Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes 
-Wnested-externs    -mcpu=604 -mmultiple -mstring -mstrict-align 
-meabi    -o hello.exe init.o
powerpc-rtems4.12-nm -g -n hello.exe > hello.num
powerpc-rtems4.12-size hello.exe
    text    data     bss     dec     hex filename
  196229   10708   49013  255950   3e7ce hello.exe
powerpc-rtems4.12-objcopy -O binary -R .comment -S hello.exe rtems
gzip -vf9 rtems
rtems:   54.2% -- replaced with rtems.gz
powerpc-rtems4.12-ld -o hello.ralf 
../../../../../mvme2307/lib/bootloader.o --just-symbols=hello.exe -b 
binary rtems.gz -T ../../../../../mvme2307/lib/ppcboot.lds -Map 
hello.map && chmod 755 hello.exe
../../../../../mvme2307/lib/bootloader.o:/home/EB/sebastian_h/rtems-4.12/c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/../../../powerpc/shared/bootloader/em86real.S:3486: 
undefined reference to `.LCL2'
../../../../../mvme2307/lib/bootloader.o:/home/EB/sebastian_h/rtems-4.12/c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/../../../powerpc/shared/bootloader/em86real.S:3529: 
undefined reference to `.LCL2'
make: *** [hello.exe] Error 1

Is this a known issue?

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list