From markd@osprey.grizzly.com  Thu Nov  7 16:22:21 1996
Received: from scruz.net (nic.scruz.net [165.227.1.2])
          by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA15020
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 7 Nov 1996 16:22:16 -0800 (PST)
Received: from osprey.grizzly.com by scruz.net (8.7.3/1.34)
	id QAA03458; Thu, 7 Nov 1996 16:22:13 -0800 (PST)
Received: (from markd@localhost) by osprey.grizzly.com (8.7.6/8.7.3) id QAA20190; Thu, 7 Nov 1996 16:22:18 -0800 (PST)
Message-Id: <199611080022.QAA20190@osprey.grizzly.com>
Date: Thu, 7 Nov 1996 16:22:18 -0800 (PST)
From: Mark Diekhans <markd@Grizzly.COM>
Reply-To: markd@Grizzly.COM
To: FreeBSD-gnats-submit@freebsd.org
Subject: STL object files missing from libstdc++.
X-Send-Pr-Version: 3.2

>Number:         1975
>Category:       gnu
>Synopsis:       STL object files missing from libstdc++.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov  7 16:30:01 PST 1996
>Closed-Date:    Fri Nov 15 10:09:45 PST 1996
>Last-Modified:  Fri Nov 15 10:11:17 PST 1996
>Originator:     Mark Diekhans
>Release:        FreeBSD 2.2-961014-SNAP i386
>Organization:
The Infomation Refinery
>Environment:
        FreeBSD 2.2-961014-SNAP
	
>Description:

	Three C++ object files are associated the the Standard Template
        library (STL).  While the header files are installed, the source
        files are not compiled and included in libstdc++

>How-To-Repeat:

	Compile a C++ program using <g++/tree.h>.

>Fix:
	

Patch for FreeBSD 2.2-961014-SNAP.  This is a fix to libstdc++.  The way
it was compiled in the SNAP, the three C++ source files associated with STL
where not compiled.  This results in errors such as __rb_NIL undefined when
using the STL header files.

*** gnu/lib/libstdc++/Makefile.ORG	Thu Nov  7 16:05:36 1996
--- gnu/lib/libstdc++/Makefile	Thu Nov  7 16:09:02 1996
***************
*** 4,10 ****
  
  GPPDIR=	${.CURDIR}/../../../contrib/libg++
  
! .PATH:	${GPPDIR}/libstdc++ ${GPPDIR}/libio ${GPPDIR}/libiberty
  
  LIB=		stdc++
  SHLIB_MAJOR=	2
--- 4,11 ----
  
  GPPDIR=	${.CURDIR}/../../../contrib/libg++
  
! .PATH:	${GPPDIR}/libstdc++ ${GPPDIR}/libstdc++/stl ${GPPDIR}/libio \
! 	${GPPDIR}/libiberty
  
  LIB=		stdc++
  SHLIB_MAJOR=	2
***************
*** 42,47 ****
--- 43,51 ----
  SRCS+=	newi.cc cstringi.cc stddefi.cc typeinfoi.cc exceptioni.cc \
  	stdexcepti.cc cstdlibi.cc cmathi.cc
  
+ # stl sources.
+ SRCS+=	tempbuf.cc tree.cc random.cc
+ 
  # "standard" C parts of libiberty (strerror is a superset of the libc version)
  SRCS+=	insque.c strerror.c
  
***************
*** 65,70 ****
--- 69,76 ----
  	ioignore.c iopadn.c iopopen.c ioprims.c ioprintf.c ioseekoff.c \
  	ioseekpos.c iostrerror.c ioungetc.c iovfprintf.c iovfscanf.c \
  	outfloat.c strops.c
+ 
+ 
  
  beforedepend:	config.h
  strerror.o:	config.h


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: fenner 
Responsible-Changed-When: Sat Nov 9 18:10:16 PST 1996 
Responsible-Changed-Why:  
Refiled from pending 
State-Changed-From-To: open->closed 
State-Changed-By: jkh 
State-Changed-When: Fri Nov 15 10:09:45 PST 1996 
State-Changed-Why:  
Fix applied - thanks Mark, and sorry for the delay. 
>Unformatted:
