https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109137
--- Comment #2 from Sam James <sam at gentoo dot org> --- (I suspect ffmpeg's build system does some buffering/synchronisation/suppression of output until a job is complete which is why it looks like a hang with no output at all, while running it manually gets errors-then-hang.)