Comments (7)
What compiler and version is being used when encountering this issue?
Also, what is the output of uname -m
on the target system? This will help us to understand what the target architecture is being set to when building.
from aws-lc.
it is on the bottom of the comment:
Relevant details
CPU architecture: Linux raspberrypi 5.10.17+ #1403 Mon Feb 22 11:26:13 GMT 2021 armv6l GNU/Linux
CPU name: (Xeon Platinum 8000, AMD EPYC 7000...)
OS: raspberry pi light
Compiler: cmake version 3.16.3
AWS-LC commit: 7095a4b
from aws-lc.
I did see those details that were provided, but for compiler it would also be helpful to know what version of GCC/Clang are being used in addition to the version of CMake.
I also asked for the output of uname -m
, because that helps us better understand what the architecture is being represented as for CMAKE_SYSTEM_PROCESSOR
.
from aws-lc.
uname -m
armv7l
gcc --version
gcc (Raspbian 8.3.0-6+rpi1) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
cc --version
cc (Raspbian 8.3.0-6+rpi1) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
c++ --version
c++ (Raspbian 8.3.0-6+rpi1) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
from aws-lc.
This has already been an issue once, for example this commit c58a85f changed the alignment size from 64 to 16 because on aarch64 the compiler was giving the same warning/error. Here the compiler is complaining even about alignment of 16 because armv7l is a 32-bit architecture.
from aws-lc.
Hello, so it seems that the issue you are seeing with the build on 32-bit ARM is related to a bug in gcc
compiler (versions 7.2.1, 7.3, 8.2, 8.3.1, 9.2.1). Using clang
compiler for example should solve the issue and you should be able to build the library. You can choose the compiler for cmake by prepending CC=clang CXX=clang++
to the cmake
invocation. Thanks for exploring the library and please let us know if this solves your problem!
from aws-lc.
Thanks for reaching out to us! We are going to close this issue, let us know if trying a different compiler doesn't fix the issue and feel free to reopen the issue.
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
- Remove NASM requirement for windows builds HOT 3
- Failed to build AWS-LC on Ubuntu HOT 3
- AddressSanitizer SEGV when x509_name_ex_d2i() calls sk_STACK_OF_X509_NAME_ENTRY_pop_free() HOT 3
- redundant redeclaration of X509_OBJECT_new and X509_OBJECT_free HOT 2
- getrandom is not used on FreeBSD >= 12 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.