I'm building gcc 4.4.0 20090109 on i386-pc-solaris2.11 (OpenSolaris 2008.11) using gcc version 4.4.0 20090104. I have configured using "--enable-coverage=noopt". # gcc -v Using built-in specs. Target: i386-pc-solaris2.11 Configured with: ../gcc_trunk/configure --enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --enable-shared --disable-static --enable-decimal-float --enable-nls --without-system-libunwind --with-gnu-as --with-as=/usr/local/bin/as --with-gnu-ld --with-ld=/usr/local/bin/ld Thread model: posix gcc version 4.4.0 20090104 (experimental) (GCC) # prev-gcc/xgcc -v Using built-in specs. Target: i386-pc-solaris2.11 Configured with: ../gcc_trunk/configure --enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --enable-shared --disable-static --enable-decimal-float --with-long-double-128 --enable-nls --with-included-gettext --enable-gather-detailed-mem-stats --with-stabs --enable-debug -enable-largefile --enable-symvers --without-system-zlib --enable-gtk-cairo --enable-qt-peer --enable-xmlj --enable-gconf-peer --enable-gjdoc --enable-java-awt=gtk,xlib,qt,x --enable-gc-debug --enable-libgcj-multifile --enable-libgcj-debug --enable-objc-gc --enable-libstdcxx-debug --enable-stage1-checking --enable-checking=release --enable-coverage=noopt --without-system-libunwind --with-gnu-as --with-as=/usr/local/bin/as --with-gnu-ld --with-ld=/usr/local/bin/ld Thread model: posix gcc version 4.4.0 20090109 (experimental) (GCC) The build breaks here: # gmake ... TARGET_CPU_DEFAULT="" \ HEADERS="auto-host.h ansidecl.h" DEFINES="" \ /bin/sh ../../gcc_trunk/gcc/mkconfig.sh bconfig.h /usr/share/src/gcc_build/./prev-gcc/xgcc -B/usr/share/src/gcc_build/./prev-gcc/ -B/usr/local/i386-pc-solaris2.11/bin/ -c -DIN_GCC -g -O2 -DGENERATOR_FILE -I. -Ibuild -I../../gcc_trunk/gcc -I../../gcc_trunk/gcc/build -I../../gcc_trunk/gcc/../include -I./../intl -I../../gcc_trunk/gcc/../libcpp/include -I../../gcc_trunk/gcc/../libdecnumber -I../../gcc_trunk/gcc/../libdecnumber/dpd -I../libdecnumber -DCLOOG_PPL_BACKEND -fexceptions -o build/genmodes.o ../../gcc_trunk/gcc/genmodes.c /usr/share/src/gcc_build/./prev-gcc/xgcc -B/usr/share/src/gcc_build/./prev-gcc/ -B/usr/local/i386-pc-solaris2.11/bin/ -c -DIN_GCC -g -O2 -DGENERATOR_FILE -I. -Ibuild -I../../gcc_trunk/gcc -I../../gcc_trunk/gcc/build -I../../gcc_trunk/gcc/../include -I./../intl -I../../gcc_trunk/gcc/../libcpp/include -I../../gcc_trunk/gcc/../libdecnumber -I../../gcc_trunk/gcc/../libdecnumber/dpd -I../libdecnumber -DCLOOG_PPL_BACKEND -fexceptions -o build/errors.o ../../gcc_trunk/gcc/errors.c /usr/share/src/gcc_build/./prev-gcc/xgcc -B/usr/share/src/gcc_build/./prev-gcc/ -B/usr/local/i386-pc-solaris2.11/bin/ -DIN_GCC -g -O2 -DGENERATOR_FILE -o build/genmodes \ build/genmodes.o build/errors.o .././libiberty/libiberty.a .././libiberty/libiberty.a(hashtab.o): In function `hash_pointer': /usr/share/src/gcc_build/libiberty/../../gcc_trunk/libiberty/hashtab.c:198: undefined reference to `__gcov_indirect_call_profiler' .././libiberty/libiberty.a(hashtab.o): In function `eq_pointer': /usr/share/src/gcc_build/libiberty/../../gcc_trunk/libiberty/hashtab.c:206: undefined reference to `__gcov_indirect_call_profiler' .././libiberty/libiberty.a(hashtab.o): In function `htab_size': /usr/share/src/gcc_build/libiberty/../../gcc_trunk/libiberty/hashtab.c:222: undefined reference to `__gcov_indirect_call_profiler' .././libiberty/libiberty.a(hashtab.o): In function `htab_elements': /usr/share/src/gcc_build/libiberty/../../gcc_trunk/libiberty/hashtab.c:232: undefined reference to `__gcov_indirect_call_profiler' .././libiberty/libiberty.a(hashtab.o): In function `htab_set_functions_ex': /usr/share/src/gcc_build/libiberty/../../gcc_trunk/libiberty/hashtab.c:359: undefined reference to `__gcov_indirect_call_profiler' .././libiberty/libiberty.a(hashtab.o):/usr/share/src/gcc_build/libiberty/../../gcc_trunk/libiberty/hashtab.c:388: more undefined references to `__gcov_indirect_call_profiler' follow .././libiberty/libiberty.a(hashtab.o): In function `htab_empty': /usr/share/src/gcc_build/libiberty/../../gcc_trunk/libiberty/hashtab.c:955: undefined reference to `__gcov_one_value_profiler' /usr/share/src/gcc_build/libiberty/../../gcc_trunk/libiberty/hashtab.c:955: undefined reference to `__gcov_average_profiler' /usr/share/src/gcc_build/libiberty/../../gcc_trunk/libiberty/hashtab.c:955: undefined reference to `__gcov_ior_profiler' .././libiberty/libiberty.a(hashtab.o): In function `global constructors keyed to 65535_0_htab_hash_pointer': /usr/share/src/gcc_build/libiberty/../../gcc_trunk/libiberty/hashtab.c:955: undefined reference to `__gcov_init' .././libiberty/libiberty.a(hashtab.o):(.data+0x44): undefined reference to `__gcov_merge_add' .././libiberty/libiberty.a(hashtab.o):(.data+0x50): undefined reference to `__gcov_merge_single' .././libiberty/libiberty.a(hashtab.o):(.data+0x5c): undefined reference to `__gcov_merge_single' .././libiberty/libiberty.a(hashtab.o):(.data+0x68): undefined reference to `__gcov_merge_add' .././libiberty/libiberty.a(hashtab.o):(.data+0x74): undefined reference to `__gcov_merge_ior' .././libiberty/libiberty.a(xmalloc.o): In function `xmalloc_set_program_name': /usr/share/src/gcc_build/libiberty/../../gcc_trunk/libiberty/xmalloc.c:107: undefined reference to `__gcov_indirect_call_profiler' .././libiberty/libiberty.a(xmalloc.o): In function `xmalloc_failed': /usr/share/src/gcc_build/libiberty/../../gcc_trunk/libiberty/xmalloc.c:118: undefined reference to `__gcov_indirect_call_profiler' .././libiberty/libiberty.a(xmalloc.o): In function `xrealloc': /usr/share/src/gcc_build/libiberty/../../gcc_trunk/libiberty/xmalloc.c:171: undefined reference to `__gcov_indirect_call_profiler' .././libiberty/libiberty.a(xmalloc.o): In function `xcalloc': /usr/share/src/gcc_build/libiberty/../../gcc_trunk/libiberty/xmalloc.c:156: undefined reference to `__gcov_indirect_call_profiler' .././libiberty/libiberty.a(xmalloc.o): In function `xmalloc': /usr/share/src/gcc_build/libiberty/../../gcc_trunk/libiberty/xmalloc.c:142: undefined reference to `__gcov_indirect_call_profiler' .././libiberty/libiberty.a(xmalloc.o): In function `global constructors keyed to 65535_0_xmalloc_set_program_name': /usr/share/src/gcc_build/libiberty/../../gcc_trunk/libiberty/xmalloc.c:184: undefined reference to `__gcov_init' .././libiberty/libiberty.a(xmalloc.o):(.data+0x44): undefined reference to `__gcov_merge_add' .././libiberty/libiberty.a(xstrdup.o): In function `xstrdup': /usr/share/src/gcc_build/libiberty/../../gcc_trunk/libiberty/xstrdup.c:32: undefined reference to `__gcov_indirect_call_profiler' /usr/share/src/gcc_build/libiberty/../../gcc_trunk/libiberty/xstrdup.c:36: undefined reference to `__gcov_one_value_profiler' /usr/share/src/gcc_build/libiberty/../../gcc_trunk/libiberty/xstrdup.c:36: undefined reference to `__gcov_average_profiler' /usr/share/src/gcc_build/libiberty/../../gcc_trunk/libiberty/xstrdup.c:36: undefined reference to `__gcov_ior_profiler' .././libiberty/libiberty.a(xstrdup.o): In function `global constructors keyed to 65535_0_xstrdup': /usr/share/src/gcc_build/libiberty/../../gcc_trunk/libiberty/xstrdup.c:36: undefined reference to `__gcov_init' .././libiberty/libiberty.a(xstrdup.o):(.data+0x24): undefined reference to `__gcov_merge_add' .././libiberty/libiberty.a(xstrdup.o):(.data+0x30): undefined reference to `__gcov_merge_single' .././libiberty/libiberty.a(xstrdup.o):(.data+0x3c): undefined reference to `__gcov_merge_add' .././libiberty/libiberty.a(xstrdup.o):(.data+0x48): undefined reference to `__gcov_merge_ior' .././libiberty/libiberty.a(xexit.o): In function `xexit': /usr/share/src/gcc_build/libiberty/../../gcc_trunk/libiberty/xexit.c:48: undefined reference to `__gcov_indirect_call_profiler' .././libiberty/libiberty.a(xexit.o): In function `global constructors keyed to 65535_0_xexit': /usr/share/src/gcc_build/libiberty/../../gcc_trunk/libiberty/xexit.c:52: undefined reference to `__gcov_init' .././libiberty/libiberty.a(xexit.o):(.data+0x24): undefined reference to `__gcov_merge_add' .././libiberty/libiberty.a(xexit.o):(.data+0x30): undefined reference to `__gcov_merge_single' collect2: ld returned 1 exit status gmake[3]: *** [build/genmodes] Error 1 gmake[3]: Leaving directory `/usr/share/src/gcc_build/gcc' gmake[2]: *** [all-stageprofile-gcc] Error 2 gmake[2]: Leaving directory `/usr/share/src/gcc_build' gmake[1]: *** [stageprofile-bubble] Error 2 gmake[1]: Leaving directory `/usr/share/src/gcc_build' gmake: *** [all] Error 2
Adding "../prev-i386-pc-solaris2.11/libgcc/libgcov.a" to the link: # (OLD) # /usr/share/src/gcc_build/prev-gcc/xgcc -B/usr/share/src/gcc_build/./prev- gcc/ -B/usr/local/i386-pc-solaris2.11/bin/ -DIN_GCC -g -O2 -DGENERATOR_FILE -o build/genmodes build/genmodes.o build/errors.o .././libiberty/libiberty.a # (NEW) # /usr/share/src/gcc_build/prev-gcc/xgcc -B/usr/share/src/gcc_build/./prev- gcc/ -B/usr/local/i386-pc-solaris2.11/bin/ -DIN_GCC -g -O2 -DGENERATOR_FILE -o build/genmodes build/genmodes.o build/errors.o .././libiberty/libiberty.a ../prev-i386-pc-solaris2.11/libgcc/libgcov.a Rob
After that repair the make breaks an hour later here: # gmake ... gmake[4]: Leaving directory `/usr/share/src/gcc_build/i386-pc-solaris2.11/libgcc' gmake[3]: Leaving directory `/usr/share/src/gcc_build/i386-pc-solaris2.11/libgcc' gmake[2]: Leaving directory `/usr/share/src/gcc_build' gmake[2]: Entering directory `/usr/share/src/gcc_build' gmake[3]: Entering directory `/usr/share/src/gcc_build' rm -f stage_current gmake distclean-stagefeedback gmake[4]: Entering directory `/usr/share/src/gcc_build' rm -rf stagefeedback-* gmake[4]: Leaving directory `/usr/share/src/gcc_build' gmake[3]: Leaving directory `/usr/share/src/gcc_build' mkdir -p -- ../gcc/./ada mkdir -p -- ../gcc/./ada/bldtools ... mkdir -p -- ../libiberty/./pic mkdir -p -- ../libiberty/./testsuite gmake[2]: Leaving directory `/usr/share/src/gcc_build' gmake[2]: Entering directory `/usr/share/src/gcc_build' Configuring stage feedback in ./intl configure: error: invalid feature name: shared gmake[2]: *** [configure-stagefeedback-intl] Error 1 gmake[2]: Leaving directory `/usr/share/src/gcc_build' gmake[1]: *** [stagefeedback-bubble] Error 2 gmake[1]: Leaving directory `/usr/share/src/gcc_build' gmake: *** [all] Error 2 # ls -lrtA | tail -2 drwxr-xr-x 4 root root 35 Jan 9 09:19 libiberty drwxr-xr-x 2 root root 19 Jan 9 09:19 intl There is no config.log yet created for that directory so no log to see: # ls -lrtA intl total 26 -rw-r--r-- 2 root root 144 Jan 9 09:18 dgettext.gcda -rw-r--r-- 2 root root 760 Jan 9 09:18 bindtextdom.gcda -rw-r--r-- 2 root root 232 Jan 9 09:18 gettext.gcda -rw-r--r-- 2 root root 2680 Jan 9 09:18 loadmsgcat.gcda -rw-r--r-- 2 root root 288 Jan 9 09:18 textdomain.gcda -rw-r--r-- 2 root root 2160 Jan 9 09:18 dcigettext.gcda -rw-r--r-- 2 root root 304 Jan 9 09:18 plural-exp.gcda -rw-r--r-- 2 root root 680 Jan 9 09:18 localcharset.gcda -rw-r--r-- 2 root root 592 Jan 9 09:18 relocatable.gcda -rw-r--r-- 2 root root 296 Jan 9 09:18 localename.gcda -rw-r--r-- 2 root root 528 Jan 9 09:18 log.gcda -rw-r--r-- 2 root root 232 Jan 9 09:18 dcgettext.gcda -rw-r--r-- 2 root root 424 Jan 9 09:18 finddomain.gcda -rw-r--r-- 2 root root 864 Jan 9 09:18 localealias.gcda -rw-r--r-- 2 root root 880 Jan 9 09:18 l10nflist.gcda -rw-r--r-- 2 root root 672 Jan 9 09:18 explodename.gcda -rw-r--r-- 2 root root 1232 Jan 9 09:18 plural.gcda # prev-gcc/xgcc -v Using built-in specs. Target: i386-pc-solaris2.11 Configured with: ../gcc_trunk/configure --enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --enable-shared --disable-static --enable-decimal-float --with-long-double-128 --enable-nls --with-included-gettext --enable-gather-detailed-mem-stats --with-stabs --enable-debug -enable-largefile --enable-symvers --without-system-zlib --enable-gtk-cairo --enable-qt-peer --enable-xmlj --enable-gconf-peer --enable-gjdoc --enable-java-awt=gtk,xlib,qt,x --enable-gc-debug --enable-libgcj-multifile --enable-libgcj-debug --enable-objc-gc --enable-libstdcxx-debug --enable-stage1-checking --enable-checking=release --enable-coverage=noopt --without-system-libunwind --with-gnu-as --with-as=/usr/local/bin/as --with-gnu-ld --with-ld=/usr/local/bin/ld Thread model: posix gcc version 4.4.0 20090109 (experimental) (GCC) My guess is that ./configure is getting fed "shared", "-shared" or "--with-shared" somehow. Investigating. Rob
After the build breaks typing "gmake" simply restarts from the _begining_! # gmake ... gmake[2]: Entering directory `/usr/share/src/gcc_build' Configuring stage feedback in ./intl ... and all is well (for a few hours, until it gets back here again). I'll wait until the restarting of the broken build is working better. There is a 'stamp' file needed somewhere to keep it's place. Rob
Much further on in the build ... ... # Early copyback; see "all" above for the rationale. The # early copy is necessary so that the gcc -B options find # the right startup files when linking shared libgcc. /bin/sh ../../../../gcc_trunk/libgcc/../mkinstalldirs ../../.././gcc/amd64 parts="gmon.o crtbegin.o crtend.o"; \ for file in $parts; do \ rm -f ../../.././gcc/amd64/$file; \ /usr/bin/ginstall -c -m 644 $file ../../.././gcc/amd64/; \ done ... /bin/sh ../../../../gcc_trunk/libgcc/../mkinstalldirs amd64 /usr/share/src/gcc_build/./gcc/xgcc -B/usr/share/src/gcc_build/./gcc/ ... ... emutls_s.o -lc && rm -f amd64/libgcc_s.so && if [ -f amd64/libgcc_s.so.1 ]; then mv -f amd64/libgcc_s.so.1 amd64/libgcc_s.so.1.backup; else true; fi && mv amd64/libgcc_s.so.1.tmp amd64/libgcc_s.so.1 && ln -s libgcc_s.so.1 amd64/libgcc_s.so profiling:/usr/share/src/gcc_build/intl/bindtextdom.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/gettext.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/loadmsgcat.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/textdomain.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/dcigettext.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/plural-exp.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/localcharset.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/relocatable.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/localename.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/log.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/dcgettext.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/finddomain.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/localealias.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/l10nflist.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/explodename.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/plural.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/cplus-dem.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/cp-demangle.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/argv.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/concat.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/fopen_unlocked.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/getpwd.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/hashtab.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/make-temp-file.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/obstack.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/pex-common.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/pex-unix.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/unlink-if-ordinary.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/xexit.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/xmalloc.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/xstrdup.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/xstrerror.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/bindtextdom.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/gettext.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/loadmsgcat.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/textdomain.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/dcigettext.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/plural-exp.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/localcharset.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/relocatable.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/localename.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/log.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/dcgettext.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/finddomain.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/localealias.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/l10nflist.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/explodename.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/intl/plural.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/cplus-dem.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/cp-demangle.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/argv.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/concat.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/fopen_unlocked.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/getpwd.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/hashtab.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/make-temp-file.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/obstack.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/pex-common.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/pex-unix.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/unlink-if-ordinary.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/xexit.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/xmalloc.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/xstrdup.gcda:Merge mismatch for summaries profiling:/usr/share/src/gcc_build/libiberty/xstrerror.gcda:Merge mismatch for summaries # Now that we have built all the objects, we need to copy # them back to the GCC directory. Too many things (other # in-tree libraries, and DejaGNU) know about the layout # of the build tree, for now. gmake install-leaf DESTDIR=../../.././gcc \ slibdir= libsubdir= MULTIOSDIR=amd64 gmake[6]: Entering directory `/usr/share/src/gcc_build/i386-pc-solaris2.11/amd64/libgcc' It does seem to be collecting some stats despite these troubles. Hopefully I will be able to build this and test the coverage of the testsuite. Rob
Breaks again here: /usr/share/src/gcc_build/./prev-gcc/xgcc -B/usr/share/src/gcc_build/./prev-gcc/ -B/usr/local/i386-pc-solaris2.11/bin/ -c -g -O2 -fprofile-use -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -DHAVE_CONFIG_H -I. -I. -I../../gcc_trunk/gcc -I../../gcc_trunk/gcc/. -I../../gcc_trunk/gcc/../include -I./../intl -I../../gcc_trunk/gcc/../libcpp/include -I../../gcc_trunk/gcc/../libdecnumber -I../../gcc_trunk/gcc/../libdecnumber/dpd -I../libdecnumber -DCLOOG_PPL_BACKEND -fexceptions ../../gcc_trunk/gcc/varasm.c -o varasm.o ../../gcc_trunk/gcc/varasm.c: In function ‘default_elf_asm_named_section’: ../../gcc_trunk/gcc/varasm.c:6791: error: coverage mismatch for function ‘default_elf_asm_named_section’ while reading counter ‘arcs’ ../../gcc_trunk/gcc/varasm.c:6791: note: number of counters is 18 instead of 22 ../../gcc_trunk/gcc/varasm.c:6791: error: coverage mismatch for function ‘default_elf_asm_named_section’ while reading counter ‘indirect_call’ ../../gcc_trunk/gcc/varasm.c:6791: note: number of counters is 0 instead of 3 ../../gcc_trunk/gcc/varasm.c: In function ‘default_function_rodata_section’: ../../gcc_trunk/gcc/varasm.c:6791: error: coverage mismatch for function ‘default_function_rodata_section’ while reading counter ‘arcs’ ../../gcc_trunk/gcc/varasm.c:6791: note: number of counters is 10 instead of 12 gmake[3]: *** [varasm.o] Error 1 gmake[3]: Leaving directory `/usr/share/src/gcc_build/gcc' gmake[2]: *** [all-stagefeedback-gcc] Error 2 gmake[2]: Leaving directory `/usr/share/src/gcc_build' gmake[1]: *** [stagefeedback-bubble] Error 2 gmake[1]: Leaving directory `/usr/share/src/gcc_build' gmake: *** [all] Error 2
You should not be bootstrapping a --enable-coverage=noopt build, you should only need to build stage1 gcc.
(In reply to comment #6) > You should not be bootstrapping a --enable-coverage=noopt build, you should > only need to build stage1 gcc. > I only typed make. If I set "--enable-coverage=noopt" it should build correctly when I type make and discontinue the build at the correct stage. Not my fault. Rob