On 29 Aug 2005 09:42:15 -0700, Ian Lance Taylor <ian@airs.com> wrote:
> Christian Joensson <[EMAIL PROTECTED]> writes:
> 
> > I just tried to bootstrap current cvs gcc trunk under cygwin on a dual
> > cpu windows box...
> >
> > LAST_UPDATED: Mon Aug 29 09:44:58 UTC 2005
> >
> > it barfs like this:
> 
> Looks like we need to change hosthooks-def.h to $(HOSTHOOKS_DEF_H) to
> the dependencies of host-cygwin.o in config/i386/x-cygwin.
> 
> Can you test the patch?  Thanks.
> 
> Ian
> 
> Index: x-cygwin

That does indeed fix this problem, however, I have a new one...:

rm -f needed-list; touch needed-list; \
for f in atexit calloc memchr memcmp memcpy memmove memset rename
strchr strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf
vprintf vfork waitpid bcmp bcopy bzero; do \
  for g in ./random.o ./insque.o ./mkstemps.o ./sigsetmask.o
./stpcpy.o ./stpncpy.o ./strverscmp.o ; do \
    case "$g" in \
      *$f*) echo $g >> needed-list ;; \
    esac; \
  done; \
done
echo ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./alloca.o
./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o
./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o
./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o
./lbasename.o ./lrealpath.o ./make-relative-prefix.o
./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o
./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o
./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o
./ternary.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o
./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o > required-list
if [ x"" != x ]; then \
  /usr/local/src/trunk/objdir/./gcc/xgcc
-B/usr/local/src/trunk/objdir/./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 -O2 -g -O2 
-I. -I../../../gcc/libiberty/../include  -W -Wall -pedantic
-Wwrite-strings -Wstrict-prototypes  ../../../gcc/libiberty/regex.c -o
pic/regex.o; \
else true; fi
/usr/local/src/trunk/objdir/./gcc/xgcc
-B/usr/local/src/trunk/objdir/./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 -O2 -g -O2 
-I. -I../../../gcc/libiberty/../include  -W -Wall -pedantic
-Wwrite-strings -Wstrict-prototypes ../../../gcc/libiberty/regex.c -o
regex.o
../../../gcc/libiberty/regex.c:130: warning: function declaration
isn't a prototype
../../../gcc/libiberty/regex.c:130: warning: conflicting types for
built-in function 'malloc'
../../../gcc/libiberty/regex.c:131: warning: function declaration
isn't a prototype
In file included from ../../../gcc/libiberty/regex.c:638:
../../../gcc/libiberty/regex.c: In function 'byte_regex_compile':
../../../gcc/libiberty/regex.c:2439: warning: implicit declaration of
function 'free'
../../../gcc/libiberty/regex.c: In function 'byte_re_compile_fastmap':
../../../gcc/libiberty/regex.c:4835: warning: implicit declaration of
function 'abort'
../../../gcc/libiberty/regex.c:4835: warning: incompatible implicit
declaration of built-in function 'abort'
../../../gcc/libiberty/regex.c: In function 'byte_re_match_2_internal':
../../../gcc/libiberty/regex.c:7421: warning: incompatible implicit
declaration of built-in function 'abort'
../../../gcc/libiberty/regex.c: In function 'xregerror':
../../../gcc/libiberty/regex.c:8078: warning: incompatible implicit
declaration of built-in function 'abort'
../../../gcc/libiberty/regex.c: In function 'byte_regex_compile':
../../../gcc/libiberty/regex.c:2285: error: invariant not recomputed
when ADDR_EXPR changed
&_ctype_D.1917[1];

../../../gcc/libiberty/regex.c:2285: error: invariant not recomputed
when ADDR_EXPR changed
&_ctype_D.1917[1];

../../../gcc/libiberty/regex.c:2285: error: invariant not recomputed
when ADDR_EXPR changed
&_ctype_D.1917[1];

../../../gcc/libiberty/regex.c:2285: error: invariant not recomputed
when ADDR_EXPR changed
&_ctype_D.1917[1];

../../../gcc/libiberty/regex.c:2285: error: invariant not recomputed
when ADDR_EXPR changed
&_ctype_D.1917[1];

../../../gcc/libiberty/regex.c:2285: error: invariant not recomputed
when ADDR_EXPR changed
&_ctype_D.1917[1];

../../../gcc/libiberty/regex.c:2285: error: invariant not recomputed
when ADDR_EXPR changed
&_ctype_D.1917[1];

../../../gcc/libiberty/regex.c:2285: error: invariant not recomputed
when ADDR_EXPR changed
&_ctype_D.1917[1];

../../../gcc/libiberty/regex.c:2285: error: invariant not recomputed
when ADDR_EXPR changed
&_ctype_D.1917[1];

../../../gcc/libiberty/regex.c:2285: error: invariant not recomputed
when ADDR_EXPR changed
&_ctype_D.1917[1];

../../../gcc/libiberty/regex.c:2285: error: invariant not recomputed
when ADDR_EXPR changed
&_ctype_D.1917[1];

../../../gcc/libiberty/regex.c:2285: error: invariant not recomputed
when ADDR_EXPR changed
&_ctype_D.1917[1];

../../../gcc/libiberty/regex.c:2285: internal compiler error:
verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [regex.o] Error 1
make[2]: Leaving directory
`/usr/local/src/trunk/objdir/i686-pc-cygwin/libiberty'
make[1]: *** [all-target-libiberty] Error 2
make[1]: *** Waiting for unfinished jobs....

Again, starting with a single job make gets the bootstrap to continue...

the first compilation instances are these:

make[5]: Entering directory `/usr/local/src/trunk/objdir/gcc/ada/rts'
../../xgcc -B../../  -c -DIN_GCC   `echo -g -O2  -fexceptions -DIN_RTS |sed -e '
s/-pedantic//g' -e 's/-Wtraditional//g'`      -I. -I.. -I../.. -I/usr/local/src/
trunk/gcc/gcc/ada -I/usr/local/src/trunk/gcc/gcc/ada/../config -I/usr/local/src/
trunk/gcc/gcc/ada/../../include -I/usr/local/src/trunk/gcc/gcc/ada/.. -I./../.. 
adaint.c \
  -o adaint.o
../../xgcc -B../../  -c -DIN_GCC   `echo -g -O2  -fexceptions -DIN_RTS |sed -e '
s/-pedantic//g' -e 's/-Wtraditional//g'`      -I. -I.. -I../.. -I/usr/local/src/
trunk/gcc/gcc/ada -I/usr/local/src/trunk/gcc/gcc/ada/../config -I/usr/local/src/
trunk/gcc/gcc/ada/../../include -I/usr/local/src/trunk/gcc/gcc/ada/.. -I./../.. 
argv.c \
  -o argv.o


Note that the above make error occurs after the compare... that is
when support libraries are built by the newly bootstrapped compiler...

-- 
Cheers,

/ChJ

Reply via email to