---------- Forwarded message ----------
From: Romain Michon <rmic...@ccrma.stanford.edu>
Date: Tue, Mar 4, 2014 at 10:37 AM
Subject: Re: [Faudiostream-devel] Updated lv2/lv2synth architectures
To: Romain Michon <rmnmic...@gmail.com>
Cc: Albert Graef <aggr...@gmail.com>, faudiostream-users <
faudiostream-us...@lists.sourceforge.net>, "
faudiostream-devel@lists.sourceforge.net" <
faudiostream-devel@lists.sourceforge.net>


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 <rmic...@ccrma.stanford.edu>wrote:

>
>
>
> On Mon, Feb 24, 2014 at 11:55 PM, Albert Graef <aggr...@gmail.com> wrote:
>
>> On Tue, Feb 25, 2014 at 7:23 AM, Romain Michon <rmnmic...@gmail.com>
>> 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-8917http://ccrma.stanford.edu/~rmichon
------------------------------------------------------------------------------
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-devel mailing list
Faudiostream-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-devel

Reply via email to