Skip to content

Windows, NDK r14: link time optimization does not work with Clang #313

@psiha

Description

@psiha

I.e. #137 has not been fixed in the Windows x64 build of the NDK - I still get
ndk-bundle\toolchains\aarch64-linux-android-4.9\prebuilt\windows-x86_64\aarch64-linux-android\bin\ld.gold.exe
Error:error: <some_source_file>.cpp.o:1:3: invalid character

  • using LTO forces us to use -O3 because with -Os it spits out the "Optimization level must be between 0 and 3" error

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions