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, autoconf and arc4random_buf() #70

Open
anttikantee opened this issue Nov 4, 2014 · 5 comments
Open

Android, autoconf and arc4random_buf() #70

anttikantee opened this issue Nov 4, 2014 · 5 comments
Labels

Comments

@anttikantee
Copy link
Member

Seems like some versions of Android provide arc4random_buf() in libc, but fail to provide a prototype for it. This causes autoconf to think Android is a HAVE_ARC4RANDOM_BUF target, but librumpuser fails to compile due to no prototype and proper warning flags.

Possibilities:

  • support only later versions of Android which apparently bother to supply a prototype (my suggestion)
  • add some hacks, maims and kludges into librumpuser/configure and/or buildrump.sh
@anttikantee anttikantee added the bug label Nov 4, 2014
@anttikantee
Copy link
Member Author

Same thing for clock_nanosleep()

@justincormack
Copy link
Member

Ok, I fixed these upstream...

BUT

I am inclined to drop support for Android before Lollipop, as basically most of the stupid issues like wrong prototypes, missing prototypes etc have been fixed.

@anttikantee
Copy link
Member Author

watch me not mind ;)

@justincormack
Copy link
Member

Still have to get it to compile though ;-)

@justincormack
Copy link
Member

Come to the conclusion that the Ubuntu Android bionic is completely bogus. Going to switch to the official compilers. Need to fix the fact that it doesnt have -lpthread though.

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