Bug 19877 - sometimes reconfiguring leads to incorrect config.h
Summary: sometimes reconfiguring leads to incorrect config.h
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: libgcj (show other bugs)
Version: 4.0.0
: P2 normal
Target Milestone: 4.1.0
Assignee: Tom Tromey
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-10 18:50 UTC by Tom Tromey
Modified: 2005-06-16 03:46 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2005-02-10 19:05:12


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Tromey 2005-02-10 18:50:09 UTC
Sometimes when I reconfigure libgcj, configure decides that
mmap doesn't work on my machine.  This breaks the .db feature.
I don't know exactly how to reproduce, but I have seen it more than
once.
Comment 1 Andrew Pinski 2005-02-10 19:05:11 UTC
Confirmed.
Comment 2 Tom Tromey 2005-05-20 03:30:22 UTC
I'm testing a fix.
Comment 3 GCC Commits 2005-06-14 20:06:10 UTC
Subject: Bug 19877

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	tromey@gcc.gnu.org	2005-06-14 20:05:59

Modified files:
	libjava        : ChangeLog aclocal.m4 configure Makefile.in 
	libjava/external/sax: Makefile.in 
	libjava/external: Makefile.in 
	libjava/external/w3c_dom: Makefile.in 
	libjava/gcj    : Makefile.in 
	libjava/testsuite: Makefile.in 
	libjava/include: Makefile.in 
	config         : ChangeLog no-executables.m4 
	libstdc++-v3   : ChangeLog Makefile.in aclocal.m4 configure 
	libstdc++-v3/include: Makefile.in 
	libstdc++-v3/libmath: Makefile.in 
	libstdc++-v3/libsupc++: Makefile.in 
	libstdc++-v3/po: Makefile.in 
	libstdc++-v3/src: Makefile.in 
	libstdc++-v3/testsuite: Makefile.in 
	libgfortran    : ChangeLog Makefile.in aclocal.m4 configure 
	zlib           : ChangeLog.gcj Makefile.in aclocal.m4 configure 

Log message:
	config/:
	PR libgcj/19877:
	* no-executables.m4: Call real AC_FUNC_MMAP when cache variable
	is set but not 'no'.
	libstdc++-v3/:
	PR libgcj/19877:
	* configure, aclocal.m4: Rebuilt.
	* Makefile.in, include/Makefile.in, libmath/Makefile.in,
	libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
	testsuite/Makefile.in: Likewise.
	libjava/:
	PR libgcj/19877:
	* configure, aclocal.m4, Makefile.in: Rebuilt.
	libgfortran/:
	PR libgcj/19877:
	* configure, aclocal.m4, Makefile.in: Rebuilt.
	zlib/:
	PR libgcj/19877:
	* configure, aclocal.m4, Makefile.in: Rebuilt.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.3661&r2=1.3662
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/aclocal.m4.diff?cvsroot=gcc&r1=1.58&r2=1.59
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/configure.diff?cvsroot=gcc&r1=1.269&r2=1.270
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/Makefile.in.diff?cvsroot=gcc&r1=1.522&r2=1.523
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/external/sax/Makefile.in.diff?cvsroot=gcc&r1=1.13&r2=1.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/external/Makefile.in.diff?cvsroot=gcc&r1=1.8&r2=1.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/external/w3c_dom/Makefile.in.diff?cvsroot=gcc&r1=1.13&r2=1.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gcj/Makefile.in.diff?cvsroot=gcc&r1=1.69&r2=1.70
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/Makefile.in.diff?cvsroot=gcc&r1=1.80&r2=1.81
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/include/Makefile.in.diff?cvsroot=gcc&r1=1.72&r2=1.73
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/config/ChangeLog.diff?cvsroot=gcc&r1=1.67&r2=1.68
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/config/no-executables.m4.diff?cvsroot=gcc&r1=1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&r1=1.3037&r2=1.3038
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/Makefile.in.diff?cvsroot=gcc&r1=1.161&r2=1.162
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/aclocal.m4.diff?cvsroot=gcc&r1=1.313&r2=1.314
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/configure.diff?cvsroot=gcc&r1=1.441&r2=1.442
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/Makefile.in.diff?cvsroot=gcc&r1=1.136&r2=1.137
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/libmath/Makefile.in.diff?cvsroot=gcc&r1=1.111&r2=1.112
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/libsupc++/Makefile.in.diff?cvsroot=gcc&r1=1.126&r2=1.127
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/po/Makefile.in.diff?cvsroot=gcc&r1=1.56&r2=1.57
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/src/Makefile.in.diff?cvsroot=gcc&r1=1.222&r2=1.223
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/Makefile.in.diff?cvsroot=gcc&r1=1.98&r2=1.99
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&r1=1.239&r2=1.240
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/Makefile.in.diff?cvsroot=gcc&r1=1.37&r2=1.38
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/aclocal.m4.diff?cvsroot=gcc&r1=1.10&r2=1.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/configure.diff?cvsroot=gcc&r1=1.36&r2=1.37
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/zlib/ChangeLog.gcj.diff?cvsroot=gcc&r1=1.41&r2=1.42
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/zlib/Makefile.in.diff?cvsroot=gcc&r1=1.22&r2=1.23
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/zlib/aclocal.m4.diff?cvsroot=gcc&r1=1.11&r2=1.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/zlib/configure.diff?cvsroot=gcc&r1=1.36&r2=1.37

Comment 4 Tom Tromey 2005-06-14 20:07:40 UTC
I checked in the fix on the trunk.
Comment 5 Benjamin Kosnik 2005-06-16 03:20:06 UTC
Tom
Comment 6 Benjamin Kosnik 2005-06-16 03:23:39 UTC
Tom, what am I doing wrong? I seem Mike Stump checking in these kinds of cleanup
of reconfigured files as well.

Currently I'm using

mainline/gcc-4_0
autoconf 2.59
automake 1.9.3

gcc-3_4-branch
autoconf 2.59
automake 1.7.8

and reconfiguring with "autoreconf"

Are these not the right tools, or what's up?

thanks,
benjamin
Comment 7 Tom Tromey 2005-06-16 03:46:16 UTC
The versions you're using all look right.

In this case I regenerated configure and whatnot due to a change
in config/.  I haven't been using autoreconf though; I've been
running the tools by hand, looking in Makefile.am to see what
args to use for aclocal.