Giter Club home page Giter Club logo

Comments (7)

torben-hansen avatar torben-hansen commented on September 18, 2024

Hi, thanks for your report.

Looking at the error output I can see that CMake attempts to compile and link a small test program testCCompiler.c. This is a sanity check of your compilers ability to function, soemthing CMake does, and doesn't use any AWS-LC code. Extracting the specific build commands from the error log we can see it is independent of AWS-LC:

/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc   -O2 -pipe -g -feliminate-unused-debug-types  -fPIE   -o CMakeFiles/cmTC_a657f.dir/testCCompiler.c.o   -c /home/wildwindy/NFS/AWSSDK/sdkv2/build/crt/aws-crt-cpp/aws-lc/CMakeFiles/CMakeTmp/testCCompiler.c

/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc -O2 -pipe -g -feliminate-unused-debug-types   -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -rdynamic CMakeFiles/cmTC_a657f.dir/testCCompiler.c.o  -o cmTC_a657f 

testCCompiler.c is very simple, something like:
https://github.com/Kitware/CMake/blob/master/Modules/CMakeTestCCompiler.cmake#L38

Did this work before the SDK included AWS-LC in its dependencies?

from aws-lc.

torben-hansen avatar torben-hansen commented on September 18, 2024

Adding to my previous comment. I do see that the first compiler check succeeded:

-- The C compiler identification is GNU 4.9.1
-- The CXX compiler identification is GNU 4.9.1
-- Check for working C compiler: /opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc
-- Check for working C compiler: /opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc -- works

Not sure how to explain that.

I assume you are using Poky and have build a cross-compilation environment. I'm not very familiar with Poky. Would you be able to share some information about how your build your cross-compilation environment? Without that I think it would be hard for me to produce it locally.

from aws-lc.

torben-hansen avatar torben-hansen commented on September 18, 2024

Hi, are you still experiencing the reported issue?

I would be happy to try and help resolve it.

from aws-lc.

wildwindyevan avatar wildwindyevan commented on September 18, 2024

Sorry for my delay. I think your first comment showed me that POKY can not build AWS-LC.
Farther more , In our second comment ,did you testing in crosscomplilation environment?
At last ,I uploaded my crosscomplilation environment to "https://thinkgrowledweb.s3.us-west-2.amazonaws.com/x86_64-pokysdk.tar.gz"
Hope it give you more information

from aws-lc.

andrew-kaufman avatar andrew-kaufman commented on September 18, 2024

Would you be able to provide more steps to reproduce this build issue using the cross-compilation environment that you provided?

from aws-lc.

dkostic avatar dkostic commented on September 18, 2024

Hi, just checking again if you'd be able to provide more steps to reproduce this build issue using the cross-compilation environment that you provided?

from aws-lc.

andrew-kaufman avatar andrew-kaufman commented on September 18, 2024

Since we have not received any other updates or information on this issue, we are going to close it for now as there is no further action for us to take. Please feel free to re-open this issue if you are able to provide us with any other information or updates.

from aws-lc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.