-
Notifications
You must be signed in to change notification settings - Fork 722
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
CI: 32bit testing #3903
Comments
we did this in s2n-quic with the |
The current plan for this is to add a cross-compiling 32 bit build into our CI. This allows us to get 32 bit build coverage without having to add the complexity of an emulator into our build platform. The build would probably be run on a multi-arch Ubuntu 22.04? docker container which could install the We also want to be running unit tests for the 32 bit platform (we could just use 32 bit emulation on a 64 bit platform, which many platforms have native support for), but some of those are currently broken. The above PR address one of the failures (related to s2n_connection struct size), but the other failures are related to 2038 issues. These 2038 issues happen in two broad categories
We experience both type There are a number of ways to approach these problems, but my current preferred solution is to use the glibc 2038 proofing approach which allows us to set However, this approach requires that the This means that |
Individual unit test tracking issue: #3948 |
There is now a 32 bit cross-compiling job running in CI. The |
Security issue notifications
If you discover a potential security issue in s2n we ask that you notify
AWS Security via our vulnerability reporting page. Please do not create a public github issue.
Problem:
We'd like to be testing on more platforms, including 32bit Linux. Recent issues (#3896) highlight there is clearly a need.
Solution:
As called out in a GHA issue 32bit would likely involve qemu.
An rough test with qemu-user-static on CodeBuild does appear to be one possible solution.
More discovery is needed; what are other projects with this need using ?
Requirements / Acceptance Criteria:
What must a solution address in order to solve the problem? How do we know the solution is complete? Unit tests run and pass on a 32bit linux platform.
Out of scope:
Is there anything the solution will intentionally NOT address?
The text was updated successfully, but these errors were encountered: