[pulseaudio-discuss] Error Building with ORC

David Henningsson david.henningsson at canonical.com
Fri Dec 5 06:52:18 PST 2014



On 2014-12-05 15:44, Michael DePaulo wrote:
> Hi David,
>
> That is indeed the problem. No matter what version of OpenSUSE I use
> for the build (I just upgraded from 12.3 to 13.2), mingw32 liborc is
> still at version 0.4.16:
> https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-orc
>
> I will look into packaging the latest version of ORC for mingw32, like
> I did with json-c.

The weird thing is here that orc_program_new_from_static_bytecode is not 
present in the PulseAudio source code, if we did, we should just 
build-depend on 0.4.17. So it looks like this is an ORC problem, if the 
ORC compiler for 0.4.16 emits a symbol that is not present in 0.4.16...?

>
> Thanks,
> -Mike
>
> On Fri, Dec 5, 2014 at 7:32 AM, David Henningsson
> <david.henningsson at canonical.com> wrote:
>>
>>
>> On 2014-12-03 15:50, Michael DePaulo wrote:
>>>
>>> Since some point after 5.0 was released, I have been unable to build
>>> PulseAudio with ORC (The Oil Runtime Compiler).
>>>
>>> I can work around this issue easily by disabling ORC (passing
>>> --disable-orc to mingw32-configure), but I thought I'd report this
>>> issue.
>>>
>>> Yes, I am building on mingw32. I am using the Opensuse Build Service.
>>>
>>> Here is a failing build log:
>>> http://pastebin.com/qZjqk6qa
>>>
>>> And here is the RPM spec:
>>> http://pastebin.com/pntfZ0ES
>>>
>>> These appear to be the relevant log lines:
>>> [   61s] pulsecore/.libs/libpulsecore_5.99_la-svolume-orc-gen.o: In
>>> function `pa_volume_s16ne_orc_1ch':
>>> [   61s]
>>> /home/abuild/rpmbuild/BUILD/pulseaudio/src/pulsecore/svolume-orc-gen.c:295:
>>> undefined reference to `orc_program_new_from_static_bytecode'
>>> [   61s] pulsecore/.libs/libpulsecore_5.99_la-svolume-orc-gen.o: In
>>> function `pa_volume_s16ne_orc_2ch':
>>> [   61s]
>>> /home/abuild/rpmbuild/BUILD/pulseaudio/src/pulsecore/svolume-orc-gen.c:521:
>>> undefined reference to `orc_program_new_from_static_bytecode'
>>
>>
>> Thanks for this report. For reference, which version of liborc are you
>> using?
>>
>> It looks like orc_program_new_from_static_bytecode was added in 0.4.17 [1]
>> and I also found a commit [2] relating to making sure one does not link with
>> an older library that was added post 0.4.17. Could this be related to your
>> issue?
>>
>> --
>> David Henningsson, Canonical Ltd.
>> https://launchpad.net/~diwic
>>
>> [1] https://github.com/ValveSoftware/steam-for-linux/issues/2924
>> [2]
>> http://code.entropywave.com/git?p=orc.git;a=commit;h=b6dfb798ba8ce4ef5724ee297ed3a6e691b15aa0
>> _______________________________________________
>> pulseaudio-discuss mailing list
>> pulseaudio-discuss at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>

-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic


More information about the pulseaudio-discuss mailing list