Mail Archives: cygwin/2003/04/15/09:38:49
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 <URL:http://www.gnu.org/software/gcc/bugs.html> 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/
- Raw text -