As reported in the PR, libgcc fails to build on Solaris with --disable-shared: the creation of libgcc-unwind.map depends on libgcc-std.ver which isn't built in this case. Fixed as follows, tested by verifying that a --disable-shared i386-pc-solaris2.10 build gets into stage2 without trying to build map files, while a default (i.e. --enable-shared) build still correctly builds the maps. Installed on mainline; will backport to the 4.9 branch in a few days. Rainer 2014-05-08 Rainer Orth PR libgcc/61097 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map if --enable-shared.