From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15633 invoked by alias); 29 Dec 2003 16:16:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 15625 invoked by uid 48); 29 Dec 2003 16:16:08 -0000 Date: Mon, 29 Dec 2003 16:24:00 -0000 Message-ID: <20031229161608.15624.qmail@sources.redhat.com> From: "ddurham_gcc_bz at davyandbeth dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20031212191310.13391.greed@pobox.com> References: <20031212191310.13391.greed@pobox.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/13391] AIX: crash on throw/catch between shared objects X-Bugzilla-Reason: CC X-SW-Source: 2003-12/txt/msg02873.txt.bz2 List-Id: ------- Additional Comments From ddurham_gcc_bz at davyandbeth dot com 2003-12-29 16:16 ------- (In reply to comment #8) > ... the second testcase is invalid due to > duplicte definitions. Resolving the duplicate fixes the bug. Are you refering to my main&foo example as testcase 2? Resolving the dups in my example does in fact 'fix the bug'. However, I'm linking against existing libraries that have duplicate symbols that I have no control over and I can't use exceptions because of it. I could say, "well ugh, I won't use exceptions." However using dynamic_cast to a reference may throw and exception which will now abort the process. Do you have any idea why a duplicate symbol would cause exceptions to miss being caught? Is it the compiler or the linker? I've tried AIX's ld and GNU's ld and both have identical problems. That leads me to believe it's either the compiler, the assembler or maybe some runtime lib. Any ideas? Thanks -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13391