3 ms·
I tried to use clang to compile some NDK code on Android and the resulting binary segfaulted. I tracked it down to what appeared to be a bug with register spill
by js2 6y ago
I tried to use clang to compile some NDK code on Android and the resulting binary segfaulted. I tracked it down to what appeared to be a bug with register spilling. The fix was to use gcc and hope the clang bug was eventually fixed.
These things happen.
https://groups.google.com/forum/m/#!topic/google-breakpad-discuss/uNjAGPCX1Fo https://groups.google.com/forum/m/#!topic/google-breakpad-di...
- pjmlp 6y agoI guess this was a while ago, given that GCC support has been dropped since a couple of releases.
- js2 6y agoYes about two years ago, but the bug wasn’t fixed till April this year and it looks like the fix was a work-around: https://chromium.googlesource.com/linux-syscall-support/+/be2d5a80df9a9519cab306508ce902d774da76a9 https://chromium.googlesource.com/linux-syscall-support/+/be...