Article View: gnu.gcc.help
Article #51154Problems with gcc 2.4.5 on a Personal Iris 4D/35 w/IRIX 4.0.1
From: J. Scott Hofmann
Date: Tue, 06 Jul 1993 15:05
Date: Tue, 06 Jul 1993 15:05
38 lines
2599 bytes
2599 bytes
I have never had any problems with my favorite compiler until now. I just
updated my workstation from gcc 2.4.3.1, which was completely stable, to
gcc 2.4.5, which hasn't worked yet. It compiles fine, and it runs "hello
world" fine, but when I try to run the program I'm currently writing it
coredumps BEFORE the program starts to execute! I suspect that the problem
is related to the fact that I had to use the --with-gnu-as and --with-gnu-ld
options to configure, because it wouldn't assemble using the built-in as and
ld. It complained about an illegal floating-point op (I think it was 'li.d').
gdb chokes on the gcc-generated code. Here is a sample:
(gdb) file mc
Reading symbols from mc...done.
(gdb) r
Starting program: /disk4/hofmann/mc/mc
(Internal error: pc 0x4001c0 in read in psymtab, but not in symtab.)
(Internal error: pc 0x4001c0 in read in psymtab, but not in symtab.)
(Internal error: pc 0x4001d4 in read in psymtab, but not in symtab.)
warning: Hit heuristic-fence-post without finding
warning: enclosing function for pc 0x4001d4
(Internal error: pc 0x4001d4 in read in psymtab, but not in symtab.)
Program received signal 11, Segmentation fault
(Internal error: pc 0x4001d4 in read in psymtab, but not in symtab.)
(Internal error: pc 0x4001d4 in read in psymtab, but not in symtab.)
(Internal error: pc 0x4001d4 in read in psymtab, but not in symtab.)
0x4001d4 in __istart ()
(Internal error: pc 0x4001d4 in read in psymtab, but not in symtab.)
(gdb)
Can someone please tell me what's going on!!??! Thanks,
scott
--
-------------------------------------------------------------------------------
J. Scott Hofmann | "This is fun?"
hofmann@cs.uiuc.edu | -Dr. McCoy, _Star Trek VI:
| The Undiscovered Country_
Technical Details
Message-ID:
<C9r0L1.2rw@sparc0a.cs.uiuc.edu>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!ux1.cso.uiuc.edu!cs.uiuc.edu!sparc0b!hofmannShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,5ff9ae668307c601,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-07-06 08:19:22 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!ux1.cso.uiuc.edu!cs.uiuc.edu!sparc0b!hofmann From: hofmann@cs.uiuc.edu (J. Scott Hofmann) Subject: Problems with gcc 2.4.5 on a Personal Iris 4D/35 w/IRIX 4.0.1 Message-ID: <C9r0L1.2rw@sparc0a.cs.uiuc.edu> Originator: hofmann@gooshie.cs.uiuc.edu Sender: news@sparc0a.cs.uiuc.edu Reply-To: hofmann@cs.uiuc.edu (J. Scott Hofmann) Organization: none whatsoever Date: Tue, 6 Jul 1993 15:05:24 GMT Lines: 38