This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Exception Handling Problems on AIX ML-11 with gcc 3.2.3 (g++)
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Markus dot Schaeffer at np-gmbh dot com
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 11 Aug 2003 13:12:34 -0400
- Subject: Re: Exception Handling Problems on AIX ML-11 with gcc 3.2.3 (g++)
- References: <OF9D4A8843.713F9422-ONC1256D7B.004C927B@np-gmbh.com>
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