#6578: ARM NEON detection should use getauxval instead of parsing files in /proc
-------------------------------------+-------------------------------------
Reporter: James | Owner: (none)
Cowgill |
Type: enhancement | Status: new
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Aman):
somewhat related, I experienced SEGV on some android/arm devices when
attempting to read /proc/self/auxv
{{{
OS Version: Android 9 (PS7242)
Report Version: 104
Exception Type: Unknown (SIGSEGV)
Application Specific Information:
Segfault
Thread 0 Crashed:
0 libc.so 0xf23ac550 fread
1 libavutil.so 0xd585c3ca [inlined]
get_hwcap (cpu.c:60)
2 libavutil.so 0xd585c3ca
ff_get_cpu_flags_arm (cpu.c:109)
}}}
it appears since API20 getauxval() is part of android libc
https://chromium.googlesource.com/skia/+/chrome/m49/platform_tools/android/third_party/cpufeatures
/cpu-features.c#478
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6578#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".