Article View: gnu.gcc.help
Article #54348GCC output gives mem. fault on SysV/m68k but works on Sun.
From: James Tsillas
Date: Sat, 03 Nov 1990 00:45
Date: Sat, 03 Nov 1990 00:45
18 lines
1618 bytes
1618 bytes
I am porting GCC 1.37.1 (with coff patches) to a DPX/2 (m68k) using BOS 1.1.16 (System V). It has built and works well on small (<100 lines) programs. Tests involving larger programs give a memory fault. The situation is further complicated by a simultaneous port of COFF-gas so I decided to test GCC's output (in the form of assembler) on a Sun3. Programs compiled on the DPX/2 and assmbled/linked on the Sun3 work! Programs compiled on the DPX/2 and assmbled/linked on DPX/2 don't work! Intuitively I suspect the DPX/2 assembler/linker (coff-GAS with native ld), but is it possible that GCC can produce assembler which for some reason fails on a DPX/2 but *works* on a Sun? What machine dependancy can cause memory faults on a System V m68k while it works on a Sun3? Have there been any recent patches to COFF-gas which solve such problems? Any suggestions, hints, and encouragement will be greatly appreciated.
Technical Details
Message-ID:
<JTSILLAS.90Nov2194512@bubba.ma30.bull.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!apple!usc!bbn.com!mips2!bubba!jtsillasShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,68eccddf3f759dcb,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1990-11-03 14:52:23 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!apple!usc!bbn.com!mips2!bubba!jtsillas From: jtsillas@bubba.ma30.bull.com (James Tsillas) Newsgroups: gnu.gcc.help Subject: GCC output gives mem. fault on SysV/m68k but works on Sun. Message-ID: <JTSILLAS.90Nov2194512@bubba.ma30.bull.com> Date: 3 Nov 90 00:45:12 GMT Sender: news@mips2.cr.bull.com (Usenet News Manager) Distribution: gnu Organization: Bull HN, Worldwide Information Systems, Billerica, Mass., USA Lines: 18 Posted: Sat Nov 3 01:45:12 1990