NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/39986: libmapper_zone.so is trying to call undefined weak symbol



The following reply was made to PR lib/39986; it has been noted by GNATS.

From: Takehiko NOZAKI <takehiko.nozaki%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: lib-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
netbsd-bugs%netbsd.org@localhost, 
        adam.hoka%gmail.com@localhost
Subject: Re: lib/39986: libmapper_zone.so is trying to call undefined weak 
        symbol
Date: Sat, 2 Jan 2010 09:47:49 +0900

 hi,
 
 > =A0Actually this has nothing to do with C++.
 > =A0The problem is that unloading libraries that are loaded with RTLD_GLOB=
 AL
 > =A0is very dangerous.
 >
 
 yes, i know this problem occur when specified RTLD_GLOBAL.
 but in Solaris's manual, they recommends it:
 
 Sun Studio 12: C++ User's Guide
 16.8 Using dlopen to Access a C++ Library From a C Program
 http://docs.sun.com/app/docs/doc/819-5267/bkamv?l=3DJa&a=3Dview
 
 "When shared libraries are opened with dlopen(), RTLD_GLOBAL must be
 used for exceptions to work."
 
 
 and again, this problem is NetBSD specific problem. neither
 {Free,Open}BSD nor Linux.
 they already solved this problem by using --eh-frame-hdr.
 
 very truly yours.
 --
 Takehiko NOZAKI <tnozaki%NetBSD.org@localhost>
 


Home | Main Index | Thread Index | Old Index