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

Add armv7hl to build-vm-qemu #1036

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

stoecker
Copy link

@stoecker stoecker commented Nov 4, 2024

When I use "osc build" on my local machine cross building for 32 bit ARM I always get an issue because no tool is called instead of the ARM toolchain.

For approx a year I fix the build-vm-qemu after each update hoping that it will be fixed upstream. As it was not fixed I now searched the original repo (BTW it would be helpful when the "build" package of openSUSE actually contained a link to this repo).

This pull request fixes the issue.

Add armv7hl to fix build issues.
@stoecker
Copy link
Author

stoecker commented Dec 3, 2024

Anyone alive?

@adrianschroeter
Copy link
Member

The hostarch exists only as armv7l since there is only armv7l hardware and a linux kernel.

armv7hl is a userland decision, so you need some

Target: armv7hl-...

definition. Or do I miss some point here?
Do you have an example setup?

@stoecker
Copy link
Author

stoecker commented Dec 5, 2024

I have no idea why it is necessary, but is needed for every ARM 32bit repository I use. This is also needed on other machines my colleagues operate which have been setup independend, so it's no local configuration issue.

Example:

  <repository name="openSUSE_Leap_15.5_ARM">
    <path project="openSUSE:Leap:15.5:ARM" repository="ports"/>
    <arch>armv7l</arch>
  </repository>

I didn't do any other settings, special targets or whatever. Simply build for 32bit ARM on an x64_64 bit system.

Running with
osc build --local-package -j 4 --vm-disk-size=8096 --vm-type=qemu ...

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

Successfully merging this pull request may close these issues.

2 participants