-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[Bug]: unable to update gems on android 10 #20445
Comments
It should be fixed. Feel free to reopen it if it is not fixed yet. Thanks! |
Hi @licy183 Thanks a lot for the PR! I don't seem to get
And I don't see the option to re-open this issue... |
|
The
Maybe again some android 10 path issue. |
Tried with the
|
|
Hi @licy183 Thank you for pointing that out! I was able to hardcode my binary path. Not really a good approach, maybe I could use
I could compile a simple program and use
#include <stdarg.h>
#include <stdio.h>
int main() {
printf("Hello, World!\n");
return 0;
}
But something to note is that all this makes updating the default |
Problem description
This issue is a continuation from #20359. Once I fixed that and tried
gem update
, the gems that have native C based implementations and need to compile things on device caused errors. To keep it concise, my hunch is that it is related to the-fno-openmp-implicit-rpath
argument on clang. Related: #20039, #19766Some gems that I faced issue with were
bigdecimal
,ffi
andnokogiri
. All of them had these lines in theirmkmf.log
that describes the error caused while updating:More precisely, there were some specifics issues too:
bigdecimal
:nokogiri
Issue with
__builtin_clz()
,-std=c99
, I guess something is wrong with clang. Do I need to downgrade, patch something, or add some other development tools to my bootstrap? Any help would be really appreciated. Thanks!What steps will reproduce the bug?
I have a custom prefixed bootstrap so maybe it is hard to build and reproduce my exact setup. But this specific issue can be replicated using the android 10 ruby demo I have for
com.termux
prefixed bootstraps and termux apk I built using workflows here. It is caused when runninggem update
in theapp-debug.apk
linked in the release.What is the expected behavior?
No response
System information
The text was updated successfully, but these errors were encountered: