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

--- Comment #12 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> ---
> --- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
> Created attachment 52656
>   --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52656&action=edit
> gcc12-pr102426.patch
>
> So like this then?

I included the patch in last night's bootstraps (sparc-sun-solaris2.11,
as/ld, gas/ld, and i386-pc-solaris2.11, as/ld, gas/ld, gas/gld).  Worked
fine: in all cases, the only exported global symbol is onload, as
expected.

Thanks.

In the end, there isn't much point in building the lto-plugin when
Solaris ld (or any linker not supporting the gld/gold plugin interface)
is in use.  I think I checked at one point if this could be fitted in
with the linker's support and/or auditing interfaces

https://docs.oracle.com/cd/E37838_01/html/E36783/chapter6-1238.html#scrolltoc

but cannot find my notes anymore and, I believe, concluded that they
don't match.

Reply via email to