Bug 30620 - missing dependencies of gcov-io.h breaks --enable-intermodule build
Summary: missing dependencies of gcov-io.h breaks --enable-intermodule build
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 4.2.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: build
Depends on:
Blocks:
 
Reported: 2007-01-28 11:42 UTC by Bernhard Reutner-Fischer
Modified: 2007-10-30 18:26 UTC (History)
1 user (show)

See Also:
Host: i686-linux-gnu
Target: i686-linux-gnu
Build: i686-linux-gnu
Known to work:
Known to fail: 4.2.0 4.1.2 4.0.4
Last reconfirmed:


Attachments
add gcov-iov.h to the prerequisited of libbackend.o (376 bytes, patch)
2007-02-10 19:01 UTC, Bernhard Reutner-Fischer
Details | Diff
gcov-iov.h dependency and BUGURL bugfixes (524 bytes, patch)
2007-08-25 16:04 UTC, Bernhard Reutner-Fischer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Reutner-Fischer 2007-01-28 11:42:22 UTC
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
Comment 1 Bernhard Reutner-Fischer 2007-01-28 11:45:55 UTC
I assume that this works with 4.1 but did not verify. If so, that's obviously a [4.2 Regression]
Comment 2 Bernhard Reutner-Fischer 2007-02-04 14:53:19 UTC
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
Comment 3 Bernhard Reutner-Fischer 2007-02-10 19:01:21 UTC
Created attachment 13030 [details]
add gcov-iov.h to the prerequisited of libbackend.o

Patch against the gcc-4_2-branch
Comment 4 Bernhard Reutner-Fischer 2007-08-25 16:04:45 UTC
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
Comment 5 Bernhard Reutner-Fischer 2007-08-25 22:10:46 UTC
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

Comment 6 Bernhard Reutner-Fischer 2007-10-30 18:26:47 UTC
Fixed for 4.3.0