966 reputation
31021
bio website
location
age
visits member for 3 years, 4 months
seen Jul 21 '13 at 4:38

Aug
5
awarded  Popular Question
Jul
21
awarded  Famous Question
Jul
17
awarded  Notable Question
Jul
2
awarded  Curious
May
8
awarded  Yearling
May
6
awarded  Nice Answer
Feb
14
awarded  Favorite Question
Nov
10
awarded  Nice Question
Nov
7
awarded  Great Question
Aug
12
awarded  Popular Question
Aug
3
awarded  Notable Question
Jul
16
awarded  Yearling
Jun
16
awarded  Notable Question
Apr
3
accepted dlclose does not call library destructors, dlopen called just once
Apr
3
comment dlclose does not call library destructors, dlopen called just once
thats good enough for me, i'll upgrade to 4.8 and see how it goes. If you update your answer with this information, i'll accept the answer
Apr
3
comment dlclose does not call library destructors, dlopen called just once
is not a mangling problem, if that were the case the destructor would not be called at all. Instead what happens is that it is called at application exit.
Apr
3
comment dlclose does not call library destructors, dlopen called just once
where do you got g++ 4.9? i only see 4.8 on the gcc page. Is that some development snapshot? or you did a typo in there?
Apr
3
comment dlclose does not call library destructors, dlopen called just once
you shouldn't use _fini anymore, they are obsolete and dangerous. In theory just destructor and constructor attributes and you should be fine
Apr
3
comment dlclose does not call library destructors, dlopen called just once
actually, what you mean it works? that the destructor is called before dlclose returns?
Apr
3
comment dlclose does not call library destructors, dlopen called just once
thanks @hroptatyr, that gives me hope and strength for the road ahead (of building and installing a new gcc version)