powerpc-rtems4.11 binutils breakage

Joel Sherrill joel.sherrill at OARcorp.com
Wed Apr 18 22:53:47 UTC 2012


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.

-- 
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 devel mailing list