https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90558
--- Comment #7 from Rich Townsend <townsend at astro dot wisc.edu> --- (In reply to Rich Townsend from comment #2) > (In reply to Andrew Pinski from comment #1) > > Dup. > > > > *** This bug has been marked as a duplicate of bug 89864 *** > > Are you sure? The discussion in 89864 indicates that the patch to fix this > bug should be in the 9.1 release. Also, IIRC I don't see the bug when > configuring without the --with-sysroot and --with-build-sysroot flags > (although I'm just rechecking that now). Yep, confirmed that configuring without those flags allows the compile to complete. Now going to try out the patch mentioned by Iain in #5. (In reply to Rich Townsend from comment #6) > (In reply to Rich Townsend from comment #2) > > (In reply to Andrew Pinski from comment #1) > > > Dup. > > > > > > *** This bug has been marked as a duplicate of bug 89864 *** > > > > Are you sure? The discussion in 89864 indicates that the patch to fix this > > bug should be in the 9.1 release. Also, IIRC I don't see the bug when > > configuring without the --with-sysroot and --with-build-sysroot flags > > (although I'm just rechecking that now). > > Yep, confirmed that configuring without those flags allows the compile to > complete. > > Now going to try out the patch mentioned by Iain in #5. The patch successfully applied to the 9.1 release (with offsets), and the build completed without hitch. Nice work, Iain!