-
Notifications
You must be signed in to change notification settings - Fork 108
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
cross compile sdk with arm64 toolchain about cmTC_faac0 error #288
Comments
hello @anglely168 we do cover this sdk for Yocto Project in the meta-aws project https://github.com/aws/meta-aws. However, it doesn't look like we have put it back to sumo likely due to the YP sumo release being maintained. Do you think it would help if we tried to back port it to sumo? |
Thinks rpcme,I rebuild the sdk and example in another arm64 platform native,and run the example basic-pub-sub ok,but when i go back imx8mm platform, it output : |
My educated guess is the trust store wasn’t found on that distro. If you know the location of the ca location, we can make sure it loads for you in a future release. In the meantime, you can test this theory by overriding the CA with the AmazonRootCA1.PEM directly. |
I used the same certs on arm64 platform,but i get different output,I double libssl is different,but I used ldd comand to check to relaition lib,no find this lib and i change the name of libssl.so to a bak name,the a bin file can run too,so it seemed no relation to libss. |
I have resolved this issue,because the new board of imx8mm have no rtc,so i it handshake with aws lot server error,I have set date time manually and it works. thanks all! |
@anglely168 yes on these types of systems, to be effective, we need to have ntpd on the system, For example, in the greengrass recipe ntpd is a hard prerequisite. I'm glad you got it figured out. If you need support on sumo please let us know over at the meta-aws project repo ok? |
thanks rpcme.I have compiled directly another arm64 device which have install gcc and can been run on imx8mm,I think you'd better write a instruction for someone who used others arm platform with hisself toolchian.I did't find doc about how to crosscompiler the sdk in the internet.some arm platform did't used Yocto Project. |
Hi @anglely168 I agree there should be documentation. I assumed you were using YP since you were using the Poky SDK toolchain. @justinboswell who do you think is the right person to write this up? I can do it based on my experience in meta-aws (in which case you can assign this issue to me) or other? |
Yeah, @rpcme I think your experience will be most helpful in framing what we need. I'm happy to review and contribute on top of what you have. |
I have similar issue with building on Linux laptop. See comment under main post here : aws/s2n-tls#3495 |
Please check out the meta-aws for more documentation/questions relating to this specific use case |
|
I have add some define in cmakelist for tool chain of arm64 ,when i run cmake,show error as below:
-- The C compiler identification is GNU 7.3.0
-- Check for working C compiler: /opt/fsl-imx-xwayland/4.14-sumo/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc
-- Check for working C compiler: /opt/fsl-imx-xwayland/4.14-sumo/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc -- broken
CMake Error at /opt/fsl-imx-xwayland/4.14-sumo/sysroots/x86_64-pokysdk-linux/usr/share/cmake-3.10/Modules/CMakeTestCCompiler.cmake:52 (message):
The C compiler
is not able to compile a simple test program.
It fails with the following output:
The text was updated successfully, but these errors were encountered: