Overview

Request 678204 accepted

- Package and cross-build rom files for aarch64 from
SLE15/Leap15.0 to fix boo#1125964
- Add patch to fix seabios cross-compilation:
* seabios-fix_cross_compilation.patch
- Add patch to fix sgabios cross-compilation:
* sgabios-fix-cross-build.patch
- Fix _constraints to include all architectures for disk size
(fix aarch64)

Loading...

Bruce Rogers's avatar

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?


Request History
Guillaume GARDET's avatar

Guillaume_G created request

- Package and cross-build rom files for aarch64 from
SLE15/Leap15.0 to fix boo#1125964
- Add patch to fix seabios cross-compilation:
* seabios-fix_cross_compilation.patch
- Add patch to fix sgabios cross-compilation:
* sgabios-fix-cross-build.patch
- Fix _constraints to include all architectures for disk size
(fix aarch64)


Bruce Rogers's avatar

bfrogers accepted request

Thanks for your work here. I think I will still want to add some logic (not yet quite sure how) to NOT have builds in multiple arch's building the same noarch firmware subpackages, but for now this accomplishes the purpose of adding cross-build support. Again, thanks for your work here.

openSUSE Build Service is sponsored by