Jonathan Wakely <jwakely.gcc@xxxxxxxxx> writes: > This is because I don't have an in-tree ld and "ld --version 2>&1 | > fgrep plugin-opt" fails, so $gcc_cv_lto_plugin=no You mean ld --help, don't you? Does your gold --help show --plugin-opt? It should. If it doesn't, then that's the first thing to fix. What version of gold are you using? You didn't somehow configure the binutils with --disable-plugins, did you? Ian