[Ecls-list] Mingw32 build error

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Sat Jan 1 12:29:31 UTC 2011


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)

On Fri, Dec 31, 2010 at 11:56 AM, Marko Kocić <marko.kocic at gmail.com> wrote:

> Hi,
> Latest git fails to buld on Win7 with 32bit mingw32 for me:
>
> My configiguration is:
> ./configure --prefix=c:/opt/ecl --enable-threads --with-__thread
> --enable-unicode --with-system-gmp
> --with-gmp-prefix="c:/msys/1.0/local" --enable-boehm=system
>
> And the build error is:
>
> ;;;   Invoking external command:
>
> ;;;   gcc -o c:/development/cvstree/ecl/build/cmp.fas
> -Lc:/development/cvstree/ecl/build
> c:/development/cvstree/ecl/build/e3E0C.o
> c:/development/cvstree/ecl/build/cmp/cmppackage.o
> c:/development/cvstree/ecl/build/cmp/cmptypes.o
> c:/development/cvstree/ecl/build/cmp/cmpglobals.o
> c:/development/cvstree/ecl/build/cmp/cmpdefs.o
> c:/development/cvstree/ecl/build/cmp/cmpmac.o
> c:/development/cvstree/ecl/build/cmp/cmpform.o
> c:/development/cvstree/ecl/build/cmp/cmptables.o
> c:/development/cvstree/ecl/build/cmp/cmpinline.o
> c:/development/cvstree/ecl/build/cmp/cmputil.o
> c:/development/cvstree/ecl/build/cmp/cmptype-arith.o
> c:/development/cvstree/ecl/build/cmp/cmptype-prop.o
> c:/development/cvstree/ecl/build/cmp/cmptype.o
> c:/development/cvstree/ecl/build/cmp/cmpc-wt.o
> c:/development/cvstree/ecl/build/cmp/cmpc-inliner.o
> c:/development/cvstree/ecl/build/cmp/cmpbind.o
> c:/development/cvstree/ecl/build/cmp/cmpblock.o
> c:/development/cvstree/ecl/build/cmp/cmpcall.o
> c:/development/cvstree/ecl/build/cmp/cmpcatch.o
> c:/development/cvstree/ecl/build/cmp/cmpenv-api.o
> c:/development/cvstree/ecl/build/cmp/cmpenv-fun.o
> c:/development/cvstree/ecl/build/cmp/cmpenv-declare.o
> c:/development/cvstree/ecl/build/cmp/cmpenv-proclaim.o
> c:/development/cvstree/ecl/build/cmp/cmpenv-declaim.o
> c:/development/cvstree/ecl/build/cmp/cmppolicy.o
> c:/development/cvstree/ecl/build/cmp/cmpeval.o
> c:/development/cvstree/ecl/build/cmp/cmpexit.o
> c:/development/cvstree/ecl/build/cmp/cmpflet.o
> c:/development/cvstree/ecl/build/cmp/cmpfun.o
> c:/development/cvstree/ecl/build/cmp/cmpif.o
> c:/development/cvstree/ecl/build/cmp/cmplam.o
> c:/development/cvstree/ecl/build/cmp/cmplet.o
> c:/development/cvstree/ecl/build/cmp/cmploc.o
> c:/development/cvstree/ecl/build/cmp/cmpmap.o
> c:/development/cvstree/ecl/build/cmp/cmpstack.o
> c:/development/cvstree/ecl/build/cmp/cmpmulti.o
> c:/development/cvstree/ecl/build/cmp/cmpspecial.o
> c:/development/cvstree/ecl/build/cmp/cmptag.o
> c:/development/cvstree/ecl/build/cmp/cmptop.o
> c:/development/cvstree/ecl/build/cmp/cmpvar.o
> c:/development/cvstree/ecl/build/cmp/cmpwt.o
> c:/development/cvstree/ecl/build/cmp/cmpffi.o
> c:/development/cvstree/ecl/build/cmp/cmpcbk.o
> c:/development/cvstree/ecl/build/cmp/cmpct.o
> c:/development/cvstree/ecl/build/cmp/cmpnum.o
> c:/development/cvstree/ecl/build/cmp/cmpname.o
> c:/development/cvstree/ecl/build/cmp/cmpopt.o
> c:/development/cvstree/ecl/build/cmp/cmpopt-bits.o
> c:/development/cvstree/ecl/build/cmp/cmpopt-constant.o
> c:/development/cvstree/ecl/build/cmp/cmpopt-cons.o
> c:/development/cvstree/ecl/build/cmp/cmpopt-sequence.o
> c:/development/cvstree/ecl/build/cmp/cmpopt-type.o
> c:/development/cvstree/ecl/build/cmp/cmpprop.o
> c:/development/cvstree/ecl/build/cmp/cmpclos.o
> c:/development/cvstree/ecl/build/cmp/cmpstructures.o
> c:/development/cvstree/ecl/build/cmp/cmparray.o
> c:/development/cvstree/ecl/build/cmp/cmpos-run.o
> c:/development/cvstree/ecl/build/cmp/cmpmain.o
> c:/development/cvstree/ecl/build/cmp/proclamations.o
> c:/development/cvstree/ecl/build/cmp/sysfun.o -shared
> -Wl,--export-all-symbols -Lc:/msys/1.0/local/lib ecl.dll -lm -lws2_32
> -lgmp -lgc c:/development/cvstree/ecl/build/cmp/cmppackage.o: In
> function `eclnNqhv7a7_QbY9Rfz':
> c:/development/cvstree/ecl/build/cmp/cmppackage.c:12: undefined
> reference to `__emutls_v.cl_env_p'
> c:/development/cvstree/ecl/build/cmp/cmptypes.o: In function `LC2object':
> c:/development/cvstree/ecl/build/cmp/cmptypes.c:45: undefined
> reference to `__emutls_v.cl_env_p'
> c:/development/cvstree/ecl/build/cmp/cmptypes.o: In function `L10make_vv':
> c:/development/cvstree/ecl/build/cmp/cmptypes.c:441: undefined
> reference to `__emutls_v.cl_env_p'
> c:/development/cvstree/ecl/build/cmp/cmptypes.o: In function
> `L8make_inline_info':
> c:/development/cvstree/ecl/build/cmp/cmptypes.c:358: undefined
> reference to `__emutls_v.cl_env_p'
> c:/development/cvstree/ecl/build/cmp/cmptypes.o: In function `L7make_info':
> c:/development/cvstree/ecl/build/cmp/cmptypes.c:331: undefined
> reference to `__emutls_v.cl_env_p'
>
> c:/development/cvstree/ecl/build/cmp/cmptypes.o:c:/development/cvstree/ecl/build/cmp/cmptypes.c:388:
> more undefined references to `__emutls_v.cl_env_p' follow
> collect2: ld returned 1 exit status
>
>
> Error code 1 when executing
>
> (RUN-PROGRAM "gcc" ("-o" "c:/development/cvstree/ecl/build/cmp.fas"
> "-Lc:/development/cvstree/ecl/build"
> "c:/development/cvstree/ecl/build/e3E0C.o"
> "c:/development/cvstree/ecl/build/cmp/cmppackage.o"
> "c:/development/cvstree/ecl/build/cmp/cmptypes.o"
> "c:/development/cvstree/ecl/build/cmp/cmpglobals.o"
> "c:/development/cvstree/ecl/build/cmp/cmpdefs.o"
> "c:/development/cvstree/ecl/build/cmp/cmpmac.o"
> "c:/development/cvstree/ecl/build/cmp/cmpform.o"
> "c:/development/cvstree/ecl/build/cmp/cmptables.o"
> "c:/development/cvstree/ecl/build/cmp/cmpinline.o"
> "c:/development/cvstree/ecl/build/cmp/cmputil.o"
> "c:/development/cvstree/ecl/build/cmp/cmptype-arith.o"
> "c:/development/cvstree/ecl/build/cmp/cmptype-prop.o"
> "c:/development/cvstree/ecl/build/cmp/cmptype.o"
> "c:/development/cvstree/ecl/build/cmp/cmpc-wt.o"
> "c:/development/cvstree/ecl/build/cmp/cmpc-inliner.o"
> "c:/development/cvstree/ecl/build/cmp/cmpbind.o"
> "c:/development/cvstree/ecl/build/cmp/cmpblock.o"
> "c:/development/cvstree/ecl/build/cmp/cmpcall.o"
> "c:/development/cvstree/ecl/build/cmp/cmpcatch.o"
> "c:/development/cvstree/ecl/build/cmp/cmpenv-api.o"
> "c:/development/cvstree/ecl/build/cmp/cmpenv-fun.o"
> "c:/development/cvstree/ecl/build/cmp/cmpenv-declare.o"
> "c:/development/cvstree/ecl/build/cmp/cmpenv-proclaim.o"
> "c:/development/cvstree/ecl/build/cmp/cmpenv-declaim.o"
> "c:/development/cvstree/ecl/build/cmp/cmppolicy.o"
> "c:/development/cvstree/ecl/build/cmp/cmpeval.o"
> "c:/development/cvstree/ecl/build/cmp/cmpexit.o"
> "c:/development/cvstree/ecl/build/cmp/cmpflet.o"
> "c:/development/cvstree/ecl/build/cmp/cmpfun.o"
> "c:/development/cvstree/ecl/build/cmp/cmpif.o"
> "c:/development/cvstree/ecl/build/cmp/cmplam.o"
> "c:/development/cvstree/ecl/build/cmp/cmplet.o"
> "c:/development/cvstree/ecl/build/cmp/cmploc.o"
> "c:/development/cvstree/ecl/build/cmp/cmpmap.o"
> "c:/development/cvstree/ecl/build/cmp/cmpstack.o"
> "c:/development/cvstree/ecl/build/cmp/cmpmulti.o"
> "c:/development/cvstree/ecl/build/cmp/cmpspecial.o"
> "c:/development/cvstree/ecl/build/cmp/cmptag.o"
> "c:/development/cvstree/ecl/build/cmp/cmptop.o"
> "c:/development/cvstree/ecl/build/cmp/cmpvar.o"
> "c:/development/cvstree/ecl/build/cmp/cmpwt.o"
> "c:/development/cvstree/ecl/build/cmp/cmpffi.o"
> "c:/development/cvstree/ecl/build/cmp/cmpcbk.o"
> "c:/development/cvstree/ecl/build/cmp/cmpct.o"
> "c:/development/cvstree/ecl/build/cmp/cmpnum.o"
> "c:/development/cvstree/ecl/build/cmp/cmpname.o"
> "c:/development/cvstree/ecl/build/cmp/cmpopt.o"
> "c:/development/cvstree/ecl/build/cmp/cmpopt-bits.o"
> "c:/development/cvstree/ecl/build/cmp/cmpopt-constant.o"
> "c:/development/cvstree/ecl/build/cmp/cmpopt-cons.o"
> "c:/development/cvstree/ecl/build/cmp/cmpopt-sequence.o"
> "c:/development/cvstree/ecl/build/cmp/cmpopt-type.o"
> "c:/development/cvstree/ecl/build/cmp/cmpprop.o"
> "c:/development/cvstree/ecl/build/cmp/cmpclos.o"
> "c:/development/cvstree/ecl/build/cmp/cmpstructures.o"
> "c:/development/cvstree/ecl/build/cmp/cmparray.o"
> "c:/development/cvstree/ecl/build/cmp/cmpos-run.o"
> "c:/development/cvstree/ecl/build/cmp/cmpmain.o"
> "c:/development/cvstree/ecl/build/cmp/proclamations.o"
> "c:/development/cvstree/ecl/build/cmp/sysfun.o" "-shared"
> "-Wl,--export-all-symbols" "-Lc:/msys/1.0/local/lib" "ecl.dll" "-lm"
> "-lws2_32" "-lgmp" "-lgc"))
>
> Available restarts:
> 1. (CONTINUE) Continues anyway.
> Top level in: #<process TOP-LEVEL>.
> >
>
> Regards,
> Marko Kocić
>
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment,
> and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list
>



-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110101/356ea4c9/attachment.html>


More information about the ecl-devel mailing list