From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,77a0c0853f67580b X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2000-12-10 14:43:13 PST Path: supernews.google.com!sn-xit-02!supernews.com!isdnet!howland.erols.net!feed2.news.rcn.net!feed1.news.rcn.net!rcn!not-for-mail From: Bevin R Brett Newsgroups: comp.unix.tru64 Subject: Re: GNUPro Toolkit on OSF5.1 on Compaq ES Date: Sun, 10 Dec 2000 17:43:06 -0500 Message-ID: <3A3406FA.DE06BBA6@compaq.com> References: <90kdqb$cpf$1@nnrp1.deja.com> <3A2EEDF7.C3AAF458@compaq.com> <90o97h$f94$1@nnrp1.deja.com> <3A305A4F.83D37D04@compaq.com> <90po2h$n51$1@nnrp1.deja.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ilIDn+jPaKr2NJbysFi028lh/E94S4T3XtF1c2ceMmk= X-Complaints-To: abuse@rcn.com NNTP-Posting-Date: 10 Dec 2000 22:42:18 GMT X-Accept-Language: en X-Mailer: Mozilla 4.76 [en] (Win98; U) Xref: supernews.google.com comp.unix.tru64:1121 > Using gcc and -gcoff, is there anyway I can totally eliminate the opaque errors? Produce a small example of the opaque problem and send it to the email address shown in the support section of the www.compaq.com/ladebug page. I think it is ladebugsupport@compaq.com /Bevin rslyon@my-deja.com wrote: > We've tried switching from gcc to cc. I would agree that the native > compiler would by nature do a better job than a compiler intended for > the general case. The problem lies in that we've inherited a system so > heavily tied into gcc and it's oodles of switches, that it's more > machine than man. cc doesnt seem to supply the same switches to > produce the same result (without reinventing the wheel) (which is the > problem of a convoluted make system).. > > Currently we are investing our time in fixing non 64-bit compliant code > (most namely derefenced NULLS, and alignment problems). If was as easy > as switching the CC environment var to read CC instead of GCC, we would > do it.. > > I did install ladebug 62 today, and I must say it is an improvement > over 58. 62 still gets lost in places (most common error being: > Information: An type ......), but it produces more accurate > results than the supplied dbx compiler.. > > Using gcc and -gcoff, is there anyway I can totally eliminate the > opaque errors? (-g confuses ladebug to tears).. > > Richard > > In article <3A305A4F.83D37D04@compaq.com>, > Bevin R Brett wrote: > > 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 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. > > > > > > Sent via Deja.com http://www.deja.com/ > Before you buy.