https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84317
--- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- 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> --- > [...] >> I'm currently running a couple of bootstraps (Solaris 10, 11.3, 11.3 >> with as/ld and gas/ld on SPARC, Solaris 10 with as/ld, Solaris 11.3 with >> gas/ld, Solaris 11.4 with gas/gld on x86) with a tree that has >> >> https://gcc.gnu.org/ml/gcc-patches/2018-02/msg00624.html >> >> applied to check if that fixes either or both of this PR and PR >> debug/84319. [...] > Removing the #pragma GCC poison and trying again... They've all completed successfully now, no regressions compared to the last successful builds, i.e. both the SEGVs and the error: can't compute difference between symbols in different segments errors are gone. The only caveat is that locview is disabled on Solaris/x86 with as (neither HAVE_AS_DWARF2_DEBUG_LINE nor HAVE_AS_DWARF2_DEBUG_VIEW defined) where the builds succeeded before your latest patch. Rainer