public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "chandrakm at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/61637] C++ program  does not catch exceptions on AIX 7.1
Date: Mon, 30 Jun 2014 01:50:00 -0000	[thread overview]
Message-ID: <bug-61637-4-QvnikA6JKX@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-61637-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61637

--- Comment #12 from Krishnamoorthy C <chandrakm at hotmail dot com> ---
(In reply to David Edelsohn from comment #11)
> I tested a corrected version of your example with both G++ 4.8.1 from
> Perzl.org / oss4aix.org and GCC trunk from a few days ago. I compiled both
> 32 bit (default) and 64 bit (-maix64) and -pthread. All print
> 
> "This is not caught 20"
> 
> You seem to be invoking GCC incorrectly on AIX.  Why are you adding defining
> Linux x86 and AMD definitions on POWER AIX? Why are you changing the library
> search path order?  Why are you linking with -lpthread instead of using
> -pthread GCC/G++ command line option?
> 
> From when did you install GCC 4.8.1 on your system?  Hopefully not IBM AIX
> Toolkit.

Thanks for validating. I get this error:

"terminate called after throwing an instance of '<Namespace>::<derived
exception class from std::exepction>'
terminate called recursively
IOT/Abort trap (core dumped)"

I am re-verifying the order of lib loading.


  parent reply	other threads:[~2014-06-30  1:50 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-28 12:51 [Bug c++/61637] New: " chandrakm at hotmail dot com
2014-06-28 13:57 ` [Bug c++/61637] " paolo.carlini at oracle dot com
2014-06-28 14:04 ` paolo.carlini at oracle dot com
2014-06-28 14:21 ` daniel.kruegler at googlemail dot com
2014-06-28 15:22 ` chandrakm at hotmail dot com
2014-06-28 15:24 ` chandrakm at hotmail dot com
2014-06-28 15:29 ` chandrakm at hotmail dot com
2014-06-28 16:27 ` [Bug target/61637] " paolo.carlini at oracle dot com
2014-06-28 16:29 ` chandrakm at hotmail dot com
2014-06-28 16:31 ` paolo.carlini at oracle dot com
2014-06-28 17:34 ` chandrakm at hotmail dot com
2014-06-28 20:50 ` dje at gcc dot gnu.org
2014-06-30  1:13 ` dje at gcc dot gnu.org
2014-06-30  1:50 ` chandrakm at hotmail dot com [this message]
2014-06-30  9:00 ` chandrakm at hotmail dot com
2014-06-30 15:44 ` dje at gcc dot gnu.org
2014-06-30 17:15 ` chandrakm at hotmail dot com
2014-07-01  8:23 ` chandrakm at hotmail dot com
2014-07-01 13:54 ` dje at gcc dot gnu.org
2014-07-01 15:29 ` chandrakm at hotmail dot com
2014-07-01 17:15 ` chandrakm at hotmail dot com
2014-07-02 12:38 ` dje at gcc dot gnu.org
2014-07-02 13:09 ` chandrakm at hotmail dot com
2014-07-02 17:49 ` dje at gcc dot gnu.org
2015-02-16 23:10 ` dje at gcc dot gnu.org

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=bug-61637-4-QvnikA6JKX@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).