Since this commit, webrtc audio processing module is compiled with AVX2
enabled.

https://cs.android.com/android/_/android/platform/external/webrtc/+/b5b78192e10ba90978fb8228e7eb9fcf75c83f0c

This makes the module fail to load on platforms that do not support AVX2.
E.g. generates SIGILL at a location like this one:

https://cs.android.com/android/platform/superproject/main/+/main:external/webrtc/modules/audio_processing/include/audio_processing.h;drc=4366c5469fefb6a1e641378a2bb152e3c5ad7421;l=186

Is this ABI requirement change documented anywhere? The main info about ABI
I can find is this one, and it doesn't say AVX2 is mandatory (you can use
it, but you need the proper safeguard, which webrtc module hasn't):

https://developer.android.com/ndk/guides/abis

Thanks,
Michael.

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/CAB-99LuRHcyK%2BGrH8GSYwFWVCPhDNX7Xb7ZnoN62oFAzyagd3g%40mail.gmail.com.

Reply via email to