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

node (built as executable) does not run on Android 5.1.1 emulator #3505

Closed
vroad opened this issue Oct 24, 2015 · 2 comments
Closed

node (built as executable) does not run on Android 5.1.1 emulator #3505

vroad opened this issue Oct 24, 2015 · 2 comments
Labels
arm Issues and PRs related to the ARM platform.

Comments

@vroad
Copy link

vroad commented Oct 24, 2015

I checked out v4.2.1, compiled with default option for arm Android.
I triied running it on emulator, but it exited with this error.

Error: only position independent executables (PIE) are supported

Looks like you need to change compile option when you compile executables for lollipop.
http://stackoverflow.com/questions/30498776/position-independent-executables-and-android-lollipop

@mscdex mscdex added the arm Issues and PRs related to the ARM platform. label Oct 24, 2015
@vroad
Copy link
Author

vroad commented Oct 24, 2015

I added -fPIC to cflags_cc and -pie to ldflags and now works on emulator.

@Fishrock123
Copy link
Contributor

Maybe related to #3581, but this seems solved. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arm Issues and PRs related to the ARM platform.
Projects
None yet
Development

No branches or pull requests

3 participants