Three ld tests currently FAIL on Solaris/SPARC: FAIL: shared (non PIC) FAIL: shared (non PIC, load offset) FAIL: shared (PIC main, non PIC so) all of them in the same way: /var/gcc/binutils/sparcv7/obj/binutils/ld/tmpdir/ld/collect-ld: read-only segment has dynamic relocations Given that Solaris defaults to -z text, this is to be expected, thus this patch xfail's them. The failures don't happen on Solaris/x86 which should have the same issue. However, shared.exp is guarded by an explicit target list which includes Solaris/SPARC but not x86. I mean to revisit such needless asymmetries once I've cut down the current failures a bit. Tested on sparc-sun-solaris2.11 and sparcv9-sun-solaris2.11. Ok for master? Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University 2020-04-09 Rainer Orth * testsuite/ld-shared/shared.exp: Remove dangling comments. xfail shared non PIC tests on Solaris.