[comp.soft-sys.andrew] Trouble building the Andrew distribution

cameron@cs.flinders.oz.au (Cameron Humphries) (05/30/90)

I recently (yesterday) started building the Andrew distribution as
it appears on the X11R4 contrib tapes.

I am trying to build it on a Sun4 running SunOS 4.0.3.

Everything appears to go fine until:
making (/ada/andrew/atk/basics/common)
/ada/andrew_inst/bin/makedo  -d /ada/andrew_inst/lib -b /ada/andrew_inst/bin -o
app.do app.o
Segmentation fault (core dumped)

The segmentation fault comes from "ld".

I have tried executing the offending command on its own and there
are no diagnostics generated.

Any ideas?

Cameron Humphries
Discipline of Computer Science                 email: cameron@cs.flinders.oz.au
School of Information Science and Technology   phone: +61 +8 201 2874
The Flinders University of South Australia     fax  : +61 +8 201 2904

wjh+@ANDREW.CMU.EDU (Fred Hansen) (05/31/90)

Excerpts from internet.info-andrew: 30-May-90 Trouble building the
Andrew.. Cameron Humphries@cs.fli (754)

> Everything appears to go fine until:
> making (/ada/andrew/atk/basics/common)
> /ada/andrew_inst/bin/makedo  -d /ada/andrew_inst/lib -b /ada/andrew_inst/bin -o
> app.do app.o
> Segmentation fault (core dumped)

> The segmentation fault comes from "ld".


One common cause of core dumps on Sun4's is a bug in the shell.

The usual way to try to get around it is to simplify the Makefile as
much as possible.  Other people have reported success by creating an
environment with as few variables defined as possible; maybe as little
as HOME, TERM, USER, PATH.

Allegedly Sun knows of the problem, but I have no evidence that suggests
they have fixed it.

Good luck, 
Fred Hansen

datri@convex.com (Anthony A. Datri) (06/01/90)

>One common cause of core dumps on Sun4's is a bug in the shell.

I seem to have hit it on a 3/80 running 4.0.3, at the point of the do.alias
target in atk/support.

>environment with as few variables defined as possible; maybe as little
>as HOME, TERM, USER, PATH.

Worked for me.
--