Overview
Request 678058 superseded
- Fix _constraints to include all architectures for disk size
(fix aarch64)
- Package and cross-build rom files for aarch64 (except sgabios)
from SLE15/Leap15.0 to fix boo#1125964
- Add patch to fix seabios cross-compilation:
* seabios-fix_cross_compilation.patch
- Created by Guillaume_G
- In state superseded
- 8 package maintainers
- Supersedes 678021
- Superseded by 678204
For the record, the qemu-kvm package is legacy, and discouraged. No need to try to add arm there (besides the inclusion is incomplete, since legacy_qemu_kvm isn't enabled for arm).
One problem we've seen in the past when trying to produce the firmware packages built from multiple architectures was not being able to specify which is preferred. Perhaps there is a way I don't know about. If they are FULLY equivalent and it doesn't cause any other issues, perhaps it doesn't matter which arch built it.
Still evaluating this, incl. making sure it all builds ok...
I can enable cross-build only for openSUSE and not for SLE, if you prefer.
For KVM, I will submit a new request to remove that part.
Request History
Guillaume_G created request
- Fix _constraints to include all architectures for disk size
(fix aarch64)
- Package and cross-build rom files for aarch64 (except sgabios)
from SLE15/Leap15.0 to fix boo#1125964
- Add patch to fix seabios cross-compilation:
* seabios-fix_cross_compilation.patch
I tested the firmware produced under aarch64 using this cross-build approach and it looks fine. So it seems were close! But in order to proceed, we need to resolve the sgabios issue. We can't just drop providing that package for aach64. (or, if we use the x86_64 built one, why aren't we just doing that for everything and forget this cross build approach?) For sgabios, it seems we just need to add a bit of smarts to that Makefile, to separate out the building of csum8, which would need the HOST_CC vs the rest of what goes into making sgabios.bin, which would include Makefile changes to recognize cross-tools. Making csum8 executable is only place where stdio.h is needed, so this part of the solution isn't a cross compiler support issue at all (boo#112621). Guillaume, it seems you're pretty proficient with cross-building. Do you want to tackle that?
Indeed, I will try to get sgabios built properly.
@bfrogers, here it is: https://build.opensuse.org/request/show/678204