ppc@ as title ... i've been playing around since i got 6.6-current installed.
first build a gcc4 kernel and test if it boots properly. OK modified share/mk/bsd.own.mk; modified links to cc, c++, cpp; kernel build without errors; these steps are from a 2018 mail on how to "switch armv7 to clang" ... but does not boot ----- [ using 1135748 bytes of bsd ELF symbol table ] console out [ATY,Jasper_A] console in [keyboard], using USB using parent ATY,JasperParent:[]-2147483648/0 sp=6db6db6d inside 80210194-38214000: not MAP_STACK ----- seems i got a trap while doing of_display_console() later reverted the links to cc, c++, cpp since library reordering balks hard. now i just use 'CC=clang CXX=clang++ CPP=clang-cpp make' will a noob like me ... be able to proceed and 'try' to debug this? i guess next step would be to drop down to the kernel debugger ... but i am not sure if that is even possible *haven't actually tried it yet*. i got no serial console.