[Ecls-list] Mingw32 build error

Marko Kocić marko.kocic at gmail.com
Tue Nov 29 14:30:24 UTC 2011


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 [0xffffffe8])) [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




More information about the ecl-devel mailing list