Giter Club home page Giter Club logo

Comments (7)

andrew-kaufman avatar andrew-kaufman commented on August 16, 2024

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.

gbacskai avatar gbacskai commented on August 16, 2024

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.

andrew-kaufman avatar andrew-kaufman commented on August 16, 2024

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.

gbacskai avatar gbacskai commented on August 16, 2024

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.

dkostic avatar dkostic commented on August 16, 2024

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.

dkostic avatar dkostic commented on August 16, 2024

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.

dkostic avatar dkostic commented on August 16, 2024

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)

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.