Error message: ld: cannot find -lgcc: No such file or directory I am using Ubuntu 22.04. Everything else compiles OK except for Luajit.
Never mind. I cleaned the tmp and sstate-cache and tried again. Now it passes without error.