On 03/08/2014, at 10:16 PM, Jeffrey Beu wrote:

> Thanks John.
> 
> I am not adverse to threads or async, just unsure to what extent android is 
> compatible with typical PC Linux distros. I guess I will find out.
> 
> Thanks again for your great response. I gave Felix a go but flx_run is 
> crashing with invalid pointers inside the gc.

Do you mean on Linux? 

There is a known bug in the build system. 

The Judy code will not build correctly with gcc 4.8 or higher
without the switch

        -fno-aggressive-loop-optimization

Felix detects this by trying to run

        gcc-4.8

in the configuration phase. Here's the code in lpsrc/flx_maker.pak


@select(tangler('host/config/toolchain.fpc'))
@if pyconfig.MACOSX:
    tangle("toolchain: toolchain_clang_osx")
 elif pyconfig.HAVE_MSVC:
    tangle("toolchain: toolchain_msvc_win32")
 else:
    result = os.system("gcc-4.8 --version")
    if result == 0:
      tangle("toolchain: toolchain_gcc48_linux")
    else:
      tangle("toolchain: toolchain_gcc_linux")



 If you have any other name for it, such as
gcc, gcc-4.9, or whatever the check fails. I should fix this.

The crash in the GC is almost certainly due to this problem. Judy library
definitely crashes under gcc without the switch.

A temporary fix: add a hard link into your system named gcc-4.8
to your gcc. After the build you can remove it.

--
john skaller
skal...@users.sourceforge.net
http://felix-lang.org




------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to