You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The toolchain GCC 10.3.0 toolchain from kernel.org runs fine in QEMU. While this is likely an issue with bootlin's build. I create this issue here for others who might run into this issue.
The text was updated successfully, but these errors were encountered:
Thanks for the report. I'd already noticed this when trying to integrate OpenBIOS into the QEMU build toolchain, which makes use of the Debian cross-compilers and they suffer from the same issue whereby the firmware builds but then promptly crashes.
For now my workaround has been the same as yours, which is to use the kernel toolchain to build the OpenBIOS binaries and that is used by GitHub actions when commits are pushed to master. As part of this process a builder image is generated and puhsed to GHCR for use by 3rd parties who wish to build OpenBIOS themselves.
At some point it would be useful to understand why the OpenBIOS binaries are failing, but it's something that will likely take me some time to investigate.
As of current master, I am now able to build the OpenBIOS binaries using the standard Debian cross-compilers (there were some recent changes to the compiler flags that were required to make this work). Can you confirm that this is now working for you?
These (and possibly all the others) bootlin cross compile toolchains for sparc64 successfully compile OpenBIOS, but get the following QEMU abort: sparc64--glibc--stable-2021.11-1 (GCC 10.3.0), sparc64--glibc--stable-2021.11-1.
The toolchain GCC 10.3.0 toolchain from kernel.org runs fine in QEMU. While this is likely an issue with bootlin's build. I create this issue here for others who might run into this issue.
The text was updated successfully, but these errors were encountered: