[yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

Elvis Dowson elvis.dowson at gmail.com
Fri Aug 10 20:37:31 PDT 2012


Hi,

On Aug 9, 2012, at 8:47 PM, Elvis Dowson wrote:

> I switched to using gcc-4.6 from the meta-openembedded layer, and still get the same issue, i.e. no login or bash prompt with init=/bin/sh

I decided to switch to code sourcery external toolchain, to try and narrow the cause to see if it was indeed a compiler issue. 

Which building with the mentor-2012.03-71-powerpc-mentor-linux-gnu.bin toolchain, I get a bunch of failures similar to the one shown below:

| ./.libs/libsqlite3.so: undefined reference to `__gcc_qtod'
| ./.libs/libsqlite3.so: undefined reference to `__gcc_qneg'
| ./.libs/libsqlite3.so: undefined reference to `__gcc_qge'
| ./.libs/libsqlite3.so: undefined reference to `__gcc_qlt'
| ./.libs/libsqlite3.so: undefined reference to `__gcc_itoq'
| ./.libs/libsqlite3.so: undefined reference to `__gcc_qtoi'
| ./.libs/libsqlite3.so: undefined reference to `__gcc_qgt'
| ./.libs/libsqlite3.so: undefined reference to `__gcc_dtoq'

My target process is a PowerPC 440 with no hardware floating point unit, and my ppc440 tune has been setup to use software floating point.

The above errors appear to somehow related to the floating point type. 

How can I get past these type of errors? I don't get these errors with gcc-4.5.1, 4.6 and 4.7 recipes. It only appears with the mentor sourcery cross compiler for powerpc.

Getting yocto to build using the sourcery toolchain for the powerpc440, might yield some clues for narrowing down the issue related with the dynamic linker.

point
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120811/a6007505/attachment.html>


More information about the yocto mailing list