[comp.lang.c++] compiling NIHCL again

kgorlen@sparkler.dcrt.nih.gov (Keith Gorlen) (09/21/90)

In article <1226@fang.dsto.oz>, dch@aeg.dsto.oz.au (Dave Hanslip) writes:
|>
|>I am trying to compile and install the NIH C++ Class library. Using:
|>	sparcstation 1
|>	SunOS 4.1
|>	Sun's AT&T 2.0 C++
|>So far I have made the error facility and added the errors.o module to
libnihcl.a. The program seems to compile ok after typing the 'make', but
crashes out in the 'make verify' stage.
|>
|>*** Error code 1
|>make: Fatal error: Command failed for target `verify'
|>
|>Further investigation reveals:
|>
|>signal SEGV (no mapping at the fault address) in __ls__7ostreamFPCc at
0xf7790eb8
|>__ls__7ostreamFPCc+0x18:        ldsh    [%l5 + 48], %l5
|>
|>Has anyone experienced this problem, and/or have any ideas on how to
correct it.
|>
|>David C. Hanslip                              E-mail: dch@aeg.dsto.oz.au
|>Aeronautical Research Laboratory              Phone: +61 8 259 5792
|>DSTO Salisbury, South Australia               Fax: +61 8 259 5507

Make sure you're using the "munch" version of _main (_main.c_m).  There
may be a bug in lib/Makefile that is causing the "patch" version to be
used even if you ask for the "munch" version.

	Keith Gorlen			phone: (301) 496-1111
	Building 12A, Room 2033		uucp: uunet!nih-csl!kgorlen
	National Institutes of Health	Internet: kgorlen@alw.nih.gov
	Bethesda, MD 20892

dch@aeg.dsto.oz.au (Dave Hanslip) (09/21/90)

I am trying to compile and install the NIH C++ Class library. Using:
	sparcstation 1
	SunOS 4.1
	Sun's AT&T 2.0 C++
So far I have made the error facility and added the errors.o module to libnihcl.a. The program seems to compile ok after typing the 'make', but crashes out in the 'make verify' stage.

*** Error code 1
make: Fatal error: Command failed for target `verify'

Further investigation reveals:

signal SEGV (no mapping at the fault address) in __ls__7ostreamFPCc at 0xf7790eb8
__ls__7ostreamFPCc+0x18:        ldsh    [%l5 + 48], %l5

Has anyone experienced this problem, and/or have any ideas on how to correct it.

David C. Hanslip                              E-mail: dch@aeg.dsto.oz.au
Aeronautical Research Laboratory              Phone: +61 8 259 5792
DSTO Salisbury, South Australia               Fax: +61 8 259 5507