This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

CVS mainline gcov failing to build


stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-linux-gnu/bin/ -c  -DIN_GCC    -Os -march=i686 -fstrict-aliasing -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I. -I/usr/src/cvs/gcc/gcc -I/usr/src/cvs/gcc/gcc/. -I/usr/src/cvs/gcc/gcc/config -I/usr/src/cvs/gcc/gcc/../include /usr/src/cvs/gcc/gcc/gcov.c -o
gcov.o
/usr/src/cvs/gcc/gcc/gcov.c: In function `output_data':
/usr/src/cvs/gcc/gcc/gcov.c:1432: 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[2]: *** [gcov.o] Error 1

I'm not sure when I first noticed this, but it has been some time. I'm
just sending this to the mailing list as the mainline is not priority
for now.

gcc -v 
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20010506 (Debian prerelease)

ld -v
GNU ld version 2.11.90.0.7 (with BFD 2.11.90.0.7)

configured with:
export CFLAGS='-Os -march=i686 -fstrict-aliasing'
export BOOT_CFLAGS='-Os -march=i686 -fstrict-aliasing'
export STAGE1_CFLAGS='-Os -march=i686 -fstrict-aliasing'
export LIBCFLAGS='-g -Os -march=i686 -fstrict-aliasing'

configure --verbose --enable-threads=posix --with-system-zlib \
 --enable-shared --enable-java-gc=boehma\
 --enable-cxx-flags='-fstrict-aliasing' \
 --enable-languages='c' --enable-checking='misc,tree'

Some extraneous configure opts, I was building the entire tree until I
noticed g++ won't build. Separate mail concerning that will be
forthcoming (cp/spew.c is Seg faulting)

These tools build 3.0 branch just fine. Gcc completes the testsuite
favorably even with gcov failing to build.

-- 
Gordon Sadler


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]