This is the mail archive of the gcc-help@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: Exception Handling Problems on AIX ML-11 with gcc 3.2.3 (g++)


	If you are testing shared libraries, please remember that AIX
caches publically-readable shared libraries by default for improved
performance.  If you change the shared library, AIX may still use the
stale version it has cached. 

	If the read-other permission bit on the shared library is _on_,
then it goes into the shared text segment.  If the read-other permission
bit is turned _off_, then it is considered a private object and is loaded
into the private data space, destroyed when the application exits.

	When developing a shared library, it is safest to turn off the
read-other bit.  When the library goes into production, it should be
installed with the read-other bit enabled.

	The AIX "slibclean" command will clear the shared text segment.
The command requires root permission.

David


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