Comments (7)
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.
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.
Hi, are you still experiencing the reported issue?
I would be happy to try and help resolve it.
from aws-lc.
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.
Would you be able to provide more steps to reproduce this build issue using the cross-compilation environment that you provided?
from aws-lc.
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.
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)
- Android ignores the "-Wa, --noexecstack" flag so remove or suppress warnings. HOT 1
- Add soname HOT 7
- Licensing
- ignored-attributes warning
- Uninitialised variable in `ec_GFp_mont_batch_get_window` HOT 2
- Readme is not synchronised with `aws-lc-verification` HOT 1
- ssl_transfer_supported for client SSL connection
- Compiling with zig for x86_64-windows-gnu fails due to X509_NAME and wincrypt.h HOT 3
- Plans to replace code under the OpenSSL license? HOT 2
- Fails to compile with clang 17 HOT 4
- FIPS build error on MacOS 11 HOT 2
- Error Cross Compiling aws-iot-device-sdk-cpp-v2 with MUSL ARM HOT 3
- GCC12 support for Yocto Linux HOT 16
- Unknown processor:mipsel when cross-compiling for MIPS HOT 6
- RFC 9266: Channel Bindings for TLS 1.3 support HOT 1
- No release build on 32bit with gcc11+ HOT 2
- FIPS branch fips-2022-11-02 failed to build on AL2 aarch64 HOT 4
- QUIC support HOT 4
- Error during Cross-Compiling aws-iot-device-sdk-python-v2 with make HOT 4
- Packages for RPM and DEB HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-lc.