Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 15 Apr 2003 14:30:26 +0100 From: Ljubomir Josifovski To: cygwin AT cygwin DOT com Subject: OT? -fprofile-arcs -ftest-coverage q Message-ID: <20030415133026.GA11096@berk.cre.canon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Has anyone used gcc with -g -pg -fprofile-arcs -ftest-coverage? I get series of msgs like arc profiling: Can't open output file /c/LASER/utplus/mpeg7/SOURCENAME.da. upon exit(EXIT_SUCESS) from main() and the *.da files are not created. The SOURCENAMER.{bb,bbg} files are created (upon compilation?). My gcc -v is: $ gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs Configured with: /netrel/src/gcc-3.2-3/configure --enable-languages=c,c++,f77,java --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls --without-i ncluded-gettext --enable-interpreter --disable-sjlj-exceptions --disable-version-specific-runtime-libs --enable-shared --build=i686-pc-linux --host=i686-pc-cygwin --target=i686-pc-cygwin --enable-haifa --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include --libexecdir=/usr/sbin Thread model: posix gcc version 3.2 20020927 (prerelease) +++ (BTW, I get Compiling ../../cube/common/CException.c to CException.o gcc -mno-cygwin -pedantic -Wall -ffast-math -I. -I../common -I../../laser/buffering -I../../laser/framework -I../../laser/frontend -I../../laser/interface -I../../laser/math -I../../cube/common -DPREFIX_FILE='"Mpeg7Prefix.h"' -DSTORAGE_CACHE_SIZE=10000000 -O2 -DNDEBUG -g -pg -fprofile-arcs -ftest-coverage -c ../../cube/common/CException.c -o utplus_profile/CException.o ../../cube/common/CException.c: In function `LExceptionThrow': ../../cube/common/CException.c:176: internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[1]: *** [CException.o] Error 1 make[1]: Leaving directory `/cygdrive/c/LASER/utplus/mpeg7' make: *** [wav2mpeg7] Error 2 while compiling one of the objects; so I compiled it with -g -pg only, ommiting -fprofile-arcs -ftest-coverage - could this be the source of my problem? BBTW, Compiling without -mno-cygwin gives the same result.) -- Ljubomir Josifovski mailto:lbj AT cre DOT canon DOT co DOT uk -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/