Closed sfan5 closed 2 years ago
Hmm, I guess that configuration isn't covered by our tests? What's the build command here? I'm not familiar with shaderc (CC @dneto0 )
Your fix seems obviously correct (thanks!) but I want to make sure we get a regression test added.
If we get this sorted in the next week we can pick this up for r24 RC 1. Sorry, I know I'm responding 17 days after filing asking for a quick response, but we were all out on vacation :)
cd android-ndk-r23b/sources/third_party/shaderc ../../../ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=Android.mk APP_STL=c++_shared APP_ABI=arm64-v8a libshaderc_combined
should reproduce it
Great, thanks!
I fixed it slightly differently: https://android-review.googlesource.com/c/platform/external/shaderc/shaderc/+/1946087
I think the project owner will want to send that upstream and merge it back down so it might not make it into the initial r24 release, but we can include it in r24b (I see you're using r23b, and it's planned for r23c either way). I'm waiting for him to respond though, so it might be something that makes it for r24 RC 1 after all.
r24 is not an LTS so it will lose support when r25 ships in early July. Due to a lack of bandwidth in our dependencies, it won't be possible to ship r24b before the end of the support window. Closing since this is already fixed in r25 and r23c.
Description
Attempting to build a combined shaderc using
sources/third_party/shaderc/Android.mk
fails with the following error:Binutils were removed from the NDK in r23 so someone just forgot to update the build script.
Fixing this is a two line change:
Environment Details