gcc-20010312 build fails on cygwin 1.1.8

Kelley Cook kelley.cook@home.com
Thu Apr 5 08:22:00 GMT 2001

After much gnashing of teeth stepping through with the debugger looking for 
the mistake in cpp0, I was just clued into the fact that it was (again) due 
to a mmap bug introduced in cygwin 1.1.8.

Grab a recent snapshot of cygwin1.dll and GCC 3.x will work fine.  They are 
available at ftp://ftp.freesoftware.com/pub/sourceware/cygwin/snapshots/

 > I'm trying to build gcc-20010312 on a w2k machine running
 >cygwin 1.1.8. The compile fails with the following:
 >./xgcc -B./ -B/usr/local/i686-pc-cygwin/bin/
 >       -isystem /usr/local/i686-pc-cygwin/include -O2
 >-DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes
 >-Wmissing-prototypes -isystem ./include   -g1  -DIN_LIBGCC2
 >-I../../gcc-20010312/gcc -I../../gcc-20010312/gcc/.
 >-DL_muldi3 -c ../../gcc-20010312/gcc/libgcc2.c -o libgcc/./_muldi3.o
 >In file included from ../../gcc-20010312/gcc/config/i386/xm-i386.h:43,
 >                 from tconfig.h:6,
 >                 from ../../gcc-20010312/gcc/config/i386/cygwin.h:36,
 >                 from tm.h:7,
 >                 from ../../gcc-20010312/gcc/config/i386/xm-i386.h:43,
 >                 from tconfig.h:6,
 >                 from ../../gcc-20010312/gcc/config/i386/cygwin.h:36,
 >                 from tm.h:7,
 >                 ...

More information about the Gcc-bugs mailing list