https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65559
--- Comment #32 from Matt Breedlove <breedlove.matt at gmail dot com> --- I've been building with just the corrected open call and have successfully built LTO versions of binutils, mpc, mpfr, isl, libiconv, bzip2, zlib, etc without any issue but have had issues on doing a bootstrap-lto with it. I'll try the last patch and do a native bootstrap-lto build with it and report back shortly.