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

don't pass --fix-cortex-a8 with lld #776

Closed
DanAlbert opened this issue Aug 23, 2018 · 2 comments
Closed

don't pass --fix-cortex-a8 with lld #776

DanAlbert opened this issue Aug 23, 2018 · 2 comments
Assignees
Milestone

Comments

@DanAlbert
Copy link
Member

Not yet supported: #766

We should avoid passing that when the user is using lld.

@DanAlbert DanAlbert added this to the r19 milestone Aug 23, 2018
@DanAlbert DanAlbert self-assigned this Aug 23, 2018
@DanAlbert
Copy link
Member Author

(I'm considering doing this for r18, but since beta 2 is already out I'm hesitant to make a non-regression-fix change)

@arturbac
Copy link

arturbac commented Aug 23, 2018

There is connected issue when somone uses full llvm compiler,assembler,linker
android cmake toolchain adds -fno-integrated-as and -Wa,--noexecstack
Whith ndk 18 i can use full llvm with lto-thin but i have to:

  • add -fintegrated-as (override at the end of compile options or replace -fno-integrated-as)
  • remove -Wa,--noexecstack
    Then everyting is build with llvm without binutils. and thin lto works, but i didnt check how it works with binutils as and lld, maybe it works too.
    I think android cmake toolchain could support using full llvm (as,lld too) as an option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants