From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20589 invoked by alias); 8 Dec 2001 06:01:47 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 20560 invoked from network); 8 Dec 2001 06:01:41 -0000 Received: from unknown (HELO godel.megacz.com) (64.23.37.80) by sources.redhat.com with SMTP; 8 Dec 2001 06:01:41 -0000 Received: from megacz by godel.megacz.com with local (Exim 3.12 #1 (Debian)) id 16CaZ2-0004Ph-00 for ; Sat, 08 Dec 2001 01:02:20 -0500 To: gcc@gcc.gnu.org Subject: Re: mingw32 target broken [cygwin as well] References: <86g06mi9rn.fsf@megacz.com> <86bshai9l6.fsf@megacz.com> <20011208003722.A14955@mediaone.net> From: Adam Megacz X-Home-Page: http://www.megacz.com/adam Organization: Myself Date: Fri, 07 Dec 2001 23:12:00 -0000 In-Reply-To: Craig Rodrigues's message of "Sat, 8 Dec 2001 00:37:22 -0500" Message-ID: <86d71qfdw3.fsf_-_@megacz.com> User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2001-12/txt/msg00417.txt.bz2 Craig Rodrigues writes: > Post the output of the configure, and the config.log that was created as well. No config.log was created. I have included config.status below... Side note: this seems to happen with target=i386-pc-mingw and target=i386-pc-cygwin as well. For those just joining the thread, I'm using a fresh cvs checkout from a few hours ago. == configure command =========================================================== ../src/configure --enable-threads=posix --prefix=/usr --enable-shared \ --enable-languages=c++,java,c --disable-nls --target=mingw == configure output ============================================================ Configuring for a i686-pc-linux-gnu host. *** This configuration is not supported in the following subdirectories: target-libffi target-boehm-gc target-zlib target-libjava target-libchill target-libstdc++-v3 target-libf2c zlib fastjar target-libobjc (Any other directories should still work fine.) Created "Makefile" in /home/megacz/gcc-3.1/bin using "mh-frag" and "mt-frag" Configuring libiberty... creating cache ../config.cache checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for ar... ar checking for ranlib... ranlib checking for gcc... gcc checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for POSIXized ISC... no checking for working const... yes checking for inline... inline checking for a BSD compatible install... /usr/bin/install -c Appending ../../src/libiberty/config/../../config/mh-x86pic to xhost-mkfrag checking how to run the C preprocessor... gcc -E checking for sys/file.h... yes checking for sys/param.h... yes checking for limits.h... yes checking for stdlib.h... yes checking for string.h... yes checking for unistd.h... yes checking for strings.h... yes checking for sys/time.h... yes checking for time.h... yes checking for sys/resource.h... yes checking for sys/stat.h... yes checking for sys/mman.h... yes checking for fcntl.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking whether errno must be declared... no checking whether the C compiler (gcc -g -O2 ) works... yes checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no checking for asprintf... yes checking for atexit... yes checking for basename... yes checking for bcmp... yes checking for bcopy... yes checking for bsearch... yes checking for bzero... yes checking for calloc... yes checking for clock... yes checking for ffs... yes checking for getcwd... yes checking for getpagesize... yes checking for index... yes checking for insque... yes checking for memchr... yes checking for memcmp... yes checking for memcpy... yes checking for memmove... yes checking for memset... yes checking for mkstemps... no checking for putenv... yes checking for random... yes checking for rename... yes checking for rindex... yes checking for setenv... yes checking for sigsetmask... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strncasecmp... yes checking for strrchr... yes checking for strstr... yes checking for strtod... yes checking for strtol... yes checking for strtoul... yes checking for tmpnam... yes checking for vasprintf... yes checking for vfprintf... yes checking for vprintf... yes checking for vsprintf... yes checking for waitpid... yes checking whether alloca needs Cray hooks... no checking stack direction for C alloca... -1 checking for ANSI C header files... yes checking for pid_t... yes checking for vfork.h... no checking for working vfork... yes checking for sys_errlist... yes checking for sys_nerr... yes checking for sys_siglist... yes checking for getrusage... yes checking for on_exit... yes checking for psignal... yes checking for strerror... yes checking for strsignal... yes checking for sysconf... yes checking for times... yes checking for sbrk... yes checking for gettimeofday... yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... yes checking for working strncmp... yes updating cache ../config.cache creating ./config.status creating Makefile creating testsuite/Makefile creating config.h Configuring gcc... loading cache ../config.cache checking LIBRARY_PATH variable... ok checking GCC_EXEC_PREFIX variable... ok checking host system type... i686-pc-linux-gnu checking target system type... i386-pc-mingw32 checking build system type... i686-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 whether gcc accepts -Wno-long-long... yes checking how to run the C preprocessor... (cached) gcc -E checking for inline... (cached) inline checking for volatile... yes checking for long double... yes checking for long long int... yes checking for __int64... no checking for built-in _Bool... yes checking size of short... 2 checking size of int... 4 checking size of long... 4 checking size of long long... 8 checking execution character set... ASCII checking whether make sets ${MAKE}... 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 gawk... no checking for mawk... mawk checking whether ln works... yes checking whether ln -s works... yes checking for ranlib... (cached) ranlib checking for a BSD compatible install... (cached) /usr/bin/install -c checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for working stdbool.h... 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 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 thread.h... no checking for pthread.h... yes checking for CHAR_BIT... yes checking byte ordering... little-endian checking floating point format... IEEE (little-endian) checking for gnatbind... no checking for mktemp... yes checking for makeinfo... makeinfo checking for modern makeinfo... yes checking for recent Pod::Man... yes checking for flex... flex checking for bison... bison checking for collect2 libraries... none required checking for library containing exc_resume... no checking for preprocessor stringizing operator... yes checking for inttypes.h... yes checking for strtoul... (cached) yes checking for bsearch... (cached) yes checking for popen... yes checking for times... (cached) yes checking for clock... (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 nl_langinfo... yes checking for lstat... 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 for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking whether getenv is declared... yes checking whether atol is declared... yes checking whether sbrk is declared... yes checking whether abort is declared... yes checking whether atof is declared... yes checking whether getcwd is declared... yes checking whether getwd is declared... yes checking whether strsignal is declared... yes checking whether putc_unlocked is declared... yes checking whether fputs_unlocked is declared... yes checking whether strstr is declared... yes checking whether environ is declared... yes checking whether errno is declared... yes checking whether malloc is declared... yes checking whether realloc is declared... yes checking whether calloc is declared... yes checking whether free is declared... yes checking whether basename is declared... yes checking whether getopt is declared... yes checking whether clock is declared... yes checking whether getrlimit is declared... yes checking whether setrlimit is declared... yes checking whether getrusage is declared... yes checking whether times is declared... yes checking for struct tms... yes checking for clock_t... yes checking if mkdir takes one argument... no Using `../../src/gcc/config/i386/i386.c' for machine-specific logic. Using `../../src/gcc/config/i386/i386.md' as machine description file. Using the following target machine macro files: ../../src/gcc/config/i386/mingw32.h ../../src/gcc/config/i386/crtdll.h checking for strerror in -lcposix... no checking for working const... (cached) yes checking for off_t... yes checking for size_t... 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... no checking what assembler to use... checking what nm to use... checking assembler alignment features... none checking assembler subsection support... no checking assembler weak support... no checking assembler hidden support... no checking assembler leb128 support... no checking assembler eh_frame optimization... no checking assembler instructions... 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 cross-compiler for i386-pc-mingw32 from i686-pc-linux-gnu. updating cache ../config.cache creating ./config.status creating Makefile creating intl/Makefile creating po/Makefile.in creating fixinc/Makefile creating gccbug creating mklibgcc creating auto-host.h linking ../../src/gcc/intl/libgettext.h to intl/libintl.h creating libintl.h == config.status =============================================================== #!/bin/sh # This file was generated automatically by configure. Do not edit. # This directory was configured as follows: ../src/configure --with-gcc-version-trigger=/home/megacz/gcc-3.1/src/gcc/version.c --host=i686-pc-linux-gnu --enable-threads=posix --prefix=/usr --enable-shared --enable-languages=c --disable-nls --target=mingw32 --norecursion # using "mh-frag" and "mt-frag" == build errors ================================================================ ... /home/megacz/gcc-3.1/bin/gcc/xgcc -B/home/megacz/gcc-3.1/bin/gcc/ -B/usr/mingw32/bin/ -B/usr/mingw32/lib/ -isystem /usr/mingw32/include -O2 -I../../src/gcc/..\/winsup/include -I../../src/gcc/../winsup/cygwin/include -I../../src/gcc/../winsup/w32api/include -DCROSS_COMPILE -DIN_GCC -W -Wall -Wwrite-strings -Wstric\t-prototypes -Wmissing-prototypes -isystem ./include -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../src/gcc -I\../../src/gcc/. -I../../src/gcc/config -I../../src/gcc/../include -DL_chkstk -xassembler-with-cpp -c ../../src/gcc/config/i386/cygwin.asm -o libgcc/./_chkstk.\o /home/megacz/gcc-3.1/bin/gcc/xgcc -B/home/megacz/gcc-3.1/bin/gcc/ -B/usr/mingw32/bin/ -B/usr/mingw32/lib/ -isystem /usr/mingw32/include -O2 -I../../src/gcc/..\/winsup/include -I../../src/gcc/../winsup/cygwin/include -I../../src/gcc/../winsup/w32api/include -DCROSS_COMPILE -DIN_GCC -W -Wall -Wwrite-strings -Wstric\t-prototypes -Wmissing-prototypes -isystem ./include -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../src/gcc -I\../../src/gcc/. -I../../src/gcc/config -I../../src/gcc/../include -DL_muldi3 -c ../../src/gcc/libgcc2.c -o libgcc/./_muldi3.o In file included from ../../src/gcc/config/i386/mingw32.h:25, from tconfig.h:4, from ../../src/gcc/libgcc2.c:36: ../../src/gcc/config/i386/cygwin.h:31:19: stdio.h: No such file or directory In file included from ../../src/gcc/config/i386/mingw32.h:25, from tconfig.h:4, from ../../src/gcc/libgcc2.c:36: ../../src/gcc/config/i386/cygwin.h:435: parse error before '*' token ../../src/gcc/config/i386/cygwin.h:435: warning: function declaration isn't a prototype ../../src/gcc/config/i386/cygwin.h:437: parse error before '*' token ../../src/gcc/config/i386/cygwin.h:437: warning: function declaration isn't a prototype make[2]: *** [libgcc/./_muldi3.o] Error 1 make[2]: Leaving directory `/home/megacz/gcc-3.1/bin/gcc' make[1]: *** [libgcc.a] Error 2 make[1]: Leaving directory `/home/megacz/gcc-3.1/bin/gcc' make: *** [all-gcc] Error 2