<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>I ran into a similar issue. Basically when using protobuf from
      contribs, if it doesn't match exactly the protoc output (as in
      same A.B.x version) it will not accept the compiled .proto files.
      To fix that we may build the contribs with the same version
      reported by `protoc --version`, since there is no way that one
      version will satisfy everyone on all platforms (including bots).<br>
    </p>
    <br>
    <div class="moz-cite-prefix">Le 30/03/2018 à 06:39, Raghavan
      Santhanam a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CAKWsRc3Tj4rKLr0jYqaYCSmo323N_z2Faj=MYM0Gedvd+==27A@mail.gmail.com">
      <div dir="ltr"><span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;font-size:small;background-color:rgb(255,255,255);float:none;display:inline">Those
          fat fingers.. eh.. </span>
        <div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-size:small"><br>
        </div>
        <div
style="text-align:start;text-indent:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">I
          found the resolution for this segfault/crash<span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-transform:none;white-space:normal;word-spacing:0px"> </span><span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-transform:none;white-space:normal;word-spacing:0px;text-align:start;text-indent:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">BN </span>-
          I was able to build VLC using <font face="monospace,
            monospace"><b>clang/LLVM</b></font>  on
          <div
style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-transform:none;white-space:normal;word-spacing:0px">
            <div style="">my <font face="monospace, monospace"><b>Ubuntu
                  17.10 x86_64</b></font>. The fix was to use the latest
              <b style=""><font face="monospace, monospace">protobuf
                  v3.5.10</font></b> instead of the default Ubuntu
              repo's</div>
          </div>
          <div><span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-transform:none;white-space:normal;word-spacing:0px">protobuf
              v3.0.0, specifically, </span>libprotobuf-lite.so was the
            FN place where the crash/segfault was happening within its</div>
          <div><font face="monospace, monospace"><b>google::protobuf::ShutdownProtobufLibrary()</b></font>.
            Will send out the details of thus successful clang-build of
            VLC.</div>
          <div>I know that this protobuf issue is not specific to
            clang-usage, but since that was a roadblock while building
            VLC<br>
            even when using clang/LLVM instead of GCC, I am associating
            it with my clang/VLC effort.</div>
        </div>
        <div><br>
        </div>
        - Raghavan Santhanam<br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Sun, Mar 25, 2018 at 6:52 AM, Rémi
            Denis-Courmont <span dir="ltr"><<a
                href="mailto:remi@remlab.net" target="_blank"
                moz-do-not-send="true">remi@remlab.net</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div
class="gmail-m_8858555566042503263gmail-m_-2188820332368758357gmail-m_8215162993073037934m_8990164991847101753m_-2120595459860247972m_4125311753026032571gmail-m_-2411745573935376700gmail-m_-5662230458587087508HOEnZb">
                <div
class="gmail-m_8858555566042503263gmail-m_-2188820332368758357gmail-m_8215162993073037934m_8990164991847101753m_-2120595459860247972m_4125311753026032571gmail-m_-2411745573935376700gmail-m_-5662230458587087508h5">Le
                  25 mars 2018 20:42:39 GMT+08:00, Raghavan Santhanam
                  <<a href="mailto:raghavanil4m@gmail.com"
                    target="_blank" moz-do-not-send="true">raghavanil4m@gmail.com</a>>
                  a écrit :<br>
                  >What is BN, that you mentioned in your first
                  reply? It looks like<br>
                  >there's<br>
                  >already an open VLC bug for this :<br>
                  ><a
                    href="https://trac.videolan.org/vlc/ticket/18329"
                    rel="noreferrer" target="_blank"
                    moz-do-not-send="true">https://trac.videolan.org/vlc<wbr>/ticket/18329</a>.<br>
                  >Yes, I understood that the issues was with
                  something else - same case<br>
                  >with<br>
                  >GCC. I am trying to resolve this issue in general.<br>
                  ><br>
                  >On Sun, Mar 25, 2018 at 5:20 AM, Rémi
                  Denis-Courmont <<a href="mailto:remi@remlab.net"
                    target="_blank" moz-do-not-send="true">remi@remlab.net</a>><br>
                  >wrote:<br>
                  ><br>
                  >> Le 25 mars 2018 20:16:54 GMT+08:00, Raghavan
                  Santhanam <<br>
                  >> <a href="mailto:raghavanil4m@gmail.com"
                    target="_blank" moz-do-not-send="true">raghavanil4m@gmail.com</a>>
                  a écrit :<br>
                  >> >Hello,<br>
                  >> ><br>
                  >> >OK, I am trying to build VLC using
                  clang/LLVM on Ubuntu with<br>
                  >necessary<br>
                  >> >environment variables for library<br>
                  >> >dependencies, etc. But, the make command
                  is failing with a segfault<br>
                  >> >while<br>
                  >> >it reaches "vlc-cache-gen" specific<br>
                  >> >command and that doesn't change even
                  after updating Intel microcode,<br>
                  >> >reboot, etc. So, wanted to know<br>
                  >> >the status for Linux/Ubuntu. I saw some
                  reports of clang/VLC<br>
                  >> >compatibility.<br>
                  >> >BTW, what is BN?!<br>
                  >> ><br>
                  >> >- Raghavan<br>
                  >> ><br>
                  >> >2018-03-25 4:35 GMT-07:00 Rémi
                  Denis-Courmont <<a href="mailto:remi@remlab.net"
                    target="_blank" moz-do-not-send="true">remi@remlab.net</a>>:<br>
                  >> ><br>
                  >> >> Hi,<br>
                  >> >><br>
                  >> >> VLC is built using clang on several
                  platforms BN already. I can't<br>
                  >> >comment<br>
                  >> >> on your specific combination.<br>
                  >> >> --<br>
                  >> >> Envoyé de mon appareil Android avec
                  Courriel K-9 Mail. Veuillez<br>
                  >> >excuser ma<br>
                  >> >> brièveté.<br>
                  >> >><br>
                  >><br>
                  >> That sounds like a bug in an underlying
                  library with no relationship<br>
                  >to<br>
                  >> the compiler. Does it work any better with
                  GCC?<br>
                  >> --<br>
                  >> Envoyé de mon appareil Android avec Courriel
                  K-9 Mail. Veuillez<br>
                  >excuser ma<br>
                  >> brièveté.<br>
                  >><br>
                  <br>
                </div>
              </div>
              It was a trivial case of fat fingers.<br>
              <br>
              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.<br>
              <div
class="gmail-m_8858555566042503263gmail-m_-2188820332368758357gmail-m_8215162993073037934m_8990164991847101753m_-2120595459860247972m_4125311753026032571gmail-m_-2411745573935376700gmail-m_-5662230458587087508HOEnZb">
                <div
class="gmail-m_8858555566042503263gmail-m_-2188820332368758357gmail-m_8215162993073037934m_8990164991847101753m_-2120595459860247972m_4125311753026032571gmail-m_-2411745573935376700gmail-m_-5662230458587087508h5">--<br>
                  Envoyé de mon appareil Android avec Courriel K-9 Mail.
                  Veuillez excuser ma brièveté.<br>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
<a class="moz-txt-link-freetext" href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a></pre>
    </blockquote>
    <br>
  </body>
</html>