Skip to content

FastPathAlloc tests failing on Android NDK r27 #301

Closed
@triplef

Description

@triplef

These tests were being skipped up to test run #385 but have been failing since #386 where the default NDK on the GitHub runners seem to have been updated from r25 with Clang 14 to r27 with Clang 18.

FAILED (134): FastPathAlloc (0s)
Output:
[ShouldAlloc alloc] called
[ShouldAllocWithZone allocWithZone:] called
[ShouldInit init] called
[ShouldInit2 alloc] called
[ShouldInit2 init] called
[NoAlloc alloc] called
/home/runner/work/libobjc2/libobjc2/Test/FastPathAlloc.m:114: int main(void): assertion "!called" failed

Google ships modified Clang builds with the NDK, so maybe it’s something specific to these builds. The NDK releases page has the upstream Clang revisions they are based on.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions