https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797
--- Comment #67 from Chris Johns <chrisj at rtems dot org> --- (In reply to Jonathan Wakely from comment #66) > Yes, I was afraid the RTEMS failures might be a different problem. > > Are the symptoms the same? i.e. missing C++ standard library headers? > Yes it seems to be the same issue I was seeing when we first looked into the problem. > Comment 17 suggests you're seeing missing libgcc headers, which is created > by a different makefile. Maybe a similar kluge is needed in libgcc/Makefile > for build=*darwin* Is it? I think that file is being installed in the same way. Could it be the RTEMS target config has a different list? > What are your build, host and target triplets? They are: --build=x86_64-apple-darwin18.0.0 --target=sparc-rtems5 --host=x86_64-apple-darwin18.0.0 The configure command line is ... ../gcc-7.3.0/configure --prefix=/Users/chris/development/rtems/5 --bindir=/Users/chris/development/rtems/5/bin --exec_prefix=/Users/chris/development/rtems/5 --includedir=/Users/chris/development/rtems/5/include --libdir=/Users/chris/development/rtems/5/lib --libexecdir=/Users/chris/development/rt ems/5/libexec --mandir=/Users/chris/development/rtems/5/share/man --infodir=/Users/chris/development/rtems/5/share/info --datadir=/Users/chris/development/rtems/5/share --build=x86_64-apple-darwin18.0.0 --host=x86_64-apple-darwin18.0.0 --target=sparc-rtems5 --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --verbose --with-newlib --disable-nls --without-included-gettext --disable-win32-registry --enable-version-specific-runtime-libs --disable-lto --enable-newlib-io-c99-formats --enable-newlib-iconv --enable-newlib-iconv-encodings=big5,cp775,cp850,cp852,cp855,cp866,euc_jp,euc_kr,euc_tw,iso_88 59_1,iso_8859_10,iso_8859_11,iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,utf_16,utf_16be,utf_16 le,utf_8,win_1250,win_1251,win_1252,win_1253,win_1254,win_1255,win_1256,win_1257,win_1258 --enable-threads --disable-plugin --enable-libgomp --enable-languages=c,c++