Article View: gnu.gcc.help
Article #54364Help! Building gcc(88k)
From: Lee Story
Date: Fri, 09 Nov 1990 16:37
Date: Fri, 09 Nov 1990 16:37
14 lines
1439 bytes
1439 bytes
I am building gcc for the vanilla Motorola m88k(not DG-UX) using the Green Hills C compiler. I get through the first step, i.e. get gcc built using Green Hills. Then when I use gcc to build itself (stage1?) using the -O option (optimizer on), the utilities "genflags", "gencodes", etc. get bus errors when they are run. Using sdb to look at the core file of "genflags", I discovered that the code at entry point, _start, which should be crt0.o is incorrect. It starts with an "xmem.bu" inst. When it is correct it starts with a bunch of "or"s. If I remove the -O option when using gcc to build itself, then the gen* utilities link & run fine. However, when the preprocssor cccp is built and run, it dies with a signal 10(signal.h says this is bus error). Can anyone help?? Thanks.
Technical Details
Message-ID:
<avuu6u.df5@wang.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!isaak!escher!nadia!smurf!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!bu.edu!wang!leeShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,25c673141dfa0c32,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1990-11-09 08:37:41 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!isaak!escher!nadia!smurf!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!bu.edu!wang!lee From: lee@wang.com (Lee Story) Newsgroups: gnu.gcc.help Subject: Help! Building gcc(88k) Summary: Bus error when building gcc with self Keywords: m88k Message-ID: <avuu6u.df5@wang.com> Date: 9 Nov 90 16:37:41 GMT Organization: Wang Labs, Lowell MA, USA Lines: 14 Posted: Fri Nov 9 17:37:41 1990