[Toybox] NDK 28-beta2 still doesn't understand -static-libasan

Rob Landley rob at landley.net
Mon Dec 2 14:15:31 PST 2024


On 12/2/24 14:18, enh wrote:
> i asked an expert, and they said...
> 
> ```
> $ external/toolchain-utils/llvm_tools/git_llvm_rev.py --sha
> dcf70e16684420ae211dad58dbfacc0430409ab4
> r542442
> ```
> So r542442 is the merged SHA for that patch, but r28 is only using r530567
> based on https://github.com/android/ndk/wiki/Changelog-r28
> 
> back to me, i'll add that it's not in the "current next" toolchain either:
> 
> ~/aosp-main-with-phones/prebuilts/clang/host/linux-x86$ ls -1d clang-*
> clang-3289846
> clang-r522817
> clang-r530567
> clang-r530567b
> clang-r536225
> clang-stable
> ~/aosp-main-with-phones/prebuilts/clang/host/linux-x86$

Alas, when I wired around it locally the static build still died with 
"ld.lld: error: undefined symbol: _DYNAMIC" so not immediately useful 
anyway.

I had regression testing the NDK's ASAN on my todo list since 
https://landley.net/notes-2024.html#27-08-2024 but presumably you're 
already doing it in that context. And I have no idea how to fix debian's 
ASAN...

I need a test failure category that's "unhappy but sort of expected", 
but there's no useful automated information to extract from that one. 
Sort of a "still not king" indicator 
(https://www.ealasaid.com/misc/vsd/aragorn.html).

Rob


More information about the Toybox mailing list