https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64799
--- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot > Uni-Bielefeld.DE> --- [...] > Looks good so far: I've applied the patch, rebuilt libffi and run the > libffi testsuite (both multilibs). I'll run a full bootstrap (both as > and gas configurations) for good measure and check if the libjava > failures are gone, too. Those bootstraps have completed now. The Solaris 11 and 32-bit Solaris 10 results look good, both libffi and libjava, but 64-bit Solaris 10 still FAILs: FAIL: libffi.special/unwindtest.cc -shared-libgcc -lstdc++ execution test terminate called after throwing an instance of 'int' Comparing sparcv9 fficonfig.h between S10 and S11, I see only one difference: --- fficonfig.h.s10 2015-01-28 00:45:48.714103199 +0100 +++ fficonfig.h.s11 2015-01-27 18:27:05.122136400 +0100 @@ -54,7 +54,7 @@ /* Define if your assembler and linker support unaligned PC relative relocs. */ -/* #undef HAVE_AS_SPARC_UA_PCREL */ +#define HAVE_AS_SPARC_UA_PCREL 1 And checking the GCC 4.9 v9.S, I found that the attached change also fixes those FAILures. Tested for both 32 and 64-bit on S10 and S11. Rainer