Silly branch compile failure, stage 1

Neil Booth neil@daikokuya.demon.co.uk
Mon Apr 2 14:38:00 GMT 2001


Kaveh R. Ghazi wrote:-

> Well, *I* haven't done anything to suddenly break this, but someone
> else may have.  But I do believe what you are doing is exactly the
> type of action that isn't supposed to work.  My info may be out of
> date, and/or it may have worked by accident up until now.  I don't
> know.

I wasn't trying to cast aspersions :-)

I tried it from a separate directory, and still have precisely the
same problem.  This is with a clean checkout from gcc.gnu.org branch.
However, I notice that the result of my "autoconf" and "autoheader"
do not match what is on gcc.gnu.org:

monkey:gcc{381}$ cvs diff configure
Index: configure
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure,v
retrieving revision 1.488.2.10
diff -u -p -r1.488.2.10 configure
--- configure	2001/03/17 18:43:28	1.488.2.10
+++ configure	2001/04/02 21:07:22
@@ -1582,7 +1582,7 @@ esac
 
 
 # Find some useful tools
-for ac_prog in gawk mawk nawk awk
+for ac_prog in mawk gawk nawk awk
 do
 # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
monkey:gcc{382}$ autoconf --v
Autoconf version 2.13

Maybe something is wrong with my local version (which was upgraded
recently with apt-get).  It's odd that no-one else is seeing it; so I'll
wait for a while and see if it goes away or if anyone else complains.

The output built from a wholly separate directory is below, for the
curious.  It looks like it goes bad starting with the bcopy test.

Neil.

Configuring gcc...
loading cache ../config.cache
checking LIBRARY_PATH variable... ok
checking GCC_EXEC_PREFIX variable... ok
checking host system type... i586-pc-linux-gnu
checking target system type... i586-pc-linux-gnu
checking build system type... i586-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether gcc and cc understand -c and -o together... yes
checking for long double... yes
checking whether gcc accepts -Wno-long-long... yes
checking whether make sets ${MAKE}... (cached) yes
checking whether a default assembler was specified... no
checking whether a default linker was specified... no
checking for GNU C library... yes
checking for inline... (cached) inline
checking for mawk... mawk
checking whether ln works... yes
checking whether ln -s works... yes
checking for volatile... yes
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking how to run the C preprocessor... (cached) /lib/cpp
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether string.h and strings.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for limits.h... (cached) yes
checking for stddef.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for time.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stab.h... yes
checking for sys/file.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/times.h... yes
checking for sys/stat.h... (cached) yes
checking for direct.h... no
checking for malloc.h... yes
checking for langinfo.h... yes
checking for iconv.h... yes
checking for stdbool.h... yes
checking for thread.h... no
checking for pthread.h... yes
checking for gnatbind... no
checking for mktemp... yes
checking for makeinfo... makeinfo
checking for modern makeinfo... yes
checking for recent Pod::Man... no
checking for flex... flex
checking for bison... bison
checking for preprocessor stringizing operator... yes
checking for inttypes.h... yes
checking for unsigned enumerated bitfields... yes
checking for strtoul... (cached) yes
checking for bsearch... (cached) yes
checking for putenv... (cached) yes
checking for popen... yes
checking for bcopy... (cached) yes
checking for strchr... (cached) yes
checking for strrchr... (cached) yes
checking for kill... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for atoll... yes
checking for atoq... no
checking for sysconf... (cached) yes
checking for isascii... yes
checking for gettimeofday... (cached) yes
checking for strsignal... (cached) yes
checking for putc_unlocked... yes
checking for fputc_unlocked... yes
checking for fputs_unlocked... yes
checking for getrusage... (cached) yes
checking for iconv... yes
checking for nl_langinfo... yes
checking for ssize_t... yes
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking for vprintf... (cached) yes
checking for strstr... (cached) yes
checking whether the printf functions support %p... yes
checking for pid_t... (cached) yes
checking for vfork.h... (cached) no
checking for working vfork... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap from /dev/zero... yes
checking for working mmap with MAP_ANON(YMOUS)... yes
checking for working mmap of a file... yes
checking whether bcopy is declared... no
checking whether getenv is declared... no
checking whether atol is declared... no
checking whether sbrk is declared... no
checking whether abort is declared... no
checking whether atof is declared... no
checking whether getcwd is declared... no
checking whether getwd is declared... no
checking whether strsignal is declared... no
checking whether putc_unlocked is declared... no
checking whether fputs_unlocked is declared... no
checking whether strstr is declared... no
checking whether environ is declared... no
checking whether malloc is declared... no
checking whether realloc is declared... no
checking whether calloc is declared... no
checking whether free is declared... no
checking whether basename is declared... no
checking whether getopt is declared... no
checking whether getrlimit is declared... no
checking whether setrlimit is declared... no
checking whether getrusage is declared... no
checking if mkdir takes one argument... no
Using `/home/neil/src/gcc-branch/gcc/config/i386/i386.c' to output insns.
Using `/home/neil/src/gcc-branch/gcc/config/i386/i386.md' as machine description file.
Using the following target machine macro files:
	/home/neil/src/gcc-branch/gcc/config/i386/i386.h
	/home/neil/src/gcc-branch/gcc/config/i386/att.h
	/home/neil/src/gcc-branch/gcc/config/linux.h
	/home/neil/src/gcc-branch/gcc/config/i386/i386afe.h
	/home/neil/src/gcc-branch/gcc/config/i386/linux.h
Using `/home/neil/src/gcc-branch/gcc/config/i386/xm-i386.h' as host machine macro file.
checking for strerror in -lcposix... no
checking for working const... (cached) yes
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for argz.h... yes
checking for limits.h... (cached) yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getcwd... (cached) yes
checking for munmap... yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for stpcpy... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for gettext in libc... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed... sv
checking whether windows registry support is requested... yes
checking registry key on windows hosts... 3.0
checking what assembler to use... /usr/bin/as
checking what nm to use... nm
checking assembler alignment features... .p2align including maximum skip
checking assembler subsection support... working .subsection -1
checking assembler weak support... yes
checking assembler hidden support... yes
checking assembler instructions... filds fists 
checking assembler dwarf2 debug_line support... no
Using ggc-page for garbage collection.
checking whether to enable maintainer-specific portions of Makefiles... no
Links are now set up to build a native compiler for i586-pc-linux-gnu



More information about the Gcc-bugs mailing list