🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42738

Compiling gcc-2.6.3 with SCO Openserver 5.0.0

#42738
From: Paul Freeman
Date: Mon, 06 Nov 1995 00:00
37 lines
1865 bytes
I am trying to compile gcc-2.6.3 on SCO OpenServer 5.0 with the Development
System extension. I am compiling on a Pentium system using the configuration 
established by configure.  

Everything goes well during the 1st stage and make stage1 works fine.  
However, when I try to make the stage2 version, everything works fine until 
it tries to compile enquire.c.

This fails with the following message: 
	xgcc: Internal compiler error: program cpp got fatal signal 11

On further inspection it seems that the problem lies with the cpp that has 
been created by xgcc. It core dumps! The 1st version built using the SCO cc 
works OK. I think it fails at this point because this is the first time it 
uses the xgcc compiled cpp.

I needed to change references to rcc in the Makefile and cp/Makefile to cc
but that was all.

Looking at the core dump, dbxtra says it fails at line 2042 in cccp.c with the
following error:
<possible stack frame corruption; frame pointer is 0x0>

Line 2042 in cccp.c is fp->nominal_fname = fp->fname = in_fname;

I guess this really means that there is a problem with the xgcc program in the
stage1 directory although no errors are reported during the compilation.

Has anyone successfully compiled gcc in this environment? Apparently SCO has
made a number of changes to its compiler, etc. in OpenServer 5.0 so I am
guessing this is the reason for the problems.

Any help would be appreciated.

Regards
Paul Freeman
EML GROUP PTY LTD
Technical Details
Message-ID: <47kc8o$4jk@harbinger.cc.monash.edu.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,57e24de000cea68a,start
X-Google-Attributes: gid11318c,public
From: prf@gis (Paul Freeman)
Subject: Compiling gcc-2.6.3 with SCO Openserver 5.0.0
Date: 1995/11/06
Message-ID: <47kc8o$4jk@harbinger.cc.monash.edu.au>
X-Deja-AN: 118699724
organization: Monash University
newsgroups: gnu.gcc.help