[Toybox] [SC22WG14.32335] Statement expressions

Rob Landley rob at landley.net
Sat Jul 19 06:04:41 PDT 2025


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 <rob at 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


More information about the Toybox mailing list