-
Notifications
You must be signed in to change notification settings - Fork 1.7k
ARM Glibc 2.11 and Dart VM #25256
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
Comments
It should be easy to disable BoringSSL compilation in the by setting variables in the .gyp files. This is what we do when we build Dartium. Setting 'dart_io_secure_socket%': 1 instead of 0 in runtime/tools/gyp/runtime-configurations.gypi should stop the compilation and linking of the boringssl code. After making the change, you need to do gclient runhooks again, to run gyp, to make new build files. |
@whesse Thanks. Is there a solution that will allow me to keep BoringSSL and compile under glibc 2.11? I have tried multiple solutions:
|
It sounds as if you know as much about this as I do, so I can only suggest trying to build BoringSSL, directly, and see if it can run with that libc. I think that BoringSSL may only support recent libc and OSs, since one of its goals is to be simpler and cleaner by removing older support code. Only those platforms needed for chromium and android are actively supported by its maintainers. See the repository at https://boringssl.googlesource.com/boringssl/+/master and file issues at chromium.org. This is a pretty old architecture, and libc version, so I don't see us being able to do much to support it. |
@whesse Ok, thanks. Is one possible alternative to compile with OpenSSL instead? I'm not sure how drop-in OpenSSL is for BoringSSL, but I do know it's a fork. Thanks in advance :) |
You could try building a version of Dart from before version 1.13, since those versions have OpenSSL, not BoringSSL. Those aren't that old yet. But new features and bug fixes will not get ported back to them. |
to: https://boringssl.googlesource.com/boringssl/+/c880e42ba1c8032d4cdde2aba0541d8a9d9fa2e9 This change also prunes unneeded stuff from our boringssl gyp files. related #26343, #25630, #25256 fixes #25647, #24321 [email protected], [email protected] Review URL: https://codereview.chromium.org/1924693003 .
Assuming stale. Please reopen if it still matters. |
How would I build a Dart VM for ARMv5TE (Dreamplug) which has a glibc version of 2.11?
Static builds of the Dart VM no longer work under different glibc versions due to BoringSSL due to uses of getaddrinfo() and other such symbols.
The text was updated successfully, but these errors were encountered: