Could you try without __threads? This feature does not work well on many platforms and in practice it does not bring any performance gain (GCC's implementation is not that fast, at least for ECL's environment type)<br>
<br>
<div class="gmail_quote">On Fri, Dec 31, 2010 at 11:56 AM, Marko Kocić <span dir="ltr"><<a href="mailto:marko.kocic@gmail.com">marko.kocic@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi,<br>Latest git fails to buld on Win7 with 32bit mingw32 for me:<br><br>My configiguration is:<br>./configure --prefix=c:/opt/ecl --enable-threads --with-__thread<br>
--enable-unicode --with-system-gmp<br>--with-gmp-prefix="c:/msys/1.0/local" --enable-boehm=system<br><br>And the build error is:<br><br>;;; Invoking external command:<br><br>;;; gcc -o c:/development/cvstree/ecl/build/cmp.fas<br>
-Lc:/development/cvstree/ecl/build<br>c:/development/cvstree/ecl/build/e3E0C.o<br>c:/development/cvstree/ecl/build/cmp/cmppackage.o<br>c:/development/cvstree/ecl/build/cmp/cmptypes.o<br>c:/development/cvstree/ecl/build/cmp/cmpglobals.o<br>
c:/development/cvstree/ecl/build/cmp/cmpdefs.o<br>c:/development/cvstree/ecl/build/cmp/cmpmac.o<br>c:/development/cvstree/ecl/build/cmp/cmpform.o<br>c:/development/cvstree/ecl/build/cmp/cmptables.o<br>c:/development/cvstree/ecl/build/cmp/cmpinline.o<br>
c:/development/cvstree/ecl/build/cmp/cmputil.o<br>c:/development/cvstree/ecl/build/cmp/cmptype-arith.o<br>c:/development/cvstree/ecl/build/cmp/cmptype-prop.o<br>c:/development/cvstree/ecl/build/cmp/cmptype.o<br>c:/development/cvstree/ecl/build/cmp/cmpc-wt.o<br>
c:/development/cvstree/ecl/build/cmp/cmpc-inliner.o<br>c:/development/cvstree/ecl/build/cmp/cmpbind.o<br>c:/development/cvstree/ecl/build/cmp/cmpblock.o<br>c:/development/cvstree/ecl/build/cmp/cmpcall.o<br>c:/development/cvstree/ecl/build/cmp/cmpcatch.o<br>
c:/development/cvstree/ecl/build/cmp/cmpenv-api.o<br>c:/development/cvstree/ecl/build/cmp/cmpenv-fun.o<br>c:/development/cvstree/ecl/build/cmp/cmpenv-declare.o<br>c:/development/cvstree/ecl/build/cmp/cmpenv-proclaim.o<br>
c:/development/cvstree/ecl/build/cmp/cmpenv-declaim.o<br>c:/development/cvstree/ecl/build/cmp/cmppolicy.o<br>c:/development/cvstree/ecl/build/cmp/cmpeval.o<br>c:/development/cvstree/ecl/build/cmp/cmpexit.o<br>c:/development/cvstree/ecl/build/cmp/cmpflet.o<br>
c:/development/cvstree/ecl/build/cmp/cmpfun.o<br>c:/development/cvstree/ecl/build/cmp/cmpif.o<br>c:/development/cvstree/ecl/build/cmp/cmplam.o<br>c:/development/cvstree/ecl/build/cmp/cmplet.o<br>c:/development/cvstree/ecl/build/cmp/cmploc.o<br>
c:/development/cvstree/ecl/build/cmp/cmpmap.o<br>c:/development/cvstree/ecl/build/cmp/cmpstack.o<br>c:/development/cvstree/ecl/build/cmp/cmpmulti.o<br>c:/development/cvstree/ecl/build/cmp/cmpspecial.o<br>c:/development/cvstree/ecl/build/cmp/cmptag.o<br>
c:/development/cvstree/ecl/build/cmp/cmptop.o<br>c:/development/cvstree/ecl/build/cmp/cmpvar.o<br>c:/development/cvstree/ecl/build/cmp/cmpwt.o<br>c:/development/cvstree/ecl/build/cmp/cmpffi.o<br>c:/development/cvstree/ecl/build/cmp/cmpcbk.o<br>
c:/development/cvstree/ecl/build/cmp/cmpct.o<br>c:/development/cvstree/ecl/build/cmp/cmpnum.o<br>c:/development/cvstree/ecl/build/cmp/cmpname.o<br>c:/development/cvstree/ecl/build/cmp/cmpopt.o<br>c:/development/cvstree/ecl/build/cmp/cmpopt-bits.o<br>
c:/development/cvstree/ecl/build/cmp/cmpopt-constant.o<br>c:/development/cvstree/ecl/build/cmp/cmpopt-cons.o<br>c:/development/cvstree/ecl/build/cmp/cmpopt-sequence.o<br>c:/development/cvstree/ecl/build/cmp/cmpopt-type.o<br>
c:/development/cvstree/ecl/build/cmp/cmpprop.o<br>c:/development/cvstree/ecl/build/cmp/cmpclos.o<br>c:/development/cvstree/ecl/build/cmp/cmpstructures.o<br>c:/development/cvstree/ecl/build/cmp/cmparray.o<br>c:/development/cvstree/ecl/build/cmp/cmpos-run.o<br>
c:/development/cvstree/ecl/build/cmp/cmpmain.o<br>c:/development/cvstree/ecl/build/cmp/proclamations.o<br>c:/development/cvstree/ecl/build/cmp/sysfun.o -shared<br>-Wl,--export-all-symbols -Lc:/msys/1.0/local/lib ecl.dll -lm -lws2_32<br>
-lgmp -lgc c:/development/cvstree/ecl/build/cmp/cmppackage.o: In<br>function `eclnNqhv7a7_QbY9Rfz':<br>c:/development/cvstree/ecl/build/cmp/cmppackage.c:12: undefined<br>reference to `__emutls_v.cl_env_p'<br>c:/development/cvstree/ecl/build/cmp/cmptypes.o: In function `LC2object':<br>
c:/development/cvstree/ecl/build/cmp/cmptypes.c:45: undefined<br>reference to `__emutls_v.cl_env_p'<br>c:/development/cvstree/ecl/build/cmp/cmptypes.o: In function `L10make_vv':<br>c:/development/cvstree/ecl/build/cmp/cmptypes.c:441: undefined<br>
reference to `__emutls_v.cl_env_p'<br>c:/development/cvstree/ecl/build/cmp/cmptypes.o: In function<br>`L8make_inline_info':<br>c:/development/cvstree/ecl/build/cmp/cmptypes.c:358: undefined<br>reference to `__emutls_v.cl_env_p'<br>
c:/development/cvstree/ecl/build/cmp/cmptypes.o: In function `L7make_info':<br>c:/development/cvstree/ecl/build/cmp/cmptypes.c:331: undefined<br>reference to `__emutls_v.cl_env_p'<br>c:/development/cvstree/ecl/build/cmp/cmptypes.o:c:/development/cvstree/ecl/build/cmp/cmptypes.c:388:<br>
more undefined references to `__emutls_v.cl_env_p' follow<br>collect2: ld returned 1 exit status<br><br><br>Error code 1 when executing<br><br>(RUN-PROGRAM "gcc" ("-o" "c:/development/cvstree/ecl/build/cmp.fas"<br>
"-Lc:/development/cvstree/ecl/build"<br>"c:/development/cvstree/ecl/build/e3E0C.o"<br>"c:/development/cvstree/ecl/build/cmp/cmppackage.o"<br>"c:/development/cvstree/ecl/build/cmp/cmptypes.o"<br>
"c:/development/cvstree/ecl/build/cmp/cmpglobals.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpdefs.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpmac.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpform.o"<br>
"c:/development/cvstree/ecl/build/cmp/cmptables.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpinline.o"<br>"c:/development/cvstree/ecl/build/cmp/cmputil.o"<br>"c:/development/cvstree/ecl/build/cmp/cmptype-arith.o"<br>
"c:/development/cvstree/ecl/build/cmp/cmptype-prop.o"<br>"c:/development/cvstree/ecl/build/cmp/cmptype.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpc-wt.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpc-inliner.o"<br>
"c:/development/cvstree/ecl/build/cmp/cmpbind.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpblock.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpcall.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpcatch.o"<br>
"c:/development/cvstree/ecl/build/cmp/cmpenv-api.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpenv-fun.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpenv-declare.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpenv-proclaim.o"<br>
"c:/development/cvstree/ecl/build/cmp/cmpenv-declaim.o"<br>"c:/development/cvstree/ecl/build/cmp/cmppolicy.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpeval.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpexit.o"<br>
"c:/development/cvstree/ecl/build/cmp/cmpflet.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpfun.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpif.o"<br>"c:/development/cvstree/ecl/build/cmp/cmplam.o"<br>
"c:/development/cvstree/ecl/build/cmp/cmplet.o"<br>"c:/development/cvstree/ecl/build/cmp/cmploc.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpmap.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpstack.o"<br>
"c:/development/cvstree/ecl/build/cmp/cmpmulti.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpspecial.o"<br>"c:/development/cvstree/ecl/build/cmp/cmptag.o"<br>"c:/development/cvstree/ecl/build/cmp/cmptop.o"<br>
"c:/development/cvstree/ecl/build/cmp/cmpvar.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpwt.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpffi.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpcbk.o"<br>
"c:/development/cvstree/ecl/build/cmp/cmpct.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpnum.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpname.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpopt.o"<br>
"c:/development/cvstree/ecl/build/cmp/cmpopt-bits.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpopt-constant.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpopt-cons.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpopt-sequence.o"<br>
"c:/development/cvstree/ecl/build/cmp/cmpopt-type.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpprop.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpclos.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpstructures.o"<br>
"c:/development/cvstree/ecl/build/cmp/cmparray.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpos-run.o"<br>"c:/development/cvstree/ecl/build/cmp/cmpmain.o"<br>"c:/development/cvstree/ecl/build/cmp/proclamations.o"<br>
"c:/development/cvstree/ecl/build/cmp/sysfun.o" "-shared"<br>"-Wl,--export-all-symbols" "-Lc:/msys/1.0/local/lib" "ecl.dll" "-lm"<br>"-lws2_32" "-lgmp" "-lgc"))<br>
<br>Available restarts:<br>1. (CONTINUE) Continues anyway.<br>Top level in: #<process TOP-LEVEL>.<br>><br><br>Regards,<br>Marko Kocić<br><br>------------------------------------------------------------------------------<br>
Learn how Oracle Real Application Clusters (RAC) One Node allows customers<br>to consolidate database storage, standardize their database environment, and,<br>should the need arise, upgrade to a full multi-node Oracle RAC database<br>
without downtime or disruption<br><a href="http://p.sf.net/sfu/oracle-sfdevnl" target="_blank">http://p.sf.net/sfu/oracle-sfdevnl</a><br>_______________________________________________<br>Ecls-list mailing list<br><a href="mailto:Ecls-list@lists.sourceforge.net">Ecls-list@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/ecls-list" target="_blank">https://lists.sourceforge.net/lists/listinfo/ecls-list</a><br></blockquote></div><br><br clear="all"><br>-- <br>Instituto de Física Fundamental, CSIC<br>
c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com/" target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>