This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

eglibc 2.13+ and the AMCC 405EP missing dlmzb


Hello,

there seems to be a problem with eglibc-ports 2.13 onwards concerning the AMCC PowerPC 405EP:

Starting with eglibc-ports 2.13 an optimized assembler implementation for string operations was added for the 405 in ports/sysdeps/powerpc/powerpc32/405. The implementation makes use of the dlmzb mnemonic, which is not mentioned in the 405EP documentation:

https://myapm.apm.com/MyAMCC/retrieveDocument/PowerPC/405EP/PPC405EP_UM2003.pdf

Apparently, this instruction is not supported on the 405EP. The rootfs built with GCC 4.7.2 and eglibc 2.16 behaves oddly: Either busybox crashes right away, or the rc.sh script is partly executed but misses case constructs. The same rootfs built with GCC 4.7.2 and eglibc 2.12 works as expected.

So, the assumption that dlmzb is present on all 405's seems wrong. Is it possible to add some knobs to crosstool-ng to cope with the 405EP dlmzb problem? The compiler does not emit dlmzb although

http://gcc.gnu.org/onlinedocs/gcc/RS_002f6000-and-PowerPC-Options.html

says it defaults to -mdlmzb for the 405. Is there a way to compile GCC to use -mno-dlmzb as default?

Regards,
BjÃrn A. Herwig






--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]