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


-- 
           Summary: gcc 4.4.0 20090109 - Configure with "--enable-
                    coverage=noopt" breaks build
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rob1weld at aol dot com
 GCC build triplet: i386-pc-solaris2.11
  GCC host triplet: i386-pc-solaris2.11
GCC target triplet: i386-pc-solaris2.11


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38776

Reply via email to