https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104725
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW Target|i?86-pc-solaris2.11, |i?86-pc-solaris2.11 |i686-pc-linux-gnu | --- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to r...@cebitec.uni-bielefeld.de from comment #2) > > --- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> --- > > It looks like Solaris linker doesn't support -mno-direct-extern-access. > > Highly unlikely, I'd say. > > > Did you try GNU linker? > > I do once in a week: when gld is in use, the tests do PASS on solaris > > > This patch limits tests to Linux: > > Seems quite sensible: GNU_PROPERTY_1_NEEDED is a GNU extension after > all, so the test should be restricted to systems that support it. I will check in my patch. > > BTW, does it fail on i686-pc-linux-gnu for you? > > No: the test PASSes for both x86_64-pc-linux-gnu -m32 and > i686-pc-linux-gnu.