-
Notifications
You must be signed in to change notification settings - Fork 416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
linux-armv7: Illegal instruction in register_tm_clones () #290
Comments
|
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0489e/CIHJICGF.html says SDIV is ARMv7-R and ARMv7-M only AM3558 is ARMv7-A, so I need to re-configure the toolchain for this matter. |
I fixed it with with changing CT_ARCH_CPU="cortex-a8" (was cortex-a7): mixaz@b634784 Now hello_cmake works OK. I'm not sure how this matter (need to tune toolchain per target CPU) shall be addressed in dockross - I'm not sure that my changes must be applied to linux-armv7. May be a new image should be created, ie linux-armv7a? Or a branch ie cortex-a8? |
@mixaz thanks for looking into this, and well done finding the solution! 🎉 🌮 Yes, a new image for the ARMv7-A, |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days. |
This issue was closed because it has been stalled for 30 days with no activity. |
I'm cross-compiling cmake 'hello world' example for following target: Beaglebone, AM3558 SoC, ARMv7.
If compiled with dockcross/linux-armv7, the app crashes with following log:
While compiled with dockcross/linux-armv6 the app works OK.
Source code of the test app: https://github.com/ttroy50/cmake-examples/tree/master/01-basic/A-hello-cmake
Also I have a question - is it OK that size of compiled binaries for armv6 and armv7 differ so much:
The text was updated successfully, but these errors were encountered: