This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/5282: .so exception handler works in 3.0.2 not 3.0.3
- From: rodrigc at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, swansma at yahoo dot com
- Date: 5 Jan 2002 22:14:01 -0000
- Subject: Re: c++/5282: .so exception handler works in 3.0.2 not 3.0.3
- Reply-to: rodrigc at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, swansma at yahoo dot com, gcc-gnats at gcc dot gnu dot org
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).
I then ran the testcase and everything worked.
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