Fixed
Status Update
Comments
rm...@google.com <rm...@google.com> #2
Hi there,
as pointed out already over at GitHub, I think all that's missing is another switch passed to llvm-rs-cc to emit either 32/64bit code pretty much here:
https://android.googlesource.com/platform/tools/base/+/refs/heads/master/build-system/builder/src/main/java/com/android/builder/internal/compiler/RenderScriptProcessor.java#224
Since we depend on RenderScript working with Android NDK for 64bit apps as of today [1], this issue is quite urgent for us.
May I kindly ask to prioritize this bugfix as the actual fix doesn't seem to be too much work?
In principle, we could pass -m32/-m64 to llvm-rs-cc ourselves to generate the correct bytecode. However, this is not feasible when building a release APK as we otherwise will run in all kinds of issues due to wrong checksums etc. We neither want to call aapt2 ourselves to generate an APK (but continue using the Android Gradle plugin), as the actual packaging is quite cumbersome and prone to errors.
Thanks in advance
[1]https://android-developers.googleblog.com/2019/01/get-your-apps-ready-for-64-bit.html
as pointed out already over at GitHub, I think all that's missing is another switch passed to llvm-rs-cc to emit either 32/64bit code pretty much here:
Since we depend on RenderScript working with Android NDK for 64bit apps as of today [1], this issue is quite urgent for us.
May I kindly ask to prioritize this bugfix as the actual fix doesn't seem to be too much work?
In principle, we could pass -m32/-m64 to llvm-rs-cc ourselves to generate the correct bytecode. However, this is not feasible when building a release APK as we otherwise will run in all kinds of issues due to wrong checksums etc. We neither want to call aapt2 ourselves to generate an APK (but continue using the Android Gradle plugin), as the actual packaging is quite cumbersome and prone to errors.
Thanks in advance
[1]
ca...@google.com <ca...@google.com> #3
Can you please provide a small project for his, as well as detailed instructions on how to reproduce?
That would help expedite things.
That would help expedite things.
ca...@google.com <ca...@google.com> #4
Hello,
Here is a minimal project that reproduces it. I've added the instructions for reproducing to the README:https://github.com/Dockheas23/renderscript-gradle-64
Thanks a lot
Here is a minimal project that reproduces it. I've added the instructions for reproducing to the README:
Thanks a lot
Description
Build: $VERSION, AI-183.5153.38.35.5256920, 201901241813, AI-183.5153.38.35.5256920, JRE 1.8.0_152-release-1248-b01x64 JetBrains s.r.o, OS Linux(amd64) v4.4.0-57-generic, screens 1366x768Android Gradle Plugin: 3.2.1Gradle: 4.6NDK: from local.properties: 15.2.4203891; latest from SDK: 15.2.4203891; LLDB: pinned revision 3.1 not found; latest from SDK: LLDB 2.3 (revision: 2.3.3614996); CMake: from local.properties: (not specified); latest from SDK: 3.6.0-rc2; from PATH: (not found); IMPORTANT: Please read