From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3782 invoked by alias); 25 Mar 2003 17:27:24 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 3758 invoked by uid 48); 25 Mar 2003 17:27:23 -0000 Date: Tue, 25 Mar 2003 18:06:00 -0000 Message-ID: <20030325172723.3737.qmail@sources.redhat.com> To: bkoz@redhat.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, geoffk@gcc.gnu.org, geoffk@geoffk.org, jason@redhat.com, pcarlini@unitus.it From: bkoz@gcc.gnu.org Reply-To: bkoz@gcc.gnu.org, bkoz@redhat.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, geoffk@gcc.gnu.org, geoffk@geoffk.org, jason@redhat.com, pcarlini@unitus.it, gcc-gnats@gcc.gnu.org Subject: Re: other/9274: [pch] cannot create libstdc++-v3 pch X-SW-Source: 2003-03/txt/msg01717.txt.bz2 List-Id: Synopsis: [pch] cannot create libstdc++-v3 pch State-Changed-From-To: analyzed->open State-Changed-By: bkoz State-Changed-When: Tue Mar 25 17:27:22 2003 State-Changed-Why: Ping. This is still an issue with gcc-20030325. Jason, have you had a chance to look at this? Again, here's the patch to mainline to auto-gen the pch and use it in the testsuite run. 2003-03-27 Benjamin Kosnik * include/Makefile.am (allstamps): Add stamp-stdc++-precompile. (stamp-std-precompile): Generate stdc++.h.gch (install-data-local): Install generated file. * include/Makefile.in: Regenerate. * testsuite_flags.in (--cxxflags): Put -g -O2 here. Index: testsuite_flags.in =================================================================== RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite_flags.in,v retrieving revision 1.14 diff -c -p -r1.14 testsuite_flags.in *** testsuite_flags.in 14 Mar 2003 22:17:26 -0000 1.14 --- testsuite_flags.in 18 Mar 2003 02:51:57 -0000 *************** case ${query} in *** 44,50 **** ;; --build-cxx) PCHFLAGS="-Winvalid-pch -include ${BUILD_DIR}/include/stdc++.h" ! CC_build="@glibcpp_CXX@" CXX=`echo $CC_build | sed 's/xgcc/g++/g'` echo ${CXX} ;; --- 44,50 ---- ;; --build-cxx) PCHFLAGS="-Winvalid-pch -include ${BUILD_DIR}/include/stdc++.h" ! CC_build="@glibcpp_CXX@ ${PCHFLAGS}" CXX=`echo $CC_build | sed 's/xgcc/g++/g'` echo ${CXX} ;; Index: include/Makefile.am =================================================================== RCS file: /cvs/gcc/gcc/libstdc++-v3/include/Makefile.am,v retrieving revision 1.54 diff -c -p -r1.54 Makefile.am *** include/Makefile.am 14 Mar 2003 22:16:05 -0000 1.54 --- include/Makefile.am 18 Mar 2003 02:51:59 -0000 *************** pch_source = ${glibcpp_srcdir}/include/$ *** 348,354 **** # CLEANFILES and all-local are kept up-to-date. allstamps = \ stamp-std stamp-bits stamp-c_base stamp-c_compatibility \ ! stamp-backward stamp-ext stamp-target # Here are the rules for building the headers all-local: ${target_builddir}/c++config.h ${thread_target_headers} ${allstamps} --- 348,354 ---- # CLEANFILES and all-local are kept up-to-date. allstamps = \ stamp-std stamp-bits stamp-c_base stamp-c_compatibility \ ! stamp-backward stamp-ext stamp-target stamp-stdc++-precompile # Here are the rules for building the headers all-local: ${target_builddir}/c++config.h ${thread_target_headers} ${allstamps} *************** install-data-local: *** 524,529 **** --- 524,530 ---- $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir} for file in ${std_headers_rename}; do \ $(INSTALL_DATA) ${std_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${std_builddir}; done + $(INSTALL_DATA) ${std_builddir}/${pch_output} $(DESTDIR)${gxx_include_dir}/${std_builddir} $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${target_builddir} for file in ${target_headers} ${target_headers_extra} \ ${thread_target_headers}; do \ http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9274