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
Configure: don't try to be clever when configuring afalgeng #7688
Conversation
+1 to this! |
Do we want to consider the possibility to enable it automatically if neither The procedure to do so is quite simple, have it disabled by default ( |
Close/reopen to kick CLA bot. |
Is that the sound of a yearning for autoconf that I hear? |
No. The needed config code is already in place, all that's needed is to only run it when no afalgeng option has been given to run it. |
As this is mostly removing useless code, we could accept this with |
If the afalgeng is enabled then Configure tries to be clever but fails, by only actually building afalgeng if it isn't being cross-compiled and if the current kernel is 4.1+. This means that everyone cross compiling, or whose builder machines are running older kernels (not uncommon for build farms), can't enable afalgeng. Instead remove the cleverness and simply enable/disable as requested. Fixes openssl#7687 CLA: trivial Signed-off-by: Ross Burton <ross.burton@arm.com> Change-Id: I023b6cb535d5b5811823d4814fa939de3f304886
@t8m ping - Ross has added the "CLA: trivial" line |
This PR is in a state where it requires action by @openssl/committers but the last update was 30 days ago |
Would this benefit from a CHANGES.md entry? |
IMO this is fairly marginal thing, so not worth it. |
This pull request is ready to merge |
I was rethinking this and I've reconsidered my approval. I would be fine with this going into master however in the current form it should not go into stable releases. @rossburton @tom-cosgrove-arm Are you OK with this just going into the 3.1 release? |
If we wanted to put this into released branches we would have to do it the way @levitte proposed above #7688 (comment) |
I'm fine with master only. |
If the afalgeng is enabled then Configure tries to be clever but fails, by only actually building afalgeng if it isn't being cross-compiled and if the current kernel is 4.1+. This means that everyone cross compiling, or whose builder machines are running older kernels (not uncommon for build farms), can't enable afalgeng. Instead remove the cleverness and simply enable/disable as requested. Fixes #7687 CLA: trivial Signed-off-by: Ross Burton <ross.burton@arm.com> Change-Id: I023b6cb535d5b5811823d4814fa939de3f304886 Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from #7688)
Merged to master branch. Thank you for your contribution and patience given this had to wait for so long time. |
No problem, thanks! |
This PR seems to have broken something: |
How did the CI for the PR work but then explode the moment it was merged! 😭 |
As that is quite a dramatic explosion, can it be reverted whilst I debug? |
Because we do not actually try to run the tests on cross compiled targets in the pull request CI. Running them via qemu is too slow. We run them only once the patches are merged. IMO we just need to disable the afalgeng in our CI for the cross compile targets. |
I've merged disablement of the failing test in CI. If you can find out why the test fails under qemu, it would be nice. I suppose the qemu does not translate the syscall number properly or something. |
If the afalgeng is enabled then Configure tries to be clever but fails, by only actually building afalgeng if it isn't being cross-compiled and if the current kernel is 4.1+. This means that everyone cross compiling, or whose builder machines are running older kernels (not uncommon for build farms), can't enable afalgeng. Instead remove the cleverness and simply enable/disable as requested. Fixes openssl#7687 CLA: trivial Signed-off-by: Ross Burton <ross.burton@arm.com> Change-Id: I023b6cb535d5b5811823d4814fa939de3f304886 Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from openssl#7688) (cherry picked from commit 9e1a54f)
If the afalgeng is enabled then Configure tries to be clever but fails, by only actually building afalgeng if it isn't being cross-compiled and if the current kernel is 4.1+. This means that everyone cross compiling, or whose builder machines are running older kernels (not uncommon for build farms), can't enable afalgeng. Instead remove the cleverness and simply enable/disable as requested. Fixes openssl#7687 CLA: trivial Signed-off-by: Ross Burton <ross.burton@arm.com> Change-Id: I023b6cb535d5b5811823d4814fa939de3f304886 Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from openssl#7688) (cherry picked from commit 9e1a54f)
If the afalgeng is enabled then Configure tries to be clever but fails, by only actually building afalgeng if it isn't being cross-compiled and if the current kernel is 4.1+. This means that everyone cross compiling, or whose builder machines are running older kernels (not uncommon for build farms), can't enable afalgeng. Instead remove the cleverness and simply enable/disable as requested. Fixes openssl#7687 CLA: trivial Signed-off-by: Ross Burton <ross.burton@arm.com> Change-Id: I023b6cb535d5b5811823d4814fa939de3f304886 Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from openssl#7688) (cherry picked from commit 9e1a54f)
If the afalgeng is enabled then Configure tries to be clever but fails, by only actually building afalgeng if it isn't being cross-compiled and if the current kernel is 4.1+. This means that everyone cross compiling, or whose builder machines are running older kernels (not uncommon for build farms), can't enable afalgeng. Instead remove the cleverness and simply enable/disable as requested. Fixes #7687 CLA: trivial Signed-off-by: Ross Burton <ross.burton@arm.com> Change-Id: I023b6cb535d5b5811823d4814fa939de3f304886 Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from #7688) (cherry picked from commit 9e1a54f)
If the afalgeng is enabled then Configure tries to be clever but fails, by only actually building afalgeng if it isn't being cross-compiled and if the current kernel is 4.1+. This means that everyone cross compiling, or whose builder machines are running older kernels (not uncommon for build farms), can't enable afalgeng. Instead remove the cleverness and simply enable/disable as requested. Fixes #7687 CLA: trivial Signed-off-by: Ross Burton <ross.burton@arm.com> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from openssl/openssl#7688) Change-Id: Ibbc949222f8e9cfcb647555e5d655f90673a3491
If the afalgeng is enabled then Configure tries to be clever but fails, by only
actually building afalgeng if it isn't being cross-compiled and if the current
kernel is 4.1+.
This means that everyone cross compiling, or whose builder machines are running
older kernels (not uncommon for build farms), can't enable afalgeng.
Instead remove the cleverness and simply enable/disable as requested.
Fixes #7687