I would have thought that invoking a C compiler would be a solved problem. Looking at Rust's cc crate there's a remarkable long tail of corner cases to fix.
Exotic CPUs, microarchitectures, compiler differences, operating system differences, etc.
Smart contract security assessments are surprisingly readable: https://certificate.quantstamp.com/full/nomad
It's clear what's being audited, the issues identified are clearly categorised, and the maintainer responses are shown.