From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 6 16:10:12 2007 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 416A216A469 for ; Mon, 6 Aug 2007 16:10:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2CF1C13C45D for ; Mon, 6 Aug 2007 16:10:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l76GACqR050159 for ; Mon, 6 Aug 2007 16:10:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l76GABjr050152; Mon, 6 Aug 2007 16:10:11 GMT (envelope-from gnats) Resent-Date: Mon, 6 Aug 2007 16:10:11 GMT Resent-Message-Id: <200708061610.l76GABjr050152@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Coleman Kane Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EEE916A469 for ; Mon, 6 Aug 2007 16:05:27 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 1ACC713C478 for ; Mon, 6 Aug 2007 16:05:27 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l76G5QZC006888 for ; Mon, 6 Aug 2007 16:05:26 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l76G5QV3006887; Mon, 6 Aug 2007 16:05:26 GMT (envelope-from nobody) Message-Id: <200708061605.l76G5QV3006887@www.freebsd.org> Date: Mon, 6 Aug 2007 16:05:26 GMT From: Coleman Kane To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: gnu/115250: libstdc++ not installing required ext/numeric_traits.h header X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Aug 2007 16:10:12 -0000 >Number: 115250 >Category: gnu >Synopsis: libstdc++ not installing required ext/numeric_traits.h header >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 06 16:10:10 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Coleman Kane >Release: 7.0-CURRENT >Organization: >Environment: FreeBSD erwin 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Sat Jul 21 23:04:14 EDT 2007 root@erwin:/usr/obj/usr/src/sys/ERWIN amd64 >Description: The in-src build of the GCC 4.2.0 standard C++ library (libstdc++) is missing a necessary header that should be installed at /usr/include/c++/4.2/ext/numeric_traits.h. This header is required by the random and random.tcc headers that are installed. An attached patch adds it to the appropriate Makefile for installation. >How-To-Repeat: Try to compile a program with: #include It breaks. >Fix: Install the file at /usr/src/contrib/libstdc++/include/ext/numeric_traits.h into /usr/include/c++/4.2/ext/numeric_traits.h. I am attaching a patch to the Makefile that fixes this. Patch attached with submission follows: --- gnu/lib/libstdc++/Makefile.orig 2007-08-06 11:55:17.000000000 -0400 +++ gnu/lib/libstdc++/Makefile 2007-08-06 11:56:23.000000000 -0400 @@ -143,10 +143,10 @@ stdio_filebuf.h stdio_sync_filebuf.h functional \ hash_map hash_set hash_fun.h hashtable.h iterator \ malloc_allocator.h memory mt_allocator.h new_allocator.h \ - numeric pod_char_traits.h pool_allocator.h rb_tree rope \ - ropeimpl.h slist throw_allocator.h typelist.h type_traits.h \ - rc_string_base.h sso_string_base.h vstring.h vstring.tcc \ - vstring_fwd.h vstring_util.h + numeric numeric_traits.h pod_char_traits.h pool_allocator.h \ + rb_tree rope ropeimpl.h slist throw_allocator.h typelist.h \ + type_traits.h rc_string_base.h sso_string_base.h vstring.h \ + vstring.tcc vstring_fwd.h vstring_util.h EXTHDRS:= ${EXTHDRS:S;^;${SRCDIR}/include/ext/;} EXTHDRSDIR= ${CXXINCLUDEDIR}/ext >Release-Note: >Audit-Trail: >Unformatted: