🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52527

Memory error when compiled with gcc ????

#52527
From: Eigil Krogh S|rensen
Date: Tue, 30 Jun 1992 02:56
54 lines
1935 bytes
Maybe somone is able to help with the following problem I have with
gcc.

I'm trying to translate vh-1.3

The system is Motorola SysV68 R3V5.1 MVME147 (delta).

When compiling & assembling with the old build-in cc and as everything
goes well (in this special case. Normally the build-in cc can't handle
GNU source !!). After running make, vh (copied to jargon while making)
runs ok.

If I use gcc-1.37.1 + gas-1.38  or  gcc-2.1 + as  I get the following
message, when vh (jargon) is started:
	Memory error  - core dumped.

Is this an error in the gcc's or am I doing something wrong. What
could it be that I'm doing wrong when using gcc ????

I'm not an expert in sdb/gdb but I've found out that the error comes
when a subroutine called "startok" is invoked.

When gcc is used, the following flags are set:

CFLAGS= -g -O
LIBS= -lm881


When cc is used env. parm's are set as follows:

DBLALIGN=NO
FP=M68881
FPU=M68881
MMU=M68851
OPTIM=BOTH
PROCESSOR=M68020
STACKCHECK=OFF
STALIGN=NO
SYSTEM=VME131


It's what I'm doing wrong when using gcc I'm interested in, not the
probelms with vh. As mentioned above I can use the build-in cc & as.
I'm interested in hearing about what one should do special, to get
gcc to work correct on this system (Motorola sysV68 R3V5.1 MVME147
(delta)).


Thank you in advance

Eigil Krogh Sorensen
(eks@daimi.aau.dk
 eks@aar-vki.dk)
Technical Details
Message-ID: <1992Jun30.025649.13923@daimi.aau.dk>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic2!dkuug!daimi!eks

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,e3d1d61407ce7f79,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-06-29 15:46:52 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic2!dkuug!daimi!eks
From: eks@daimi.aau.dk (Eigil Krogh S|rensen)
Newsgroups: gnu.gcc.help
Subject: Memory error when compiled with gcc ????
Message-ID: <1992Jun30.025649.13923@daimi.aau.dk>
Date: 30 Jun 92 02:56:49 GMT
Organization: DAIMI: Computer Science Department, Aarhus University, Denmark
Lines: 54