This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/5282: .so exception handler works in 3.0.2 not 3.0.3


The following reply was made to PR c++/5282; it has been noted by GNATS.

From: Mark Swanson <swansma@yahoo.com>
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]