public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Coulter, Scott" <scott.coulter@retek.com>
To: <gcc@gcc.gnu.org>
Subject: AIX 5.1 dlopen shared library exception handling problem
Date: Thu, 05 Feb 2004 15:12:00 -0000	[thread overview]
Message-ID: <C736868EB761C04A8909BB038DEABD64095864DB@MSPMAILV1.retek.int> (raw)

On the AIX 5.1 platform, using gcc 3.3.2, and run-time loading a shared library
via dlopen( ), I find that exceptions which are thrown by the shared library and should
be caught by the executable are not, in fact, caught.  If I link in the shared library at 
build-time, but leave the rest of the code unchanged, the relevant catch block
functions as expected.
 
Also, the identical code base functions correctly on Solaris and HPUX with similar gcc builds.
 
Sorry if this is vague; I'm still working to isolate a test-case from our code that I can send along.
 
/home/coultes >gcc -v
Reading specs from /u03/rpas/scott/aix51.gcc-3.3.2/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2/specs
Configured with: ../gcc-3.3.2/configure --prefix=/u03/rpas/scott/aix51.gcc-3.3.2 --enable-shared --enable-threads=posix --disable-nls --enable-languages=c,c++
Thread model: aix
gcc version 3.3.2

Thanks for any help you can suggest,
Scott Coulter
scott.coulter@retek.com
 

             reply	other threads:[~2004-02-05 15:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-05 15:12 Coulter, Scott [this message]
2004-02-05 15:16 ` David Edelsohn
2004-02-05 17:22   ` Joe Buck
2004-02-05 17:25     ` David Edelsohn
2004-02-05 17:34       ` Joe Buck
2004-02-05 18:07 Coulter, Scott
2004-02-05 19:00 ` David Edelsohn
2004-02-06  8:38 Joerg.Richter
2004-02-06 15:41 Coulter, Scott

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C736868EB761C04A8909BB038DEABD64095864DB@MSPMAILV1.retek.int \
    --to=scott.coulter@retek.com \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).