On 7/19/25 07:35, Rob Landley wrote:
On 7/16/25 10:30, enh wrote:
On Tue, Jul 15, 2025 at 10:36 PM Rob Landley <r...@landley.net> wrote:
 >
I'm still waiting for the Android NDK to ship the --static-libasan
compatibility spelling from last year, which was
http://lists.landley.net/pipermail/toybox-landley.net/2024- July/030444.html but happened again just https://github.com/landley/toybox/issues/554 ago.

you're waiting for github's _ubuntu_ to have a new enough clang, no?
(which i think you can fix by just editing
https://github.com/landley/toybox/blob/master/.github/workflows/ toybox.yml#L25
to say you want a newer release?)

That too, but:

$ android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64- linux-android35-clang -static-libasan clang: error: unknown argument '-static-libasan'; did you mean '-static- libsan'?
clang: error: no input files

Still the current version on https://developer.android.com/ndk/downloads

Haven't tried updating ubuntu, but if the NDK hasn't picked it up yet I'm not hopeful.

Ah, I hadn't scrolled down enough on the page. The first one's the LTS version (r27d), the "stable" version is r28c and that...

$ android-ndk-r28c/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android35-clang -static-libasan clang: error: unknown argument '-static-libasan'; did you mean '-static-libsan'?
clang: error: no input files

Does the same thing.

Let's try r29-beta2...

Yay that one understands it. So when r29 comes out, the NDK should support it.

Still not THAT promising for checking an Ubuntu LTS version, but maybe when I'm back from Tokyo I can take a look...

Rob

Still Rob
_______________________________________________
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to