https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91034
--- Comment #13 from Andrew Roberts <andrewm.roberts at sky dot com> --- Just tried --enable-assembly=no with the standalone build of gmp and this does seem to work as advertised. Everything symlinked to .c rather than .asm files, and no .asm or .s files built at all. Building gmp standalone with the broken raspbian compiler and setting CFLAGS="-v" works when configuring using --enable-assembly=no, but fails without it. Long term this is probably the best way forward...