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 build failure: "unrecognized command line option" #581

Open
yallop opened this issue Nov 1, 2018 · 3 comments
Open

Android build failure: "unrecognized command line option" #581

yallop opened this issue Nov 1, 2018 · 3 comments

Comments

@yallop
Copy link
Owner

yallop commented Nov 1, 2018

The Android CI build is failing with the following errors:

# arm-linux-androideabi-gcc: error: unrecognized command line option '-m64'
# arm-linux-androideabi-gcc: error: unrecognized command line option '-mno-red-zone'
@yallop
Copy link
Owner Author

yallop commented Dec 7, 2018

@whitequark: if you happen to know what's going on here, a PR would be very much appreciated.

@whitequark
Copy link
Contributor

Sounds like you're invoking Android gcc as a linker but with x86 flags that appear from somewhere in the build process. Let me know if this doesn't give you enough information.

@avsm
Copy link
Contributor

avsm commented Dec 29, 2018

This looks suspiciously like the Xen cflags for MirageOS unikernels, which do not have a red zone. I'll investigate this as I'm working on the dune port in #574 that'll shortly have cross-compilation support using the current scheme.

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

3 participants