[Ecls-list] ECL miscompiled in mingw32 and a patch to fix it

Xiaofeng Yang n.akr.akiiya at gmail.com
Sun Jan 22 14:30:22 UTC 2012

I checkout the newest ECL from GIT today. And it miscompiled in MinGW(gcc
4.5.0). I saw it failed with a compiled-function BUILDER was called with
odd keyword parameters.
I fixed it and it compiled after that.

$ git diff src
diff --git a/src/compile.lsp.in b/src/compile.lsp.in
index b40b464..a62dbe4 100755
--- a/src/compile.lsp.in
+++ b/src/compile.lsp.in
@@ -372,7 +372,8 @@
  #-(or cross stage1 msvc) "ecl2"
  :epilogue-code '@ECL_INIT_FORM@
  :lisp-files *module-symbols*
- :ld-flags #-msvc '("-L./") #+windows '("ecl.res" "/F 10485760"))
+ :ld-flags
+  (concatenate 'list #-msvc '("-L./") #+windows '("ecl.res" #+msvc "/F

 (with-open-file (modules-list #P"build:MODULES" :direction :output
                              :if-exists :supersede

     Best regards,
Xiaofeng Yang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20120122/72ef3c85/attachment.html>

More information about the ecl-devel mailing list