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

Switch from libgcc to compiler-rt #1120

Closed
joakim-noah opened this issue Jul 8, 2017 · 4 comments
Closed

Switch from libgcc to compiler-rt #1120

joakim-noah opened this issue Jul 8, 2017 · 4 comments
Labels
enhancement help wanted Help is wanted in order to solve the issue

Comments

@joakim-noah
Copy link
Contributor

Since the NDK has switched to clang, surely it would be better for Termux to use compiler-rt instead? Maybe it's worth trying to compile several packages with compiler-rt and see if anything breaks.

@alive4ever
Copy link
Contributor

#72 has some information regarding libgcc and compiler-rt

@fornwall fornwall added enhancement help wanted Help is wanted in order to solve the issue labels Jul 10, 2017
@fornwall
Copy link
Member

Note that the NDK hasn't switched to compiler-rt yet (but probably plans to): android/ndk#294

The easiest way would be to wait for the NDK to start using compiler-rt and use it in Termux, just like libgcc is now, but for now we could look into packaging it ourselves.

@DanAlbert
Copy link

You can probably close this. This isn't a detail that NDK users should have to think about. We'll make the switch inside the NDK and it will make its way downstream to you.

@joakim-noah
Copy link
Contributor Author

We've already switched to libc++ too, so Termux precedes the NDK. At the very least, we could provide an optional compiler-rt package, that users could choose to rely on in place of the libgcc package that clang automatically pulls in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement help wanted Help is wanted in order to solve the issue
Projects
None yet
Development

No branches or pull requests

5 participants