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 identifie
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88150
ibuclaw at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
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&root=gcc&view=rev
Log:
Work around lack of dlpi_tls_modid before Solaris 11.5
2019-04-14 Rainer Ort
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&root=gcc&view=rev
Log:
Use gcc/sections/elf_shared.d on Solaris 11.5 (PR d/88150)
PR d/88150
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:
https://gcc.gnu.org/ml/gc
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
happen
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):
https://github.com/illumos/illumos-gate/blob/4e0c5eff9af325c80994e9527b7cb8b3a1ffd1d4/usr/src/cmd/sgs/rtld/
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 i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88150
Johannes Pfau changed:
What|Removed |Added
CC||code at dawg dot eu,
|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88150
Rainer Orth changed:
What|Removed |Added
URL||https://gcc.gnu.org/ml/gcc-
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 pass
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88150
Rainer Orth changed:
What|Removed |Added
Attachment #45067|0 |1
is obsolete|
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 - al
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.
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
/vol/gcc/src/hg/trunk/local/libphobos/libdruntime/rt/sections_elf_shared.d:6
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
implementat
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88150
Rainer Orth changed:
What|Removed |Added
Target Milestone|--- |9.0
17 matches
Mail list logo