From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7261 invoked by alias); 11 Dec 2007 23:01:33 -0000 Received: (qmail 7249 invoked by uid 22791); 11 Dec 2007 23:01:31 -0000 X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 11 Dec 2007 23:01:22 +0000 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J2E6K-0004Bl-EB for gcc-help@gnu.org; Tue, 11 Dec 2007 18:01:20 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1J2E6H-0005Th-Dw for gcc-help@gnu.org; Tue, 11 Dec 2007 18:01:20 -0500 Received: from emx.pixar.com ([199.108.77.30]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J2E6H-0005TN-5O for gcc-help@gnu.org; Tue, 11 Dec 2007 18:01:17 -0500 X-PixarMID: 67133830 X-PixarRecvListener: OutboundMail X-PixarRemoteIP: 138.72.133.13 X-IronPort-AV: E=Sophos;i="4.24,154,1196668800"; d="scan'208";a="67133832" Received: from nomi.dynamic.pixar.com (HELO [138.72.133.13]) ([138.72.133.13]) by iris.pixar.com with ESMTP; 11 Dec 2007 15:01:14 -0800 Message-ID: <475F16BB.9010802@pixar.com> Date: Tue, 11 Dec 2007 23:01:00 -0000 From: Alex Mohr User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: gcc-help@gnu.org CC: Martin Reddy , Brad Andalman Subject: gcov compiles ICE on gcc-4.1.2 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2007-12/txt/msg00229.txt.bz2 Hi folks, We just upgraded from the gcc 4.0 series to 4.1.2, and we're having trouble with our gcov build. We get random ICEs like: In function '(static destructors for wrapKeyFrame.cpp)': wrapKeyFrame.cpp:253: internal compiler error: Segmentation fault on various files in our source tree. (Full command line below.) We've tried changing flags, enabling optimizations, and this sometimes gets certain files to compile, but other files that formerly compiled will randomly start ICEing. Non-gcov builds work great both with and without optimizations, and our full test suite shows no problems. Anyone else out there having trouble like this with gcov in the 4.1 series? Any hints or help is greatly appreciated. Thanks! Alex Full command line: g++ -fPIC -m64 -Wall -Wunused -Wunused-parameter -Wno-import -Wno-strict-aliasing -Wpointer-arith -Wcast-align -fmessage-length=0 -fprofile-arcs -ftest-coverage -DGPLUSPLUS -DPOSIX_THREADS -DMENV30 -ftemplate-depth-90 -fpermissive -fno-const-strings -Wno-unknown-pragmas -Wno-missing-braces -Wno-non-template-friend -g -fno-elide-constructors -Werror -fvisibility=hidden -Wno-unused-parameter -Wno-sign-compare -DLINUX -DFEDORA -DPOSIX_THREADS -D_ISOC99_SOURCE -D_XOPEN_SOURCE=600 -D_GNU_SOURCE -DSYS_V -D_REENTRANT -DBUILD_OPTLEVEL_DEV -DMFB_PROJECT_NAME=Core -DMFB_PACKAGE_NAME=Anim -DMFB_ALT_PACKAGE_NAME=Anim -DMFB_BASE_FILENAME=wrapKeyFrame -D__GLIBCPP_INTERNAL_BVECTOR_H -D__STDC_LIMIT_MACROS -D__null=0 -isystem /pixar/d2/sets/tools-34/include/gcc4-fixes -I/data/tinderbox/menv30_codecoverage_dep/menv30_src/gen/fedora-gcc64-gcov-dbg/Core/lib/Anim/include -I/data/tinderbox/menv30_codecoverage_dep/menv30_src/inst/fedora-gcc64-gcov-dbg/include -isystem /pixar/d2/ ts/tools-34/include/python2.5 -isystem /pixar/d2/sets/tools-34/include -isystem /pixar/d2/sets/tools-34/include/boost -I/data/tinderbox/menv30_codecoverage_dep/menv30_src/inst/fedora-gcc64-gcov-dbg/include -I/data/tinderbox/menv30_codecoverage_dep/menv30_src/inst/fedora-gcc64-gcov-dbg/include -MMD -MF wrapKeyFrame.d -c /data/tinderbox/menv30_codecoverage_dep/menv30_src/menv/Core/lib/Anim/wrapKeyFrame.cpp -o wrapKeyFrame.o /data/tinderbox/menv30_codecoverage_dep/menv30_src/menv/Core/lib/Anim/wrapKeyFrame.cpp: In function '(static destructors for /data/tinderbox/menv30_codecoverage_dep/menv30_src/menv/Core/lib/Anim/wrapKeyFrame.cpp)': /data/tinderbox/menv30_codecoverage_dep/menv30_src/menv/Core/lib/Anim/wrapKeyFrame.cpp:253: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions.