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

Cross Compile Exec Error #14456

Closed
sammerry opened this issue Sep 14, 2019 · 2 comments
Closed

Cross Compile Exec Error #14456

sammerry opened this issue Sep 14, 2019 · 2 comments

Comments

@sammerry
Copy link

System

  • xuname:
    Void 5.2.14_1 x86_64 GenuineIntel uptodate rrFF
  • package:
    xbps-src binary-bootstrap armv7l

Expected behavior

xbps-src binary-bootstrap armv7l runs the same as x86 xbps-src binary-bootstrap

Actual behavior

after successfully installing dependencies i get the following error during reconfigure

0 downloaded, 64 installed, 0 updated, 64 configured, 0 removed.
=> Installed bootstrap successfully!
ERROR Failed to execute command /void-packages/xbps-src (Exec format error)

Steps to reproduce the behavior

run the following command
./xbps-src binary-bootstrap armv7l

@Piraty
Copy link
Member

Piraty commented Sep 14, 2019

how is that supposed to work?
./xbps-src <binary->bootstrap <arch> sets up a masterdir/chroot for the given arch (or the one you run on, if none is given).
you can't run arm code on an x86 (at least not in this chroot with xbps-src. qemu would be an option but that's not supported currently).

What you're probably after is ./xbps-src -a <arch> if you intend to crosscompile from x86 to arm

@Piraty Piraty closed this as completed Sep 14, 2019
@sammerry
Copy link
Author

thanks

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

2 participants