Motorola Shared BSPs not Linking

Ralf Corsepius ralf.corsepius at
Thu Feb 23 14:17:25 UTC 2012

On 02/22/2012 05:54 PM, Joel Sherrill wrote:
> Hi
> Just came across this in the build logs and unfortunately
> don't have time to investigate. This was on the mcp750
> but every motorola_shared variant fails the same way.
> powerpc-rtems4.11-objcopy -O binary -R .comment -S hello.exe rtems
> gzip -vf9 rtems
> rtems: 55.1% -- replaced with rtems.gz
> powerpc-rtems4.11-ld -o hello.ralf
> ../../../../../mcp750/lib/bootloader.o --just-symbols=hello.exe -b
> binary rtems.gz -T ../../../../../mcp750/lib/ -Map
> && chmod 755 hello.exe
> ../../../../../mcp750/lib/ undefined symbol
> `__rtems_start' referenced in expression
I can reproduce this.

> Anyone have any ideas or fixes?

The only place in rtems.git which provides a symbol named __rtems_start 
is c/src/lib/libbsp/powerpc/shared/start/vectors_entry.S

However, this file doesn't seem to be referenced by the mcp750 BSP nor 
by the motorola_powerpc:

# grep -R shared/start/vectors_entry.S 
c/src/lib/libbsp/powerpc/beatnik/ += 
+= ../../powerpc/shared/start/vectors_entry.S
c/src/lib/libbsp/powerpc/mvme3100/ += 

Seems to me, as if some of the powerpc exception/irq "generalizations" 
broke something.

I am not sufficiently familiar with how this is supposed to work to be 
able to provide a fix.


More information about the users mailing list