This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

genconstants failure on darwin 1.4


Hi,

I encounter the following bootstrap failure since tuesday:
-----
cc -no-cpp-precomp  -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic
-Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE  -o genconstants \
 genconstants.o rtl.o read-rtl.o bitmap.o ggc-none.o gensupport.o
hashtab.o safe-ctype.o errors.o ` case "obstack.o" in ?*) echo obstack.o
;; esac ` ` case "" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;;
esac ` ` case "" in ?*) echo  ;; esac `
./genconstants ../../gcc/gcc/config/rs6000/rs6000.md > tmp-constants.h
genconstants: Internal error: abort in copy_rtx, at ../../gcc/gcc/rtl.c:427
make[2]: *** [s-constants] Error 1
make[1]: *** [stage2_build] Error 2
make: *** [bootstrap] Error 2
-----

I thought first it is in the changes from Dale Johannesen but the longer
I play the more I'm not convinced it is.

Here the output from gdb:
------
(gdb) bt
#0  fancy_abort (file=0x99f8 "../../gcc/gcc/rtl.c", line=0, func=0x9a0c
"copy_rtx") at ../../gcc/gcc/errors.c:136
#1  0x0000292c in copy_rtx (orig=0x101250) at ../../gcc/gcc/rtl.c:402
#2  0x0000292c in copy_rtx (orig=0x101250) at ../../gcc/gcc/rtl.c:402
#3  0x000066e8 in process_rtx (desc=0x0, lineno=9768) at ../../gcc/gcc/gensupport.c:178
#4  0x00007690 in init_md_reader (filename=0x30d2 "\001`") at ../../gcc/gcc/gensupport.c:789
#5  0x00002480 in main (argc=39416, argv=0x1ab) at ../../gcc/gcc/genconstants.c:66
#6  0x00002338 in _start ()
#7  0x00002168 in start ()
------

The rs6000.md file seems correct since I can generate a  tmp-constants.h
with the stage1/genconstants binary.

Any ideas?

Thanks
Andreas


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]