On 2025-04-22 18:31, Martin Guy via cfarm-users wrote:
Hi again.Porting something dependent on compiler internals, I wondered if there is (or if anyone has compiled) a list of compilers other than gcc and clang available on the compile farm and where they are.
Not sure if this one is "funny", but the OPENPOWER firmware buildsys pulls an ancient version of customized gcc [1] and binutils [2]. It has little to no documentation on what was changed by IBM. According to [3], IIUC, this toolchain is used to build a zero-stage bootloader SBE which starts the first-stage bootloader Hostboot on POWER9, so its use is very limited.
And then there is a riscv vendor toolchain that is general purpose but may be funny [4]. IIRC anything it builds is not portable, and cfarm doesn't have any host with a thead CPU (infamous for the Ghostwrite vulnerability).
Finally I also found a "we-violate-the-GPL-because-we-don't-care" compiler [5], a sourceless, prebuilt and customized gnu toolchain by Spacemit with "--build=x86_64-linux-gnu --host=riscv64-linux-gnu", which is linked from [6]. This one deserves a ((dis)honorary) mention because cfarm95 runs on the Spacemit CPU.
[1] https://github.com/open-power/ppe42-gcc [2] https://github.com/open-power/ppe42-binutils [3] https://wiki.raptorcs.com/wiki/Self-Boot_Engine [4] https://github.com/XUANTIE-RV/xuantie-gnu-toolchain [5] https://archive.spacemit.com/toolchain/ [6] https://milkv.io/docs/jupiter/development-guide/kernel-compilation -- Jing Luo About me: https://jing.rocks/about/ GPG Fingerprint: 4E09 8D19 00AA 3F72 1899 2614 09B3 316E 13A1 1EFC
signature.asc
Description: OpenPGP digital signature
_______________________________________________ cfarm-users mailing list cfarm-users@lists.tetaneutral.net https://lists.tetaneutral.net/listinfo/cfarm-users