[pulseaudio-discuss] Error Building with ORC

Michael DePaulo mikedep333 at gmail.com
Fri Dec 5 07:17:41 PST 2014


It sounds like the cause is the current configuration I am using to build:
1. The native OpenSUSE 13.2 ORC compiler (package: orc ) at version 4.22,
2. The mingw32 headers (package: mingw32-liborc-devel ) at version 4.16

Although, it looks like the ORC compiler binary (orcc.exe) is actually
included in mingw32-liborc-devel .

I'll look into this later today.

-Mike

On Fri, Dec 5, 2014 at 9:52 AM, David Henningsson
<david.henningsson at canonical.com> wrote:
>
>
> 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
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss


More information about the pulseaudio-discuss mailing list