Hi Finn, On 06/11/2016 03:03, Finn Thain wrote:
Has anyone else tried the m68k cross-compiler from kernel.org and observed strange behaviour from the binaries it produces? I used that cross-compiler (the i686 one) to build the kernel seen booting below. The resulting binary consistently crashes two different systems (LC III and LC 475), both during kernel startup. These two machines use different drivers and have different failure modes, but the failures are completely repeatable. The failures went away when I reverted to my usual (patched) gcc-4.4.6. Perhaps gcc-4.6.3 is more strict than gcc-4.4, in such a way that would affect code generation, when presented with incorrect or undefined code? Are there any warnings that could be enabled to discover that code? Is there some way to run the GCC test suite against this cross-compiler?
I also observed issues with some kernel.org toolchains, at least for coldfire the 4.9.x was producing some wrong opcode, due to incorrect gcc libs used over linking. Maybe you can try some toolchains i prepared, they are the kernel.org with some packaging adjustments done by me. Let me know in case if they work for you. http://sysam.it/toolchains.html Regards, Angelo Durgehello -- To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html