[Bug target/104725] g++.target/i386/pr35513-1.C etc. FAIL

ro at CeBiTec dot Uni-Bielefeld.DE gcc-bugzilla@gcc.gnu.org
Tue Mar 1 15:07:13 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104725

--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- 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.

> 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.


More information about the Gcc-bugs mailing list