Skip to content

[Bug]: NDK r29: hangs forever when compiling file with -O3 on arm #2215

@licy183

Description

@licy183

Description

Compiling the following file with the following command will make clang hang forever.

~/lib/android-ndk-r29/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi24-clang -DMLIB_HAVE_STRINGS_H -DMLIB_USER -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -DNDEBUG -std=gnu99 -fPIE -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=ignored-qualifiers -Werror=uninitialized -o path.test.c.o -c path.test.c

path.test.c.zip

Upstream bug

No response

Commit to cherry-pick

No response

I am using a supported NDK

  • I have checked and the NDK I'm using is currently supported

Affected versions

r29

Host OS

Linux

Host OS version

Ubuntu 24.04.3

Affected ABIs

armeabi-v7a

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

Status

Awaiting triage

Status

Unconfirmed

Status

Unconfirmed

Status

Unconfirmed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions