Subject: lib/2488: make includes omits C++ template source files from libstdc++
To: None <gnats-bugs@NetBSD.ORG>
From: Steven J. Dovich <dovich@denali.sequoia.com>
List: netbsd-bugs
Date: 05/30/1996 19:37:55
>Number: 2488
>Category: lib
>Synopsis: make includes omits C++ template source files from libstdc++
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people (Library Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu May 30 19:50:01 1996
>Last-Modified:
>Originator: Steven J. Dovich
>Organization:
Sequoia Systems, Inc
>Release: 1.2_ALPHA
>Environment:
System: NetBSD denali.sequoia.com 1.2_ALPHA NetBSD 1.2_ALPHA (DENALI) #2: Wed May 29 13:57:37 EDT 1996 dovich@denali.sequoia.com:/usr/src/sys/arch/i386/compile/DENALI i386
>Description:
The C++ template sources for instantiating the basic_string and
complex classes are not being installed.
>How-To-Repeat:
compile any C++ source with:
#include <std/bastring.cc>
>Fix:
*** gnu/lib/libg++/Makefile.orig Sun May 26 02:20:28 1996
--- gnu/lib/libg++/Makefile Thu May 30 18:57:03 1996
***************
*** 35,41 ****
${DESTDIR}/usr/include/g++/$$j; \
done)
@echo installing includes from libstdc++/std
! @(cd libstdc++/std ; for j in *.h; do \
cmp -s $$j ${DESTDIR}/usr/include/g++/std/$$j || \
install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$j \
${DESTDIR}/usr/include/g++/std/$$j; \
--- 35,41 ----
${DESTDIR}/usr/include/g++/$$j; \
done)
@echo installing includes from libstdc++/std
! @(cd libstdc++/std ; for j in *.h *.cc; do \
cmp -s $$j ${DESTDIR}/usr/include/g++/std/$$j || \
install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$j \
${DESTDIR}/usr/include/g++/std/$$j; \
*** gnu/lib/libg++/libg++2netbsd.orig Sun May 26 02:20:32 1996
--- gnu/lib/libg++/libg++2netbsd Thu May 30 19:32:28 1996
***************
*** 459,465 ****
${DESTDIR}/usr/include/g++/$$j; \
done)
@echo installing includes from libstdc++/std
! @(cd libstdc++/std ; for j in *.h; do \
cmp -s $$j ${DESTDIR}/usr/include/g++/std/$$j || \
install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$j \
${DESTDIR}/usr/include/g++/std/$$j; \
--- 459,465 ----
${DESTDIR}/usr/include/g++/$$j; \
done)
@echo installing includes from libstdc++/std
! @(cd libstdc++/std ; for j in *.h *.cc; do \
cmp -s $$j ${DESTDIR}/usr/include/g++/std/$$j || \
install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$j \
${DESTDIR}/usr/include/g++/std/$$j; \
>Audit-Trail:
>Unformatted: