pristine 4_2-branch configured with: ++ CFLAGS='-g3 -ggdb3 -O0' ++ CXXFLAGS='-g3 -ggdb3 -O0' ++ BOOT_CFLAGS=' -march=pentium4 -mtune=pentium4 -O2' ++ ../../src/gcc-4.2.orig/configure -v --enable-languages=c,c++,fortran,treelang --prefix=/opt/gcc-4.2.orig/ --enable-shared --with-system-zlib --libexecdir=/op t/gcc-4.2.orig/lib --enable-nls --without-included-gettext --enable-threads=posi x --program-suffix=-4.2.orig-HEAD --enable-__cxa_atexit --enable-libstdcxx-alloc ator=mt --enable-clocale=gnu --disable-libstdcxx-debug --enable-mpfr --disable-w error --enable-checking=release --enable-debug --enable-intermodule i686-linux-g nu ../../../src/gcc-4.2.orig/gcc/tree-ssa-structalias.c ../../../src/gcc-4.2.orig/gcc/tree-object-size.c ../../../src/gcc-4.2.orig/gcc/rtl-factoring.c ../../../src/gcc-4.2.orig/gcc/config/i386/i386.c -o libbackend.o \ -DBASEVER="\"4.2.0\"" -DDATESTAMP="\" 20070128\"" \ -DDEVPHASE="\" (prerelease)\"" -combine In file included from ../../../src/gcc-4.2.orig/gcc/coverage.h:25, from ../../../src/gcc-4.2.orig/gcc/coverage.c:42: ../../../src/gcc-4.2.orig/gcc/gcov-io.h:284:22: error: gcov-iov.h: No such file or directory
I assume that this works with 4.1 but did not verify. If so, that's obviously a [4.2 Regression]
4.1.2 prerelease-20070128 fails on --enable-intermodule too: buildroot.arm/toolchain_build_arm/gcc-4.1.2-20070128/gcc/config/arm/arm.c -o lib backend.o \ -DBASEVER="\"4.1.2\"" -DDATESTAMP="\" 20070129\"" \ -DDEVPHASE="\" (prerelease)\"" -combine In file included from /scratch/obj.x86_64/buildroot.arm/toolchain_build_arm/gcc- 4.1.2-20070128/gcc/coverage.h:25, from /scratch/obj.x86_64/buildroot.arm/toolchain_build_arm/gcc- 4.1.2-20070128/gcc/coverage.c:42: /scratch/obj.x86_64/buildroot.arm/toolchain_build_arm/gcc-4.1.2-20070128/gcc/gco v-io.h:284:22: error: gcov-iov.h: No such file or directory
Created attachment 13030 [details] add gcov-iov.h to the prerequisited of libbackend.o Patch against the gcc-4_2-branch
Created attachment 14113 [details] gcov-iov.h dependency and BUGURL bugfixes On 4.3, also the recently added BUGURL needs to be added for the onestep compile
Subject: Bug 30620 Author: aldot Date: Sat Aug 25 22:10:28 2007 New Revision: 127802 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127802 Log: 2007-08-26 Bernhard Fischer <aldot@gcc.gnu.org> PR bootstrap/30620 * Makefile.in (libbackend.o): Add gcov-iov.h dependency and pass defines needed for version.c. Modified: trunk/gcc/ChangeLog trunk/gcc/Makefile.in
Fixed for 4.3.0