public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Failure building current 4.5 snapshot on Cygwin
@ 2009-08-23 14:20 Angelo Graziosi
  2009-08-23 17:57 ` Eric Niebler
  0 siblings, 1 reply; 21+ messages in thread
From: Angelo Graziosi @ 2009-08-23 14:20 UTC (permalink / raw)
  To: GCC; +Cc: eric

Eric Niebler wrote:
> I am running into the same problem (cannnot build latest snapshot on cygwin). I have built and installed the latest binutils from head (see attached config.log for details). But still the build fails. Any help?

This is strange! Recent snapshots (4.3, 4.4, 4.5) build OB both on 
Cygwin-1.5 and 1.7. In 1.5 I have build the same binutils of 1.7.

I configure with:

${source_dir}/configure --prefix="${prefix_dir}" \
	--exec-prefix="${eprefix_dir}" \
	--sysconfdir="${sysconf_dir}" \
	--libdir="${lib_dir}" \
	--libexecdir="${libexec_dir}" \
	--mandir="${man_dir}" \
	--infodir="${info_dir}" \
	--program-suffix="${suffix}" \
	--enable-bootstrap \
	--enable-checking=release \
	--enable-decimal-float=bid \
	--enable-languages=c,c++,fortran \
	--enable-libgomp \
	--enable-libssp \
	--enable-nls \
	--enable-threads=posix \
	--enable-version-specific-runtime-libs \
	--disable-fixed-point \
	--disable-libmudflap \
	--disable-shared \
	--disable-sjlj-exceptions \
	--disable-win32-registry \
	--with-arch=i686 \
	--with-dwarf2 \
	--with-system-zlib \
	--with-tune=generic \
	--without-included-gettext \
	--without-x || return 1


Cheers,
    Angelo.

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Failure building current 4.5 snapshot on Cygwin
@ 2009-06-26 11:18 Angelo Graziosi
  2009-06-26 11:42 ` Dave Korn
  2009-06-26 14:33 ` Tim Prince
  0 siblings, 2 replies; 21+ messages in thread
From: Angelo Graziosi @ 2009-06-26 11:18 UTC (permalink / raw)
  To: Fortran, GCC

I want to flag the following failure I have seen on Cygwin 1.5 trying to 
build current 4.5-20090625 gcc snapshot:

-------------------------------------------
[...]
make[2]: Entering directory `/tmp/build'
Configuring stage 2 in ./intl
Configuring stage 2 in ./libiberty
Configuring stage 2 in ./libdecnumber
configure: creating cache ./config.cache
configure: creating cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... makeinfo --split-size=5000000 --split-size=5000000
checking whether make sets $(MAKE)... checking for perl... perl
yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether NLS is requested... yes
checking build system type... checking for msgfmt... configure: creating 
cache ./config.cache
/usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... i686-pc-cygwin
checking whether make sets $(MAKE)... /usr/bin/xgettext
checking for msgmerge... checking host system type... /usr/bin/msgmerge
yes
checking for i686-pc-cygwin-gcc...  /tmp/build/./prev-gcc/xgcc 
-B/tmp/build/./prev-gcc/ -B/usr/local/gfortran/i686-pc-cygwin/bin/ 
-B/usr/local/gfortran/i686-pc-cygwin/bin/ 
-B/usr/local/gfortran/i686-pc-cygwin/lib/ -isystem 
/usr/local/gfortran/i686-pc-cygwin/include -isystem 
/usr/local/gfortran/i686-pc-cygwin/sys-include
checking for i686-pc-cygwin-gcc...  /tmp/build/./prev-gcc/xgcc 
-B/tmp/build/./prev-gcc/ -B/usr/local/gfortran/i686-pc-cygwin/bin/ 
-B/usr/local/gfortran/i686-pc-cygwin/bin/ 
-B/usr/local/gfortran/i686-pc-cygwin/lib/ -isystem 
/usr/local/gfortran/i686-pc-cygwin/include -isystem 
/usr/local/gfortran/i686-pc-cygwin/sys-include
i686-pc-cygwin
checking for i686-pc-cygwin-ar... ar
checking for i686-pc-cygwin-ranlib... ranlib
checking for i686-pc-cygwin-gcc...  /tmp/build/./prev-gcc/xgcc 
-B/tmp/build/./prev-gcc/ -B/usr/local/gfortran/i686-pc-cygwin/bin/ 
-B/usr/local/gfortran/i686-pc-cygwin/bin/ 
-B/usr/local/gfortran/i686-pc-cygwin/lib/ -isystem 
/usr/local/gfortran/i686-pc-cygwin/include -isystem 
/usr/local/gfortran/i686-pc-cygwin/sys-include
checking for C compiler default output file name... checking for C 
compiler default output file name... a.exe
checking whether the C compiler works... a.exe
checking whether the C compiler works... configure: error: in 
`/tmp/build/intl':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
checking for C compiler default output file name... configure: error: in 
`/tmp/build/libdecnumber':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[2]: *** [configure-stage2-libdecnumber] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [configure-stage2-intl] Error 1
a.exe
checking whether the C compiler works... configure: error: in 
`/tmp/build/libiberty':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[2]: *** [configure-stage2-libiberty] Error 1
make[2]: Leaving directory `/tmp/build'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/tmp/build'
make: *** [all] Error 2
-------------------------------------------

I have configured with:

===================================
CC='gcc-4' CXX='g++-4' CPP='cpp-4' ${gcc_dir}/configure 
--prefix="${prefix_dir}" \
         --exec-prefix="${eprefix_dir}" \
	--sysconfdir="${sysconf_dir}" \
	--libdir="${lib_dir}" \
	--libexecdir="${libexec_dir}" \
	--mandir="${man_dir}" \
	--infodir="${info_dir}" \
	--program-suffix="${suffix}" \
	--enable-languages=c,c++,fortran \
	--enable-bootstrap \
	--enable-decimal-float=bid \
	--enable-libgomp \
	--enable-threads \
	--enable-sjlj-exceptions \
	--enable-version-specific-runtime-libs \
	--enable-nls \
	--enable-checking=release \
	--disable-fixed-point \
	--disable-libmudflap \
	--disable-shared \
	--disable-win32-registry \
	--with-arch=i686 \
	--with-system-zlib \
	--with-tune=generic \
         --without-included-gettext \
	--without-x || return 1
===================================

The source comes from the following files:

gcc-core-4.5-20090625.tar.bz2
gcc-fortran-4.5-20090625.tar.bz2
gcc-g++-4.5-20090625.tar.bz2


I have tried using 'make -j2[or -j4]'


Cheers,
Angelo.

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2009-08-23 18:08 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-23 14:20 Failure building current 4.5 snapshot on Cygwin Angelo Graziosi
2009-08-23 17:57 ` Eric Niebler
2009-08-23 18:08   ` Tim Prince
2009-08-23 19:59     ` Eric Niebler
  -- strict thread matches above, loose matches on Subject: below --
2009-06-26 11:18 Angelo Graziosi
2009-06-26 11:42 ` Dave Korn
2009-06-26 13:09   ` Angelo Graziosi
2009-06-26 13:19     ` Seiji Kachi
2009-06-26 13:52       ` Kai Tietz
2009-06-26 15:59         ` Tim Prince
2009-06-26 16:28           ` Kai Tietz
2009-06-26 16:36             ` Steve Kargl
2009-06-26 17:01               ` Angelo Graziosi
2009-06-26 17:06                 ` Steve Kargl
2009-06-26 17:29             ` Tim Prince
2009-06-27  0:55         ` Seiji Kachi
2009-08-23  6:45           ` Eric Niebler
2009-08-23 10:16             ` Ralf Wildenhues
2009-08-23 22:26             ` Eric Niebler
2009-06-26 15:41   ` Tim Prince
2009-06-26 14:33 ` Tim Prince

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).