[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    [Bug d/88150] Use sections_elf_shared.d on Solaris
From:       "johannespfau at gmail dot com" <gcc-bugzilla () gcc ! gnu ! org>
Date:       2019-01-31 18:59:15
Message-ID: bug-88150-4-ilgra2Y0Bh () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]

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

Johannes Pfau <johannespfau at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at dawg dot eu,
                   |                            |johannespfau at gmail dot com

--- Comment #8 from Johannes Pfau <johannespfau at gmail dot com> ---
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 is this:

handleForName is used in one place with the comment
// get handle without loading the library
so it is supposed to unload the library there.
But it is also called from handleForAddr which is used to get the DSO handle to
be stored using setDSOForHandle. I think here, it's not really valid to store
the closed handle.

Let's ping the expert here though, I've added Martin Nowak to CC.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic