From: Bevin R Brett <bevin.brett@compaq.com>
Subject: Re: GNUPro Toolkit on OSF5.1 on Compaq ES
Date: 2000/12/07 [thread overview]
Message-ID: <3A305A4F.83D37D04@compaq.com> (raw)
In-Reply-To: 90o97h$f94$1@nnrp1.deja.com
The gcc compilers produce incorrect debugging information - bad indexes
into tables. They also produce inadequate debugging information to do a
really good job - especially if you are trying to debug optimized code.
On Tru64 systems, ladebug expects the compilers to produce the so-called
3rd-eye symbol table inside coff .o files (all the Compaq compilers do)
plus Compaq extensions that describe optimized code (inlining, split
lifetimes, etc.). On Alpha Linux systems, Compaq uses Dwarf2 in elf .o
files.
Have you tried using the Compaq cc and cxx compilers and ladebug? I
understand that there are advantages to using the same dialect/dev system
on several platforms, but my experience is that the Compaq compilers
usually produce better diagnostics, and almost always produce much better
code and better debugging information.
Apart from a few places where g++ would not accept valid C++, we had good
success using g++ to port Ladebug to Alpha Linux, although we have since
switched to using Compaq's cxx on that platform also. The Compaq compilers
have command line switches that cause them to accept pretty close to the
gcc dialects on both platforms.
/Bevin Brett
Ladebug team
Core Tech Group, High Performance Technical Computing Group
Compaq
ps: On Tru64, use ladebug, not dbx. dbx is being phased out.
rslyon@my-deja.com wrote:
> When you say that GCC produces invalid .o files, do you mean that they
> are not accurate, or that they are not easily read with debuggers?
>
> We have had nothing but terrible luck porting from AIX to OSF51.. Same
> GCC version, but unpredictable results. What kind of debug
> information does ladebug read? I found that -g confuses DBX.. The
> only one dbx will accept is -gcoff..
>
> Richard
>
> In article <3A2EEDF7.C3AAF458@compaq.com>,
> Bevin R Brett <bevin.brett@compaq.com> wrote:
> > Download the latest ladebug from www.compaq.com/ladebug - -64 should
> be
> > there any day now
> >
> > There are some problems with the gcc generating invalid .o files, we
> have
> > been making some changes to ladebug more robust when it encounters
> such
> > badness
> >
> > /Bevin
> > Compaq Ladebug Team
> >
> > rslyon@my-deja.com wrote:
> >
> > > Has anyone experience problems using the GNUPro Toolkit that comes
> with
> > > the freeware CD for osf5.1?
> > >
> > > We have experienced major problems an difficulties..
> > >
> > > The first being that it doesn't come with GDB (nor will GDB come
> close
> > > to compiling on the machine). The version of DBX tends to be
> > > unreliable using the supplied GCC version, and LADEBUG core dumps
> > > consistently.
> > >
> > > The second being that without defining _LIBC_POLLUTION_H_, the
> header
> > > files that come with GNUPro collide with the system header files
> (most
> > > notibly, unistd.h.. cuserid redefined)
> > >
> > > The third being that if you change the owner of an executable that
> > > relies on shared libraries, and set the group and user sticky bit
> > > (gu+s), it looses track of paths from LD_LIBRARY_PATH (/sbin/loader
> > > cannot find them)..
> > >
> > > Any comments, or suggestions would be greatly appreciated...
> > >
> > > Richard
> > >
> > > Sent via Deja.com http://www.deja.com/
> > > Before you buy.
> >
> >
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
next prev parent reply other threads:[~2000-12-07 5:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-06 4:03 GNUPro Toolkit on OSF5.1 on Compaq ES rslyon
2000-12-06 5:00 ` Steffen Neumann
2000-12-06 5:00 ` Bevin R Brett
2000-12-07 15:09 ` rslyon
2000-12-07 5:00 ` Bevin R Brett [this message]
2000-12-08 5:00 ` rslyon
2000-12-10 22:43 ` Bevin R Brett
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox