Skip to content
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

Provide linux aarch64 support #1051

Open
mhalbritter opened this issue Feb 21, 2022 · 10 comments
Open

Provide linux aarch64 support #1051

mhalbritter opened this issue Feb 21, 2022 · 10 comments

Comments

@mhalbritter
Copy link

Hello,

would it be possible to provide linux aarch64 support?

Thanks,
Moritz

See jetty/jetty.project#7630

@prbprbprb
Copy link
Collaborator

I've made some progress towards this (via MacOS), see the latest update on #1034.

Note that whilst adding build support might be close, I'm not sure when we'd be able to do signed releases via Maven Central... We would be need a reproducible build environment (doable) which worked for the as much of the Linux/ARM ecosystem as possible, e.g. are there ABI differences between different hardware platforms? I think BoringSSL on ARM Linux should cope whether or not crypto ARM extensions are present, but we'd need to test it :)

@davidben
Copy link
Contributor

I think BoringSSL on ARM Linux should cope whether or not crypto ARM extensions are present, but we'd need to test it :)

Yup. Although even that can be complicated because we honor both static information (-march=armv8-a+crypto) and runtime information (getauxval). So if you make builds, you'll need to decide what baseline you're targeting and configure the build accordingly.

(That's true for x86 too. If you build with AVX2 instructions statically available, the resulting binary may not work on pre-AVX2 machines.)

@DimaMakarevich
Copy link

DimaMakarevich commented Dec 26, 2022

Hi, @davidben and @prbprbprb, i using linux_arm64. And tried to build for m1(i know ) conscrypt , but i saw that we need an android sdk android sdk that does not exist for the linux_arm64 version, I want to find out if there is some way to get a concrypt for linux_arm64, without manually building the android sdk? and even if I get the android sdk, will it be possible for me to compile concrypt code for linux_arm64?

@OliverKoo
Copy link

+1 we are trying to build on AWS Graviton and is running in

java.lang.UnsatisfiedLinkError: no conscrypt_openjdk_jni-linux-aarch_64 in java.library.path: [/usr/java/packages/lib, /lib, /usr/lib, /usr/lib64, /lib64]

@AdityaVallabh
Copy link

Thank you for the arm support for MacOS! @prbprbprb are we planning to provide arm support for linux now too?
Eagerly waiting for it.

@saurabh-agarwals
Copy link

Thank you for the arm support for MacOS! @prbprbprb are we planning to provide arm support for linux now too? Eagerly waiting for it.

+1

@victornoel
Copy link

Hi, is there any plan to move forward with aarch64 support?

@ChristopheRuze
Copy link

Hi, is there any plan to move forward with aarch64 support?

+1

@jasonstack
Copy link

Hi, I am working on a patch to add linux-aarch64 support. Will post it in a few days.

@jasonstack
Copy link

jasonstack commented Apr 14, 2024

PR: #1204

BoringSSL build command is the same as linux x86.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants