🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1433

Problems compiling Xaw3d with gcc 2.3.1

#1433
From: Leif Hedstrom
Date: Fri, 20 Nov 1992 13:54
37 lines
2125 bytes
Hi,

gcc2.3.1 dumps core when trying to compile the latest version (0.4) of
the Xaw3d library. I don't read the gcc-bug news group, so I don't know if
this is a known bug. Below is a trace from gdb, if that is any help.

-- Leif

ifm 101% gdb -c core /usr/gnu/debug/gcc-lib/sparc-sun-sunos4.1/2.3.1/cc1
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.7, Copyright 1992 Free Software Foundation, Inc...
Core was generated by `cc1'.
Program terminated with signal 6, Abort.
#0  0xf775c120 in kill ()
(gdb) bt
#0  0xf775c120 in kill ()
#1  0xf777449c in abort ()
#2  0x9bbf8 in decode_rtx_const (mode=SImode, x=0x1cbe28, value=0xf7ffecc8)
    at varasm.c:2193
#3  0x9bcc0 in simplify_subtraction (x=0x1cd358) at varasm.c:2218
#4  0x16c31c in output_addr_const (file=0x1bcc98, x=0x1cd358) at final.c:2312
#5  0x16bd98 in output_address (x=0x1cd380) at final.c:2202
#6  0x16b158 in output_asm_insn (template=0x180b30 "sethi %%hi(%a1),%0", 
    operands=0x1be7f0) at final.c:2076
#7  0x16a838 in final_scan_insn (insn=0x1cd3a0, file=0x1bcc98, optimize=4, 
    prescan=0, nopeepholes=0) at final.c:1697
#8  0x169488 in final (first=0x1cea50, file=0x1bcc98, optimize=4, prescan=0)
    at final.c:922
#9  0x3bed0 in rest_of_compilation (decl=0x31ae10) at toplev.c:2671
#10 0x20ea0 in finish_function (nested=0) at c-decl.c:6073
#11 0x8968 in yyparse () at c-parse.y:269
#12 0x39684 in compile_file (name=0xf7fffa1c "/usr/tmp/cca25117.i")
    at toplev.c:1804
#13 0x3d978 in main (argc=9, argv=0xf7fff944, envp=0xf7fff96c) at toplev.c:3283
(gdb) 
Technical Details
Message-ID: <199211201154.AA26027@ifm.liu.se>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!ifm.liu.se!leif

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!ifm.liu.se!leif
From: leif@ifm.liu.se (Leif Hedstrom)
Subject: Problems compiling Xaw3d with gcc 2.3.1
Message-ID: <199211201154.AA26027@ifm.liu.se>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 20 Nov 1992 13:54:07 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 38