[Bug d/88150] Use sections_elf_shared.d on Solaris

2019-04-17 Thread code at dawg dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88150 --- Comment #16 from Martin Nowak --- Regarding the dlopen/dlclose in handleForName, the semantics of RTLD_NOLOAD are so that it bumps the reference count if the library had been previously loaded. The sections module uses the handle as

[Bug d/88150] Use sections_elf_shared.d on Solaris

2019-04-14 Thread ibuclaw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88150 ibuclaw at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug d/88150] Use sections_elf_shared.d on Solaris

2019-04-14 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88150 --- Comment #14 from Rainer Orth --- Author: ro Date: Sun Apr 14 09:30:42 2019 New Revision: 270347 URL: https://gcc.gnu.org/viewcvs?rev=270347=gcc=rev Log: Work around lack of dlpi_tls_modid before Solaris 11.5 2019-04-14 Rainer Orth

[Bug d/88150] Use sections_elf_shared.d on Solaris

2019-04-14 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88150 --- Comment #13 from Rainer Orth --- Author: ro Date: Sun Apr 14 09:18:42 2019 New Revision: 270345 URL: https://gcc.gnu.org/viewcvs?rev=270345=gcc=rev Log: Use gcc/sections/elf_shared.d on Solaris 11.5 (PR d/88150) PR d/88150

[Bug d/88150] Use sections_elf_shared.d on Solaris

2019-04-09 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88150 --- Comment #12 from ro at CeBiTec dot Uni-Bielefeld.DE --- I've now reworked my non-dlpi_tls_modid patch to include this after Solaris 11.[345]/x86 testing gave excellent and pretty much identical test results:

[Bug d/88150] Use sections_elf_shared.d on Solaris

2019-04-08 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88150 --- Comment #11 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #10 from Iain Buclaw --- > I've got a (horrible?) hack for getting tls_modid from Solaris. Cool, and not really horrible ;-) It's already this way in Solaris 9 (I

[Bug d/88150] Use sections_elf_shared.d on Solaris

2019-04-08 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88150 --- Comment #10 from Iain Buclaw --- I've got a (horrible?) hack for getting tls_modid from Solaris. Looking at dlinfo(RTLD_DI_LINKMAP):

[Bug d/88150] Use sections_elf_shared.d on Solaris

2019-02-05 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88150 --- Comment #9 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #8 from Johannes Pfau --- > Regarding the _d_dso_registry issue: Yes, as far as I can see it is a bug that > handleForName dlcloses the handle here. I think what happened

[Bug d/88150] Use sections_elf_shared.d on Solaris

2019-01-31 Thread johannespfau at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88150 Johannes Pfau changed: What|Removed |Added CC||code at dawg dot eu,

[Bug d/88150] Use sections_elf_shared.d on Solaris

2019-01-29 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88150 Rainer Orth changed: What|Removed |Added URL||https://gcc.gnu.org/ml/gcc-

[Bug d/88150] Use sections_elf_shared.d on Solaris

2018-12-12 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88150 --- Comment #6 from ro at CeBiTec dot Uni-Bielefeld.DE --- The revised patch (still with loads of hacks) allowed the vast majority of Solaris 11.4/x86 gdc tests to PASS, both 32 and 64-bit: === gdc Summary === # of expected

[Bug d/88150] Use sections_elf_shared.d on Solaris

2018-12-12 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88150 Rainer Orth changed: What|Removed |Added Attachment #45067|0 |1 is obsolete|

[Bug d/88150] Use sections_elf_shared.d on Solaris

2018-11-22 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88150 --- Comment #4 from Iain Buclaw --- (In reply to r...@cebitec.uni-bielefeld.de from comment #3) > > --- Comment #1 from Iain Buclaw --- > > Thanks, I will write up a small documentation of how the sections modules > > interacts with runtime -

[Bug d/88150] Use sections_elf_shared.d on Solaris

2018-11-22 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88150 --- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #1 from Iain Buclaw --- > Thanks, I will write up a small documentation of how the sections modules > interacts with runtime - along with compiler support. Great, thanks.

[Bug d/88150] Use sections_elf_shared.d on Solaris

2018-11-22 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88150 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE --- A couple of issues in the patch bear commenting: * The core/sys/solaris/dlfcn.d change was needed to silence

[Bug d/88150] Use sections_elf_shared.d on Solaris

2018-11-22 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88150 --- Comment #1 from Iain Buclaw --- Thanks, I will write up a small documentation of how the sections modules interacts with runtime - along with compiler support. As its heavily dependent on compiler and object format, I'll move the

[Bug d/88150] Use sections_elf_shared.d on Solaris

2018-11-22 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88150 Rainer Orth changed: What|Removed |Added Target Milestone|--- |9.0