c++/9265: exception handling faulty wenn linking PIC objects to non PIC ones

Robert Schiele rschiele@uni-mannheim.de
Tue Jan 14 09:06:00 GMT 2003


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

From: Robert Schiele <rschiele@uni-mannheim.de>
To: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
Cc: cc@pi3.informatik.uni-mannheim.de, gcc-bugs@gcc.gnu.org,
	gcc-gnats@gcc.gnu.org, Andreas Jaeger <aj@suse.de>
Subject: Re: c++/9265: exception handling faulty wenn linking PIC objects to non PIC ones
Date: Tue, 14 Jan 2003 10:05:00 +0100

 --wac7ysb48OaltWcw
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Tue, Jan 14, 2003 at 08:03:01AM +0100, Robert Schiele wrote:
 > Thanks.  With your crtbegin.o it also works for me.  So I will try to
 > build a gcc 3.2 with binutils 2.12.x.x.x to check whether it makes a
 > difference which binutils are used to build the compiler.
 
 Well, I got the switch that triggers it: HAVE_LD_EH_FRAME_HDR
 
 If this Macro was defined, the crtbegin code cannot handle the
 situation I described in the bug report.  Without it can handle the
 situation quite sane.  This is the case with _all_ compilers since 3.2
 release.  (I haven't an older one at hand to test.)
 
 Obviously this switched is on if you used binutils 2.12.x.x.x at
 configure time as they support this feature, but 2.11.x.x.x do not and
 such it is turned off there.  So it is perfectly clear now, why you
 couldn't reproduce the problem.
 
 This means the problem obviously is in the crtstuff code that handles
 eh_frame_hdr stuff.
 
 So we need some binutils gurus here.
 
 Robert
 
 --=20
 Robert Schiele			Tel.: +49-621-181-2517
 Dipl.-Wirtsch.informatiker	mailto:rschiele@uni-mannheim.de
 
 --wac7ysb48OaltWcw
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.7 (GNU/Linux)
 
 iQEVAwUBPiPSu8QAnns5HcHpAQF1UQf/cK/bEJaOYPATaPgcsPt/godwCs0tL96O
 iCjOlCBO1LOQwfrJ5TJ9SHPwNWyHCGCw7Oc5VJESF1/scmT82vhSCOc6VT/9sjrO
 zK9py1Cj4GHD4z2JqF2MPiL1P/fx1jgY/LdJftl/mz1vnr5tMqhUSej/UumNQlAX
 j392YqgESPqIDTsuFqIs0IjD0o84IMGvTFRXaySFE6FapbdP0IaDk9F131W1r7aM
 I4J19r7A63ksSaj5DCuiJe2yoaVRlyDTAt9Z46ncxvCzzBkN1my8sqgdhKbHp8Ti
 XhWU1uhS8m73kJGvmM+j5Dkx2YL2a/k4XmEQVuVPPKAjojlsZUy6MQ==
 =Bg1H
 -----END PGP SIGNATURE-----
 
 --wac7ysb48OaltWcw--
 



More information about the Gcc-prs mailing list