From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 378 invoked by alias); 14 Jan 2003 09:06:03 -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 350 invoked by uid 71); 14 Jan 2003 09:06:02 -0000 Date: Tue, 14 Jan 2003 09:06:00 -0000 Message-ID: <20030114090602.348.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Robert Schiele Subject: Re: c++/9265: exception handling faulty wenn linking PIC objects to non PIC ones Reply-To: Robert Schiele X-SW-Source: 2003-01/txt/msg00860.txt.bz2 List-Id: The following reply was made to PR c++/9265; it has been noted by GNATS. From: Robert Schiele To: Wolfgang Bangerth Cc: cc@pi3.informatik.uni-mannheim.de, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, Andreas Jaeger 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--