Article View: gnu.gcc.help
Article #41491Gcc 2.7.2 and gdb 4.15.1 on Irix 5.3
From: Graham Jones
Date: Thu, 21 Mar 1996 00:00
Date: Thu, 21 Mar 1996 00:00
37 lines
1807 bytes
1807 bytes
If anyone could make some useful suggestions about this problem I would be most grateful. I have managed to compile gcc 2.7.2 for irix 5.3, using gnu as and a little luck. I've also got gdb 4.15.1 compiled. The problem I have is that if I start to debug a program in gdb (compiled using gcc with the -ggdb option - it's the only one that doesn't crash or complain) and type run, gdb begins to execute the program but a few seconds later dies with a segmentation fault. It is gdb that dies, not my program, which is known to execute correctly upto well after the stage at which gdb dies. The executable is around 16Mb in size and linked with a large number of shared libraries but there has been over 100Mb memory and swap available when the process is run. Debugging gdb using gdb suggests that the crash occured while symbols, possibly from the libraries, were being interpreted, though there's no guarantee that it is consistent I have read the comments about removing SG patch 410 - we don't have that installed as a patch on our system, though it may be installed as a default part of the compile system - the machine is relatively new. Any suggestions are welcome, preferably by e-mail to: Graham.Jones@physiology.ox.ac.uk Thanks, Graham. -- Graham Jones Robotics Research Group, E-mail: grj@physiol.ox.ac.uk Department of Engineering Science,
Technical Details
Message-ID:
<4iruec$ghs@news.ox.ac.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,f5128cfb27d6ab3f,start X-Google-Attributes: gid11318c,public From: grj@physiol.ox.ac.uk (Graham Jones) Subject: Gcc 2.7.2 and gdb 4.15.1 on Irix 5.3 Date: 1996/03/21 Message-ID: <4iruec$ghs@news.ox.ac.uk> X-Deja-AN: 143592076 organization: Physiology Department, Oxford University, Oxford, UK. newsgroups: gnu.gcc.help