http://sourceware.org/bugzilla/show_bug.cgi?id=13991
Bug #: 13991 Summary: powerpc-rtems ld failure [regression] Product: binutils Version: 2.22 Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassig...@sourceware.org ReportedBy: joel.sherr...@oarcorp.com Classification: Unclassified Created attachment 6348 --> http://sourceware.org/bugzilla/attachment.cgi?id=6348 Test case This is a test case which demonstrates that something changed with ld between binutils 2.10.1 and 2.22 which resulted in a number of our BSPs not being able to do the transform from an ELF file to a compressed binary with a bootloader header. I have attached an unfortunately large file with the binaries that generate this failure. rtems 4.10 - binutils 2.20.1 with patches rtems 4.11 - binutils 2.22 with no patches With the same set of binary files to link. -bash-4.2$ /opt/rtems-4.10/bin/powerpc-rtems4.10-ld -o hello.ralf bootloader.o --just-symbols=hello.exe -b binary rtems.gz -T ppcboot.lds -bash-4.2$ /opt/rtems-4.11/bin/powerpc-rtems4.11-ld -o hello.ralf bootloader.o --just-symbols=hello.exe -b binary rtems.gz -T ppcboot.lds ppcboot.lds:97: undefined symbol `__rtems_start' referenced in expression -bash-4.2$ powerpc-rtems4.10-nm -g hello.exe | grep rtems_start 00000000 T __rtems_start The symbol is there but not found by the reference in ppcboot.lds. ========================================= These is the RTEMS RPM information so this can be traced to that. -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$ rpm -qf /opt/rtems-4.11/bin/powerpc-rtems4.11-ld rtems-4.11-powerpc-rtems4.11-binutils-2.22-1.fc16.i686 ========================================= -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils