From patchwork Wed Aug 27 17:33:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 383506 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3CF6E140090 for ; Thu, 28 Aug 2014 03:34:59 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=G/Vp2QZwnGhYjJ/NkfvZ12Uxv/ckZj1wuW2O1ETKqswUZUBd/jQjc i7t/rG6IMDpO9FNCvjiABwdxkDk7l9qCIfDnyLXtEYdJhfEWdewZePNm37kE1Jx6 jv+NG1pfQrTG79KNjHKYLX+kYRRGpzGfPEGWPBpxNLqVHMzIm9r52g= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=s3Ac4TQngndOzJmZFFj8sK4Yo8M=; b=pJJYD/XKmy6pFG2lCS0T UdzyIr/4vtRbkIs8gZZkcu3m7WW6JHgqRYPzaEXGHAOJoxI1Bwp1MIFPG45rjumX 9voQe2umdh9H/QRY7jEGRn6g0oPS8ziz2oV32owF5VR/bvbX3lu9npXfhucZxU6/ bPjvcyrLSfbzMkqCZkn3aRA= Received: (qmail 16439 invoked by alias); 27 Aug 2014 17:34:05 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 16421 invoked by uid 89); 27 Aug 2014 17:34:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 27 Aug 2014 17:34:03 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s7RHY07M007414 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 27 Aug 2014 13:34:01 -0400 Received: from localhost (ovpn-116-96.ams2.redhat.com [10.36.116.96]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s7RHXxPL027284; Wed, 27 Aug 2014 13:34:00 -0400 Date: Wed, 27 Aug 2014 18:33:59 +0100 From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [patch] libstdc++/62159 install missing freestanding headers for C++11 Message-ID: <20140827173359.GF22778@redhat.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) C++11 adds several more headers to the minimum requirements for a freestanding implementation. Tested x86_64-linux, committed to trunk. commit 88367ee23e7a6f23fb339dd938a50a79d4eb7fb3 Author: Jonathan Wakely Date: Wed Aug 27 15:24:27 2014 +0100 PR libstdc++/62159 * include/Makefile.am (install-freestanding-headers): Add missing C++11 headers. * include/Makefile.in: Regenerate. diff --git a/libstdc++-v3/include/Makefile.am b/libstdc++-v3/include/Makefile.am index e469586..3143a21 100644 --- a/libstdc++-v3/include/Makefile.am +++ b/libstdc++-v3/include/Makefile.am @@ -1223,14 +1223,18 @@ else install-data-local: install-freestanding-headers endif -# This is a subset of the full install-headers rule. We only need , -# , , , , , , and any -# files which they include (and which we provide). The last three headers -# are installed by libsupc++, so only the first four and the sub-includes -# are copied here. +# This is a subset of the full install-headers rule. We only need , +# , , , , , , , +# , , , , , +# , , , and any files which they include (and +# which we provide). +# , , , and are installed by +# libsupc++, so only the others and the sub-includes are copied here. install-freestanding-headers: $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/bits $(mkinstalldirs) $(DESTDIR)${host_installdir} + $(INSTALL_DATA) ${glibcxx_srcdir}/include/bits/atomic_base.h \ + $(DESTDIR)${gxx_include_dir}/bits $(INSTALL_DATA) ${glibcxx_srcdir}/include/bits/c++0x_warning.h \ $(DESTDIR)${gxx_include_dir}/bits for file in ${host_srcdir}/os_defines.h ${host_builddir}/c++config.h \ @@ -1239,8 +1243,11 @@ install-freestanding-headers: $(INSTALL_DATA) $${file} $(DESTDIR)${host_installdir}; done $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir} $(INSTALL_DATA) ${std_builddir}/limits $(DESTDIR)${gxx_include_dir}/${std_builddir} + $(INSTALL_DATA) ${std_builddir}/type_traits $(DESTDIR)${gxx_include_dir}/${std_builddir} + $(INSTALL_DATA) ${std_builddir}/atomic $(DESTDIR)${gxx_include_dir}/${std_builddir} $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${c_base_builddir} - for file in cstddef cstdlib cstdarg; do \ + for file in ciso646 cstddef cfloat climits cstdint cstdlib \ + cstdalign cstdarg cstdbool; do \ $(INSTALL_DATA) ${c_base_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${c_base_builddir}; done # The real deal.