Got to building the latest stuff on Cygwin - I modiifed the autoconfig
script to get around some issues relating to 'ln -s' - and I then
started the build.

Got some errors, one I think is a Cygwin issue (but wanting that final
1% assurance) other I am pretty sure is a build/setup issue:

source:
     latest as of yesterday morning 10:00 GMT

config command:
   $ ../gcc/configure --enable-languages=c,c++ --enable-nls
--enable-threads=posix

build command:
   $ make >&../build_log.txt

Errors:

Cygwin one:

When it gets to stage 3 (after many hours) I get the following printed
out to the console (not redirected) -

217 [unknown (0x1B0)] conftest 3408 _cygtls::handle_exceptions: Error
while dumping state (probably corrupted stack)

By the looks of this I wold say that some part of the Cygwin runtime
has failed. I've not seen this one in Cygwin at any other time than
building GCC which leads me to assume (which is dangerous I realise)
that there is an issue with my version and how GCC builds. Placing the
"blame" on the Cygwin runtime.

Is this a correct assumption can anyone tell me? [obviously if it is a
Cygwin issue then I'll track it down a bit more before posting on
their forums]

GCC Build One:

Again stage3 part of build, and this is what actually stops the build
the above issue doesn't seem to (I think it happens in stage 2), I get
the following:

<many, many, many lines of log deleted>

          /home/andy/live-gcc/my_gcc/./gcc/xgcc
-B/home/andy/live-gcc/my_gcc/./gcc/ -B/usr/local/i686-pc-cygwin/bin/
-B/usr/local/i686-pc-cygwin/lib/ -isystem
/usr/local/i686-pc-cygwin/include -isystem
/usr/local/i686-pc-cygwin/sys-include -c -DHAVE_CONFIG_H -g -O2    -I.
-I../../../gcc/libiberty/../include  -W -Wall -Wwrite-strings
-Wc++-compat -Wstrict-prototypes -pedantic
../../../gcc/libiberty/strsignal.c -o pic/strsignal.o; \
        else true; fi
/home/andy/live-gcc/my_gcc/./gcc/xgcc
-B/home/andy/live-gcc/my_gcc/./gcc/ -B/usr/local/i686-pc-cygwin/bin/
-B/usr/local/i686-pc-cygwin/lib/ -isystem
/usr/local/i686-pc-cygwin/include -isystem
/usr/local/i686-pc-cygwin/sys-include -c -DHAVE_CONFIG_H -g -O2    -I.
-I../../../gcc/libiberty/../include  -W -Wall -Wwrite-strings
-Wc++-compat -Wstrict-prototypes -pedantic
../../../gcc/libiberty/strsignal.c -o strsignal.o
../../../gcc/libiberty/strsignal.c:408: error: conflicting types for 'strsignal'
/usr/include/string.h:78: note: previous declaration of 'strsignal' was here
make[2]: *** [strsignal.o] Error 1
make[2]: Leaving directory `/home/andy/live-gcc/my_gcc/i686-pc-cygwin/libiberty'
make[1]: *** [all-target-libiberty] Error 2
make[1]: Leaving directory `/home/andy/live-gcc/my_gcc'
make: *** [all] Error 2

Which seems like a possible setup/build issue. If this is so anyone
seen it before and any helpful hints on how to get rid of it?

Thanks.

Andy
-- 
Brain upgrade required: a working hypothalamus

Reply via email to