Skip to content

[BUG] NDK r23 gives confusing error message for -fno-integrated-as #1569

@bog-dan-ro

Description

@bog-dan-ro

Description

Steps to reproduce:

  • create a simple .c file $ cat test.c :
int main() {return 0;}
  • Try to compile it:
$ /path/to/ndk/23.0.7599858/toolchains/llvm/prebuilt/linux-x86_64/bin/clang test.c --target=armv7a-linux-androideabi28 -fno-integrated-as -pipe -D_FILE_OFFSET_BITS=64 -c
/usr/bin/as: unrecognized option '-EL'
clang-12: error: assembler command failed with exit code 1 (use -v to see invocation)

Without -fno-integrated-as it compiles just fine.

I need to pass -fno-integrated-as to workaround pixman issues: https://gitlab.freedesktop.org/pixman/pixman/-/issues/45

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions