powerpc-rtems4.11 binutils breakage

Ralf Corsepius ralf.corsepius at rtems.org
Thu Apr 19 03:10:13 UTC 2012


On 04/19/2012 12:53 AM, Joel Sherrill wrote:
> Hi,
>
> http://sourceware.org/bugzilla/show_bug.cgi?id=13991
>
> I think an ld bug is the cause of the motorola_powerpc build
> issue. Something has broken with ld since 4.10 and older 4.11
> toolchains. These BSPs build with 4.10 and not with 4.11. But
> if I take the same objects generated with the current 4.11 tools
> and use the 4.10 ld on them, they link successfully.
>
> -bash-4.2$ rpm -qf /opt/rtems-4.10/bin/powerpc-rtems4.10-ld
> rtems-4.10-powerpc-rtems4.10-binutils-2.20.1-3.fc16.i686
> -bash-4.2$ powerpc-rtems4.10-ld -o hello.ralf
> ../../../../../mcp750/lib/bootloader.o --just-symbols=hello.exe -b
> binary rtems.gz -T ../../../../../mcp750/lib/ppcboot.lds -Map hello.map
> -bash-4.2$ rpm -qf /opt/rtems-4.11/bin/powerpc-rtems4.11-ld
> rtems-4.11-powerpc-rtems4.11-binutils-2.22-1.fc16.i686
> -bash-4.2$ /opt/rtems-4.11/bin/powerpc-rtems4.11-ld -o hello.ralf
> ../../../../../mcp750/lib/bootloader.o --just-symbols=hello.exe -b
> binary rtems.gz -T ../../../../../mcp750/lib/ppcboot.lds -Map hello.map
> ../../../../../mcp750/lib/ppcboot.lds:97: undefined symbol
> `__rtems_start' referenced in expression
>
> That doesn't narrow it down much but it is a start.
>
> Please attach yourself to the PR and if you can narrow
> down when it broke, it would be appreciated.
>

http://www.rtems.org/pipermail/rtems-users/2012-April/009843.html

Ralf



More information about the devel mailing list