From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24776 invoked by alias); 15 Jan 2003 23:22:41 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 24768 invoked from network); 15 Jan 2003 23:22:40 -0000 Received: from unknown (HELO d9000.firstnet.net.uk) (212.103.224.245) by sources.redhat.com with SMTP; 15 Jan 2003 23:22:40 -0000 Received: (qmail 4558 invoked from network); 15 Jan 2003 23:25:07 -0000 Received: from unknown (HELO scgj.streamline) (212.103.239.121) by 0 with SMTP; 15 Jan 2003 23:25:07 -0000 Received: from elmo.streamline (scpe.streamline [192.168.1.66]) by scgj.streamline (8.9.3/8.6.9) with ESMTP id XAA11964 for ; Wed, 15 Jan 2003 23:22:36 GMT Received: (from david@localhost) by elmo.streamline (8.11.6/8.11.6) id h0FNMN818206 for gdb-patches@sources.redhat.com; Wed, 15 Jan 2003 23:22:23 GMT Date: Wed, 15 Jan 2003 23:22:00 -0000 From: David Lecomber To: gdb-patches@sources.redhat.com Subject: Re: Fortran: Intel vs G77 Message-ID: <20030115232223.A18112@streamline-computing.com> References: <20030115215104.A17981@streamline-computing.com> <20030115220843.GA12316@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030115220843.GA12316@nevyn.them.org>; from drow@mvista.com on Wed, Jan 15, 2003 at 05:08:43PM -0500 X-SW-Source: 2003-01/txt/msg00587.txt.bz2 On Wed, Jan 15, 2003 at 05:08:43PM -0500, Daniel Jacobowitz wrote: >On Wed, Jan 15, 2003 at 09:51:04PM +0000, David Lecomber wrote: [..]> >Sure, via gcc_compiled, but that's not the right way to approach this >problem. > >First of all, what version of G77 did you test with? And what format >of debug information? g77 2.96 (on redhat-7.3) -- symptom also appears in the g77 of redhat-6.2 but I don't have the version to hand -- and Intel Fortran Compiler v6.0. The debug info was the default from the -g option. I've now also just run g77 with -gdwarf and the same problem arises.. >Secondly, which compiler's debug information is correct? Or are they >just different and triggering different bugs? Beats me ;-) -- a good googling uncovers g77 probably has its problems -- but as gdb doesn't get it right all the time for either compiler, whichever format is correct we need to do something in gdb to be consistent. I think using the gcc_compiled flag is the way to go to merge the patches into one gdb build. I know it seems like a hack, but it seems a whole lot easier than getting folks to change either the Intel or GNU compiler. It looks like the issue has been known about for a long time so perhaps the compiler people just can't agree? >Third, it really sounds like we're going to need copyright assignment >papers from you. No probs -- will contact the appropriate folks at FSF (unless you have one to hand) Cheers David