The current optimisation flags used are :
CXXFLAGS="-O3 -march=native -mfpmath=sse -msse -msse2 -msse3 -ffast-math -ftree-vectorize"

Albert, do you have the problem with other architectures, for example jack-gtk that uses the same flags ? I can try to change the flags to

    CXXFLAGS="-O3  -mfpmath=sse -msse -msse2 -ffast-math -ftree-vectorize"

to see if it helps...

Cheers

Yann

Le 04/03/2014 19:39, Romain Michon a écrit :


---------- Forwarded message ----------
From: *Romain Michon* <[email protected] 
<mailto:[email protected]>>
Date: Tue, Mar 4, 2014 at 10:37 AM
Subject: Re: [Faudiostream-devel] Updated lv2/lv2synth architectures
To: Romain Michon <[email protected] <mailto:[email protected]>>
Cc: Albert Graef <[email protected] <mailto:[email protected]>>, faudiostream-users <[email protected] <mailto:[email protected]>>, "[email protected] <mailto:[email protected]>" <[email protected] <mailto:[email protected]>>


Hi Albert,

Sorry for the late reply, I'm very busy these days...
I'm not really sure what's going on cause the generated Plug-Ins work on my laptop (Ubuntu 13.04, Intel). I realized the other day that the online compiler was not running faust2. I updated it last night so perhaps it solved your problem... Could you try again? Otherwise, Yann do you think that this problem could be due an optimization flag as Albert suggested?

Romain


On Mon, Mar 3, 2014 at 9:12 PM, Romain Michon <[email protected] <mailto:[email protected]>> wrote:




    On Mon, Feb 24, 2014 at 11:55 PM, Albert Graef <[email protected]
    <mailto:[email protected]>> wrote:

        On Tue, Feb 25, 2014 at 7:23 AM, Romain Michon <[email protected]
        <mailto:[email protected]>> wrote:
        > All right, I did a full update of the server with the most recent 
version of
        faust2...

        Thanks!

        > Everything seems to compile, bit I didn't have time to test the 
generated objects.

        They crash and burn. ;-)

        Just tried it with one of my own synths, a fairly simple one
        (https://bitbucket.org/agraef/faust-lv2/src/HEAD/synths/organ.dsp).
        The bundle returned by the online compiler looks ok, and the plugin
        loads, but it immediately dumps core when it runs (i.e., as soon as
        the compute() method gets invoked). Here's is what my own test host
        gives
        
(https://bitbucket.org/purelang/pure-lang/src/tip/pure-lilv/examples/synth.pure):

        Synth: organ
        0: 0xf0 65 16 66 18 64 0 127 0 65 247
        0: 0xb0 0 0 0
        0: 0xb0 32 0 0
        0: 0xc0 6 0 0
        0: 0xb0 7 100 0
        0: 0xb0 10 64 0
        0: 0x90 77 98 0
        Illegal instruction (core dumped)

        I get exactly the same error "Illegal instruction (core dumped)" in
        other LV2 hosts I tried (Qtractor, jalv). If I recompile the plugin
        from source myself and replace the .so in the bundle, it works ok. If
        I regenerate the entire bundle locally with faust2lv2synth, it also
        works fine. So this is clearly a problem with the binary (.so file)
        produced by the online compiler.

        I vaguely recall that we already had this issue some time ago. IIRC,
        the root cause was that the online compiler used some pretty
        aggressive optimization and/or code generation options which simply
        don't work on all x86_64 systems. Yann may know more about this, IIRC
        he fixed it back then. :)

        I have a fairly old AMD box here, so that might be the reason the
        binary dumps core on my system. But clearly the online compiler should
        use some conservative code generation options which are known to work
        on a wide range of hardware, even if that means that the plugin will
        run a little slower.

        Any ideas?




--
Romain Michon
(+1)(650)646-8917
http://ccrma.stanford.edu/~rmichon  <http://ccrma.stanford.edu/%7Ermichon>


------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk


_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to