This is the mail archive of the
mailing list for the GCC project.
Re: Shared object compiled with g++ is not unloaded
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Max Dmitrichenko <dmitrmax at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 5 May 2015 20:05:57 +0200
- Subject: Re: Shared object compiled with g++ is not unloaded
- Authentication-results: sourceware.org; auth=none
- References: <CAMRqRqyWG1sF0RhFYTNf6vq3W7jF4Or3m=2LqjVCcY9Qv+3N=A at mail dot gmail dot com> <CAMRqRqxhZ0rey9hGgEYpmQJK1TQ1wMvfhHZ1Hc_q2hs5sJXaLw at mail dot gmail dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Tue, May 05, 2015 at 09:01:03PM +0300, Max Dmitrichenko wrote:
> So, really no ideas on this issue? Or this behavior is considered normal?
It is not a bug, it is how STB_GNU_UNIQUE symbols work.
With gcc 4.8.4, or 4.9.2, 5.1 or trunk you can actually use -fno-gnu-unique
if you are ok with its consequences.