[Ecls-list] Mingw32 build error

2011-11-29 Thread Marko Kocić
Hi, when building ecl head on mingw I get the following error.

;;; Emitting code for ELIMINATE-REFERENCES.
c:/development/cvstree/ecl/build/cmp/cmpform.c: In function
'L19c1form_unmodified_p':
c:/development/cvstree/ecl/build/cmp/cmpform.c:640:1: error:
unrecognizable insn:
(insn 99 98 100 7 (set (mem/v/f/c/i:SI (plus:SI (reg/f:SI 54 virtual-stack-vars)
(const_int -24 [0xffe8])) [0 value0+0 S4 A32])
(const:SI (plus:SI (symbol_ref:SI (cl_symbols) [flags 0x440]
var_decl 0459d3c0 cl_symbols)
(const_int 28 [0x1c]
c:/development/cvstree/ecl/build/cmp/cmpform.c:635 -1
 (nil))
c:/development/cvstree/ecl/build/cmp/cmpform.c:640:1: internal
compiler error: in extract_insn, at recog.c:2109
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.

Condition of type: SIMPLE-ERROR
Error code 1 when executing
(RUN-PROGRAM gcc (-I. -Ic:/development/cvstree/ecl/build
-Ic:/usr/local/include -Ic:/usr/local/lib/libffi-3.0.9
/include -D_THREAD_SAFE -Dmingw32
-Ic:/development/cvstree/ecl/src/c -w -c
c:/development/cvstree/ecl/build/
cmp/cmpform.c -o c:/development/cvstree/ecl/build/cmp/cmpform.o))
Available restarts:

1. (CONTINUE) Continues anyway.
2. (ABORT) ABORT

Top level in: #process TOP-LEVEL.
 :b

Backtrace:
   SI::TPL
   si::default-debugger
   c::handle-compiler-internal-error
   signal
   si:universal-error-handler
   c::safe-run-program
   c::compiler-cc
   lambda
   c::do-compilation-unit
   c::do-compilation-unit
   compile-file



Gcc is the latest one installed using mingw-get.

$ gcc -v
Using built-in specs.
COLLECT_GCC=C:\MinGW\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.6.1/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.6.1/configure
--enable-languages=c,c++,fortran,objc,obj-c++
--disable-sjlj-exceptions --with-d
warf2 --enable-shared --enable-libgomp --disable-win32-registry
--enable-libstdcxx-debug --enable-version-specific-runti
me-libs --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.6.1 (GCC)

Regards,
Marko

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list


Re: [Ecls-list] Mingw32 build error

2011-11-29 Thread Juan Jose Garcia-Ripoll
On Tue, Nov 29, 2011 at 3:30 PM, Marko Kocić marko.ko...@gmail.com wrote:

 Hi, when building ecl head on mingw I get the following error.

 ;;; Emitting code for ELIMINATE-REFERENCES.
 c:/development/cvstree/ecl/build/cmp/cmpform.c: In function
 'L19c1form_unmodified_p':
 c:/development/cvstree/ecl/build/cmp/cmpform.c:640:1: error:
 unrecognizable insn:
 (insn 99 98 100 7 (set (mem/v/f/c/i:SI (plus:SI (reg/f:SI 54
 virtual-stack-vars)
(const_int -24 [0xffe8])) [0 value0+0 S4 A32])
(const:SI (plus:SI (symbol_ref:SI (cl_symbols) [flags 0x440]
 var_decl 0459d3c0 cl_symbols)
(const_int 28 [0x1c]
 c:/development/cvstree/ecl/build/cmp/cmpform.c:635 -1
 (nil))
 c:/development/cvstree/ecl/build/cmp/cmpform.c:640:1: internal
 compiler error: in extract_insn, at recog.c:2109
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See http://gcc.gnu.org/bugs.html for instructions.


I verified this problem. Indeed it happens with the most recent mingw and
it seems due to the gcc-4.6.1 compiler. The error message relates the GCC
compiler, not ECL, and I most definitely cannot identify the offending
code: it marks the ending of a very innocent looking function

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list