From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14220 invoked by alias); 5 Jan 2002 23:06:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 14204 invoked by uid 71); 5 Jan 2002 23:06:01 -0000 Date: Sat, 05 Jan 2002 15:06:00 -0000 Message-ID: <20020105230601.14203.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Mark Swanson Subject: Re: c++/5282: .so exception handler works in 3.0.2 not 3.0.3 Reply-To: Mark Swanson X-SW-Source: 2002-01/txt/msg00250.txt.bz2 List-Id: The following reply was made to PR c++/5282; it has been noted by GNATS. From: Mark Swanson To: rodrigc@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, swansma@yahoo.com, gcc-gnats@gcc.gnu.org Cc: Subject: Re: c++/5282: .so exception handler works in 3.0.2 not 3.0.3 Date: Sat, 5 Jan 2002 17:48:25 -0500 On January 5, 2002 05:14 pm, you wrote: > Synopsis: .so exception handler works in 3.0.2 not 3.0.3 > > State-Changed-From-To: feedback->analyzed > State-Changed-By: rodrigc > State-Changed-When: Sat Jan 5 14:14:00 2002 > State-Changed-Why: > Your makefile did not work for me, so I modified it, and > put it in the package which you supplied, and then > attached it to this PR in GNATS. Things like the -rdynamic > flag did not work on my system (Redhat Linux 7.1). Strange. The -rdynamic works for me. It's also used by other RedHat applications like Tux... > I then ran the testcase and everything worked. You mean you saw the "Aborted" result? I get 'Aborted' every time with gcc-3.1 and gcc-3.0.3. Note this means I'm using glibc-3.x beta. It is not possible to link against a previous version of gcc. I will erase gcc-3.1 and glibc3 and try again. > Configured with: ./configure --prefix=/u0/test/gcc --enable-checking > --enable-languages=c,c++ --enable-shared --enable-threads Thread model: > posix > gcc version 3.0.3 > > # > # $Id: Makefile,v 1.2 2002/01/05 14:30:41 mswanson Exp $ > # > CXX = g++ > CC = gcc > GCC = gcc > CPPFLAGS = -g -fPIC -Wall -DDEBUG -D_GNU_SOURCE > RELEASE_CPPFLAGS = -O2 -Wall -fPIC -D_REENTRANT -DNDEBUG -LANG:std > -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 > > all:: bugLoad > > pre:: bugLoadPre > > release:: > > bugLoad: bugLoad.c BugLib.tux.so > ${GCC} bugLoad.c -o bugLoad -ldl > > BugLib.o: BugLib.cpp > ${CXX} ${RELEASE_CPPFLAGS} -c BugLib.cpp > > BugLib.tux.so: BugLib.o > ${CC} ${LINK} -O2 -Wall -D_REENTRANT -shared -o $@ BugLib.o > -lstdc++ -lgcc_s chmod a-x $@ > > bugLoadPre: bugLoad.c BugLib.tux.so > ${GCC} -v -save-temps -ldl bugLoad.c -o bugLoadPre > > BugLibPre.o: BugLib.cpp > ${CC} -v -save-temps ${RELEASE_CPPFLAGS} -c BugLib.cpp -o $@ > > BugLibPre.tux.so: BugLibPre.o > ${CC} ${LINK} -O2 -Wall -D_REENTRANT -shared -o $@ BugLibPre.o > -lstdc++ -lgcc_s chmod a-x $@ > > clean:: > rm -f *.so *.o *.a bugLoad bugLoadPre > > > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc& >pr=5282