🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #245

g++-2.2 - make check fails in iostream subdir

#245
From: Greg Becker
Date: Mon, 14 Sep 1992 17:04
50 lines
2235 bytes
I'm trying to build libg++-2.2 on a SPARC Server 690MP.  Of course, I'm
experiencing the same problem on a SPARC IPC.  It seems the  library
builds just fine but will not pass `make check.'  In particular, it fails
with iostream/test/tFile.  The details follow, but the strange thing is
that tFile executes perfectly when output is not redirected.

I'm using gcc-2.2.2, and configured libg++2.2 as `sparc.'  The only
real success I've had in getting `make check' to pass is by setting IO_DIR to
nothing, and removing gperf from SUBDIRS and ALL (but that's after the
complete build.)

At this point, I can't be certain it is not a gcc installation problem,
although gcc built and installed without error (through stage 3).  I've tried
gcc configured with and without gas/gld.

Does anyone have any idea what might be wrong?

Thanks in advance!

Greg



cd genclass ; make check ::: AR=ar  AR_FLAGS=qc  CC=gcc  CFLAGS=  RANLIB=ranlib  LOADLIBES=  LDFLAGS=  MAKEINFO=makeinfo  XTRAFLAGS=
cd src ; make check ::: AR=ar  AR_FLAGS=qc  CC=gcc  CFLAGS=  RANLIB=ranlib  LOADLIBES=  LDFLAGS=  MAKEINFO=makeinfo  XTRAFLAGS=
cd iostream ; make check ::: AR=ar  AR_FLAGS=qc  CC=gcc  CFLAGS=  RANLIB=ranlib  LOADLIBES=  LDFLAGS=  MAKEINFO=makeinfo  XTRAFLAGS=
cd stdio; make check ...
cd test; make check ...
./tFile < ./tFile.inp > tFile.out 2>&1
diff -c tFile.out ./tFile.exp
*** tFile.out	Tue Sep  8 21:54:36 1992
--- ./tFile.exp	Fri Apr 17 18:49:17 1992
***************
*** 36,38 ****
--- 36,49 ----
  using it to create istrstream...
  with contents:
  This is a string-based stream.
+ With two lines.
+ 
+ Making filebuf streams fout and fin...contents of file:
+ Thisfilehasonelinetestingoutputstreams.
+ 
+ Final names & states:
+ cin:      (stdin)	0
+ cout:     (stdout)	0
+ cerr:     (stderr)	0
+ 
+ end of test.
Technical Details
Message-ID: <BuKvEt.FKB@mentor.cc.purdue.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!purdue!mentor.cc.purdue.edu!becker

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!purdue!mentor.cc.purdue.edu!becker
From: becker@mentor.cc.purdue.edu (Greg Becker)
Newsgroups: gnu.g++.help,gnu.gcc.help
Subject: g++-2.2 - make check fails in iostream subdir
Message-ID: <BuKvEt.FKB@mentor.cc.purdue.edu>
Date: 14 Sep 92 17:04:04 GMT
Followup-To: gnu.g++.help
Organization: PUCC UNIX-Group
Lines: 50