[vlc-devel] Regarding building of VLC using clang/LLVM on Linux/Ubuntu

Rémi Denis-Courmont remi at remlab.net
Sun Mar 25 15:52:25 CEST 2018


Le 25 mars 2018 20:42:39 GMT+08:00, Raghavan Santhanam <raghavanil4m at gmail.com> a écrit :
>What is BN, that you mentioned in your first reply? It looks like
>there's
>already an open VLC bug for this :
>https://trac.videolan.org/vlc/ticket/18329.
>Yes, I understood that the issues was with something else - same case
>with
>GCC. I am trying to resolve this issue in general.
>
>On Sun, Mar 25, 2018 at 5:20 AM, Rémi Denis-Courmont <remi at remlab.net>
>wrote:
>
>> Le 25 mars 2018 20:16:54 GMT+08:00, Raghavan Santhanam <
>> raghavanil4m at gmail.com> a écrit :
>> >Hello,
>> >
>> >OK, I am trying to build VLC using clang/LLVM on Ubuntu with
>necessary
>> >environment variables for library
>> >dependencies, etc. But, the make command is failing with a segfault
>> >while
>> >it reaches "vlc-cache-gen" specific
>> >command and that doesn't change even after updating Intel microcode,
>> >reboot, etc. So, wanted to know
>> >the status for Linux/Ubuntu. I saw some reports of clang/VLC
>> >compatibility.
>> >BTW, what is BN?!
>> >
>> >- Raghavan
>> >
>> >2018-03-25 4:35 GMT-07:00 Rémi Denis-Courmont <remi at remlab.net>:
>> >
>> >> Hi,
>> >>
>> >> VLC is built using clang on several platforms BN already. I can't
>> >comment
>> >> on your specific combination.
>> >> --
>> >> Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez
>> >excuser ma
>> >> brièveté.
>> >>
>>
>> That sounds like a bug in an underlying library with no relationship
>to
>> the compiler. Does it work any better with GCC?
>> --
>> Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez
>excuser ma
>> brièveté.
>>

It was a trivial case of fat fingers.

I believe the linked bug already answers your question. Since this is a problem with protobuf and triggered by Mir, there are no clean fixes within VLC.
-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.


More information about the vlc-devel mailing list