Re: Failure building current snapshot [Cygwin]
Il 22/04/2013 15.13, Angelo Graziosi ha scritto: Il 22/04/2013 15.03, Dave Korn ha scritto: On 22/04/2013 13:51, Angelo Graziosi wrote: Il 16/04/2013 10.10, Dave Korn ha scritto: This is now http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56975 From comment 5 and 9 something should be fixed but with current snapshot, 4.9-20130421, it seems that the build fails in the same way: Nothing's been checked in yet. Tests look good though, so we should be able to proceed soon. Ah, sorry for the noise then.. Just for the record, applying the patch in comment #8 works just fine and snapshot 4.9-20130421 builds... Thanks! Ciao, Angelo.
Re: Failure building current snapshot [Cygwin]
Il 16/04/2013 10.10, Dave Korn ha scritto: On 15/04/2013 15:50, Angelo Graziosi wrote: The current snapshot [*] fails to build on Cygwin as follow: /work/gcc-4.9-20130414/libgcc/config/i386/cygming-crtbegin.c:120:1: error: unrecognizable insn: } ^ (insn 15 14 16 5 (set (reg:SI 63) (symbol_ref:SI (GetModuleHandleA@4) [flags 0x441] function_decl 0x7f988e00 GetModuleHandleA)) /work/gcc-4.9-20130414/libgcc/config/i386/cygming-crtbegin.c:109 -1 (nil)) /work/gcc-4.9-20130414/libgcc/config/i386/cygming-crtbegin.c:120:1: internal compiler error: in extract_insn, at recog.c:2150 /work/gcc-4.9-20130414/libgcc/config/i386/cygming-crtbegin.c:120:1: internal compiler error: Aborted xgcc: internal compiler error: Aborted (program cc1) Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for instructions. This is now http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56975 From comment 5 and 9 something should be fixed but with current snapshot, 4.9-20130421, it seems that the build fails in the same way: [...] if test -z $objects; then \ echo 'int __libgcc_eh_dummy;' eh_dummy.c;\ /work/gcc-4.9-20130421/Work/./gcc/xgcc -B/work/gcc-4.9-20130421/Work/./gcc/ -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-g -O2 -O2 -I/work/gcc-4.9-20130421/libgcc/../winsup/w32api/include -I/work/gcc-4.9-20130421/libgcc/../winsup/include -I/work/gcc-4.9-20130421/libgcc/../winsup/cygwin/include -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include-g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -I. -I. -I../.././gcc -I/work/gcc-4.9-20130421/libgcc -I/work/gcc-4.9-20130421/libgcc/. -I/work/gcc-4.9-20130421/libgcc/../gcc -I/work/gcc-4.9-20130421/libgcc/../include -I/work/gcc-4.9-20130421/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_EMUTLS -c eh_dummy.c \ -o eh_dummy.o; \ objects=eh_dummy.o; \ fi; \ ar rc libgcc.a $objects ranlib libgcc.a /work/gcc-4.9-20130421/libgcc/config/i386/cygming-crtbegin.c: In function ‘__gcc_register_frame’: /work/gcc-4.9-20130421/libgcc/config/i386/cygming-crtbegin.c:106:19: warning: array subscript is above array bounds [-Warray-bounds] if (__JCR_LIST__[0]) ^ /work/gcc-4.9-20130421/libgcc/config/i386/cygming-crtbegin.c:120:1: error: unrecognizable insn: } ^ (insn 15 14 16 5 (set (reg:SI 63) (symbol_ref:SI (GetModuleHandleA@4) [flags 0x441] function_decl 0x7f988e00 GetModuleHandleA)) /work/gcc-4.9-20130421/libgcc/config/i386/cygming-crtbegin.c:109 -1 (nil)) /work/gcc-4.9-20130421/libgcc/config/i386/cygming-crtbegin.c:120:1: internal compiler error: in extract_insn, at recog.c:2150 /work/gcc-4.9-20130421/libgcc/config/i386/cygming-crtbegin.c:120:1: internal compiler error: Aborted xgcc: internal compiler error: Segmentation fault (program cc1) Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for instructions. /work/gcc-4.9-20130421/libgcc/config/i386/t-cygming:9: recipe for target `crtbegin.o' failed make[2]: *** [crtbegin.o] Error 4 make[2]: uscita dalla directory /work/gcc-4.9-20130421/Work/i686-pc-cygwin/libgcc Makefile:10678: recipe for target `all-target-libgcc' failed make[1]: *** [all-target-libgcc] Error 2 make[1]: uscita dalla directory /work/gcc-4.9-20130421/Work Makefile:857: recipe for target `all' failed make: *** [all] Error 2 I have configured with: PATH_TO/configure --prefix=/usr/local/gfortran --program-suffix=-4.9 --enable-languages=c,c++,fortran --enable-checking=release --enable-threads=posix --enable-libgomp --with-arch=native --with-tune=native --with-fpmath=sse --disable-bootstrap --disable-libmudflap --disable-shared (cygwin-1.7.18) Ciao, Angelo.
Re: Failure building current snapshot [Cygwin]
On 22/04/2013 13:51, Angelo Graziosi wrote: Il 16/04/2013 10.10, Dave Korn ha scritto: This is now http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56975 From comment 5 and 9 something should be fixed but with current snapshot, 4.9-20130421, it seems that the build fails in the same way: Nothing's been checked in yet. Tests look good though, so we should be able to proceed soon. cheers, DaveK
Re: Failure building current snapshot [Cygwin]
Il 22/04/2013 15.03, Dave Korn ha scritto: On 22/04/2013 13:51, Angelo Graziosi wrote: Il 16/04/2013 10.10, Dave Korn ha scritto: This is now http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56975 From comment 5 and 9 something should be fixed but with current snapshot, 4.9-20130421, it seems that the build fails in the same way: Nothing's been checked in yet. Tests look good though, so we should be able to proceed soon. Ah, sorry for the noise then.. Ciao, Angelo.
Re: Failure building current snapshot [Cygwin]
On 15/04/2013 15:50, Angelo Graziosi wrote: The current snapshot [*] fails to build on Cygwin as follow: /work/gcc-4.9-20130414/libgcc/config/i386/cygming-crtbegin.c: In function ‘__gcc_register_frame’: /work/gcc-4.9-20130414/libgcc/config/i386/cygming-crtbegin.c:106:19: warning: array subscript is above array bounds [-Warray-bounds] if (__JCR_LIST__[0]) ^ /work/gcc-4.9-20130414/libgcc/config/i386/cygming-crtbegin.c:120:1: error: unrecognizable insn: } ^ (insn 15 14 16 5 (set (reg:SI 63) (symbol_ref:SI (GetModuleHandleA@4) [flags 0x441] function_decl 0x7f988e00 GetModuleHandleA)) /work/gcc-4.9-20130414/libgcc/config/i386/cygming-crtbegin.c:109 -1 (nil)) /work/gcc-4.9-20130414/libgcc/config/i386/cygming-crtbegin.c:120:1: internal compiler error: in extract_insn, at recog.c:2150 /work/gcc-4.9-20130414/libgcc/config/i386/cygming-crtbegin.c:120:1: internal compiler error: Aborted xgcc: internal compiler error: Aborted (program cc1) Please submit a full bug report, with preprocessed source if appropriate. Had a report similar to this offlist last week, suggested it was fallout from Kai's 64-bit patches. Trying to repro now, please file a PR and CC me and Kai. cheers, DaveK
Re: Failure building current snapshot [Cygwin]
On 16/04/2013 07:05, Dave Korn wrote: On 15/04/2013 15:50, Angelo Graziosi wrote: /work/gcc-4.9-20130414/libgcc/config/i386/cygming-crtbegin.c:120:1: error: unrecognizable insn: } ^ (insn 15 14 16 5 (set (reg:SI 63) (symbol_ref:SI (GetModuleHandleA@4) [flags 0x441] function_decl 0x7f988e00 GetModuleHandleA)) ix86_legitimate_address_p fails on (symbol_ref:SI (GetModuleHandleA@4) [flags 0x441] function_decl 0x7fb9b600 GetModuleHandleA). I suspect that isn't helpful. cheers, DaveK
Re: Failure building current snapshot [Cygwin]
On 16/04/2013 07:55, Dave Korn wrote: On 16/04/2013 07:05, Dave Korn wrote: On 15/04/2013 15:50, Angelo Graziosi wrote: /work/gcc-4.9-20130414/libgcc/config/i386/cygming-crtbegin.c:120:1: error: unrecognizable insn: } ^ (insn 15 14 16 5 (set (reg:SI 63) (symbol_ref:SI (GetModuleHandleA@4) [flags 0x441] function_decl 0x7f988e00 GetModuleHandleA)) ix86_legitimate_address_p fails on (symbol_ref:SI (GetModuleHandleA@4) [flags 0x441] function_decl 0x7fb9b600 GetModuleHandleA). I suspect that isn't helpful. Oh no wait; that makes sense because it's a dllimport symbol, so not constant. Forget that theory. cheers, DaveK
Re: Failure building current snapshot [Cygwin]
On 15/04/2013 15:50, Angelo Graziosi wrote: The current snapshot [*] fails to build on Cygwin as follow: /work/gcc-4.9-20130414/libgcc/config/i386/cygming-crtbegin.c:120:1: error: unrecognizable insn: } ^ (insn 15 14 16 5 (set (reg:SI 63) (symbol_ref:SI (GetModuleHandleA@4) [flags 0x441] function_decl 0x7f988e00 GetModuleHandleA)) /work/gcc-4.9-20130414/libgcc/config/i386/cygming-crtbegin.c:109 -1 (nil)) /work/gcc-4.9-20130414/libgcc/config/i386/cygming-crtbegin.c:120:1: internal compiler error: in extract_insn, at recog.c:2150 /work/gcc-4.9-20130414/libgcc/config/i386/cygming-crtbegin.c:120:1: internal compiler error: Aborted xgcc: internal compiler error: Aborted (program cc1) Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for instructions. This is now http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56975 cheers, DaveK
Failure building current snapshot [Cygwin]
The current snapshot [*] fails to build on Cygwin as follow: [...] /work/gcc-4.9-20130414/Work/./gcc/xgcc -B/work/gcc-4.9-20130414/Work/./gcc/ -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-g -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I../.././gcc -I/work/gcc-4.9-20130414/libgcc -I/work/gcc-4.9-20130414/libgcc/. -I/work/gcc-4.9-20130414/libgcc/../gcc -I/work/gcc-4.9-20130414/libgcc/../include -I/work/gcc-4.9-20130414/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -g0 -finhibit-size-directive -fno-inline -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize -fno-stack-protector -I. -I. -I../.././gcc -I/work/gcc-4.9-20130414/libgcc -I/work/gcc-4.9-20130414/libgcc/. -I/work/gcc-4.9-20130414/libgcc/../gcc -I/work/gcc-4.9-20130414/libgcc/../include -I/work/gcc-4.9-20130414/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -o crtbegin.o -MT crtbegin.o -MD -MP -MF crtbegin.dep -fno-omit-frame-pointer -c /work/gcc-4.9-20130414/libgcc/config/i386/cygming-crtbegin.c /work/gcc-4.9-20130414/Work/./gcc/xgcc -B/work/gcc-4.9-20130414/Work/./gcc/ -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-g -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I../.././gcc -I/work/gcc-4.9-20130414/libgcc -I/work/gcc-4.9-20130414/libgcc/. -I/work/gcc-4.9-20130414/libgcc/../gcc -I/work/gcc-4.9-20130414/libgcc/../include -I/work/gcc-4.9-20130414/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -g0 -finhibit-size-directive -fno-inline -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize -fno-stack-protector -I. -I. -I../.././gcc -I/work/gcc-4.9-20130414/libgcc -I/work/gcc-4.9-20130414/libgcc/. -I/work/gcc-4.9-20130414/libgcc/../gcc -I/work/gcc-4.9-20130414/libgcc/../include -I/work/gcc-4.9-20130414/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -o crtend.o -MT crtend.o -MD -MP -MF crtend.dep -fno-omit-frame-pointer -Wno-error -c /work/gcc-4.9-20130414/libgcc/config/i386/cygming-crtend.c /work/gcc-4.9-20130414/Work/./gcc/xgcc -B/work/gcc-4.9-20130414/Work/./gcc/ -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-g -O2 -O2 -I/work/gcc-4.9-20130414/libgcc/../winsup/w32api/include -I/work/gcc-4.9-20130414/libgcc/../winsup/include -I/work/gcc-4.9-20130414/libgcc/../winsup/cygwin/include -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include-g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -I. -I. -I../.././gcc -I/work/gcc-4.9-20130414/libgcc -I/work/gcc-4.9-20130414/libgcc/. -I/work/gcc-4.9-20130414/libgcc/../gcc -I/work/gcc-4.9-20130414/libgcc/../include -I/work/gcc-4.9-20130414/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_EMUTLS -o crtfastmath.o -MT crtfastmath.o -MD -MP -MF crtfastmath.dep -mfxsr -msse -c /work/gcc-4.9-20130414/libgcc/config/i386/crtfastmath.c echo _chkstk.vis echo _chkstk_ms.vis rm -f libgcov.a /work/gcc-4.9-20130414/libgcc/config/i386/cygming-crtend.c:67:1: warning: constructor priorities from 0 to 100 are reserved for the implementation [enabled by default] static void register_frame_ctor (void) __attribute__ ((constructor (0))); ^ /work/gcc-4.9-20130414/libgcc/config/i386/cygming-crtend.c:82:1: warning: destructor priorities from 0 to 100 are reserved for the implementation [enabled by default] static void deregister_frame_dtor (void) __attribute__ ((destructor (0))); ^ objects=_gcov.o _gcov_merge_add.o _gcov_merge_single.o _gcov_merge_delta.o _gcov_fork.o _gcov_execl.o _gcov_execlp.o _gcov_execle.o _gcov_execv.o _gcov_execvp.o _gcov_execve.o _gcov_reset.o _gcov_dump.o _gcov_interval_profiler.o _gcov_pow2_profiler.o _gcov_one_value_profiler.o _gcov_indirect_call_profiler.o _gcov_average_profiler.o _gcov_ior_profiler.o _gcov_merge_ior.o; \ if test -z $objects; then \ echo 'int __libgcc_eh_dummy;' eh_dummy.c;\ /work/gcc-4.9-20130414/Work/./gcc/xgcc -B/work/gcc-4.9-20130414/Work/./gcc/ -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-g -O2 -O2