This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: dlopen and template instantiation


H. J. Lu wrote:

It may be a glibc issue. See

http://sources.redhat.com/ml/libc-alpha/2002-05/msg00197.html
http://sources.redhat.com/ml/libc-alpha/2002-05/msg00214.html

ah, these messages reminded me that python's default dlopen flag is RTLD_LOCAL. Calling

sys.setdlopenflags(dl.RTLD_NOW | dl.RTLD_GLOBAL)

before importing my modules solved my problem.

Thanks !
		Stefan



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]