Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android LTO: Clang error with default 'ar' (?) #315

Closed
ruslo opened this issue Feb 22, 2017 · 4 comments
Closed

Android LTO: Clang error with default 'ar' (?) #315

ruslo opened this issue Feb 22, 2017 · 4 comments
Assignees
Labels
Milestone

Comments

@ruslo
Copy link
Collaborator

ruslo commented Feb 22, 2017

From Gitter:

the default ar tool returns an error for object files compiled with -flto

Workaround:

This is probably a valid CMake issue.

@ruslo ruslo added this to the 0.4 milestone Feb 22, 2017
@ruslo ruslo self-assigned this Feb 22, 2017
@ruslo
Copy link
Collaborator Author

ruslo commented Feb 22, 2017

@ruslo
Copy link
Collaborator Author

ruslo commented Feb 22, 2017

CMAKE_AR problems mentioned here too:

@ruslo
Copy link
Collaborator Author

ruslo commented Feb 23, 2017

Seems that GCC works fine with CMAKE_AR and CMAKE_RANLIB:

Moving to Clang sections for future testing.

@ruslo ruslo changed the title Android LTO: error with default 'ar' Android LTO: Clang error with default 'ar' (?) Feb 23, 2017
@ruslo
Copy link
Collaborator Author

ruslo commented Mar 13, 2017

See no problems with ar/ranlib while using Clang, closing.

@ruslo ruslo closed this as completed Mar 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants