<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Thanks Enrico for fixing the OSX build.<br>
      <br>
      We had built on Linux and Windows without issues. <br>
      Will look into the issue ASAP.<br>
      <br>
      Thanks,<br>
      Deepak<br>
      <br>
      On 15/10/2013 23:38, Mike Sartain wrote:<br>
    </div>
    <blockquote
cite="mid:FF044B47C445FA488CA6E3C948D998C912ACC84F@exchange10.valvesoftware.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
      <div style="direction: ltr;font-family: Tahoma;color:
        #000000;font-size: 10pt;">> With that said, I am not sure
        what the other problem is, a GCC bug maybe?<br>
        <br>
        I'm using Clang 3.3, but this looks like it might be a bug with
        libstdc++ 4.6 (see bottom entry on this page):<br>
        <br>
        <a moz-do-not-send="true"
href="http://stackoverflow.com/questions/15747223/why-does-this-basic-thread-program-fail-with-clang-but-pass-in-g"
          target="_blank">http://stackoverflow.com/questions/15747223/why-does-this-basic-thread-program-fail-with-clang-but-pass-in-g</a><br>
        <br>
        Drat. If this is the case, it's going to cause a lot of people
        on Ubuntu 12.04 some pain.<br>
        <br>
        In any case, I've reverted back to r192702 for now and am
        working from there - so I'm not blocked at the moment. Not able
        to sync really either though. :)<br>
        <br>
        I'm also behind a firewall here at Valve so I can't check to see
        what the Linux buildbot is doing - I'm guessing it's broken as
        well?<br>
        <br>
        Thanks Enrico.<br>
         -Mike<br>
        <br>
        <div style="font-family: Times New Roman; color: #000000;
          font-size: 16px">
          <hr tabindex="-1">
          <div style="direction: ltr;" id="divRpF274738"><font size="2"
              color="#000000" face="Tahoma"><b>From:</b>
              <a class="moz-txt-link-abbreviated" href="mailto:lldb-dev-bounces@cs.uiuc.edu">lldb-dev-bounces@cs.uiuc.edu</a>
              [<a class="moz-txt-link-abbreviated" href="mailto:lldb-dev-bounces@cs.uiuc.edu">lldb-dev-bounces@cs.uiuc.edu</a>] on behalf of Enrico Granata
              [<a class="moz-txt-link-abbreviated" href="mailto:egranata@apple.com">egranata@apple.com</a>]<br>
              <b>Sent:</b> Tuesday, October 15, 2013 3:24 PM<br>
              <b>To:</b> Michael Sartain<br>
              <b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a><br>
              <b>Subject:</b> Re: [lldb-dev] Linux Build Errors w/ LLDB<br>
            </font><br>
          </div>
          <div>Michael,
            <div>that is correct</div>
            <div><br>
            </div>
            <div>I did make the changes to Init/Terminate because
              somehow the OSX build was confused as to the absence of a
              definition at link-time. I sent an email to the list
              asking if anyone had a proper fix for the issue, however
              to no avail yet</div>
            <div>I am planning to see what is wrong there ASAP today,
              but if this is blocking you more critically, feel free to
              revert while I take a closer look</div>
            <div><br>
            </div>
            <div>With that said, I am not sure what the other problem
              is, a GCC bug maybe?</div>
            <div><br>
              <div>
                <div style="color:rgb(0,0,0); letter-spacing:normal;
                  orphans:auto; text-align:start; text-indent:0px;
                  text-transform:none; white-space:normal; widows:auto;
                  word-spacing:0px; word-wrap:break-word">
                  <div style="color:rgb(0,0,0); letter-spacing:normal;
                    orphans:auto; text-align:start; text-indent:0px;
                    text-transform:none; white-space:normal;
                    widows:auto; word-spacing:0px; word-wrap:break-word">
                    <div style="orphans:2; widows:2;
                      border-collapse:separate; border-spacing:0px"><span
                        style="font-size:12px; orphans:auto;
                        widows:auto">Enrico Granata</span><br
                        style="font-size:12px; orphans:auto;
                        widows:auto">
                      <span style="font-size:12px; orphans:auto;
                        widows:auto">� egranata@</span><font
                        style="font-size:12px; orphans:auto;
                        widows:auto" color="#ff2600"></font><span
                        style="font-size:12px; orphans:auto;
                        widows:auto">.com</span><br
                        style="font-size:12px; orphans:auto;
                        widows:auto">
                      <span style="font-size:12px; orphans:auto;
                        widows:auto">☎️ 27683</span></div>
                  </div>
                </div>
              </div>
              <br>
              <div>
                <div>On Oct 15, 2013, at 3:03 PM, Michael Sartain <<a
                    moz-do-not-send="true"
                    href="mailto:mikesart@gmail.com" target="_blank">mikesart@gmail.com</a>>
                  wrote:</div>
                <br class="Apple-interchange-newline">
                <blockquote type="cite">
                  <div dir="ltr">I'm running into these errors while
                    building Linux LLDB with clang 3.3 right now and
                    r192738 for llvm, clang, and lldb:
                    <div><br>
                    </div>
                    <div>/home/mikesart/data/src/llvm.svn/llvm/tools/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp:114:18:
                      error: redefinition of 'Initialize'</div>
                    <div>/home/mikesart/data/src/llvm.svn/llvm/tools/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp:133:18:
                      error: redefinition of 'Terminate'<br>
                    </div>
                    <div><br>
                    </div>
                    <div>To fix these, I had to undo the change in
                      r192724 (see down below).</div>
                    <div><br>
                    </div>
                    <div>I'm also now hitting this error when linking
                      after I fixed the above two though:<br>
                    </div>
                    <div><br>
                    </div>
                    <div>
                      <div>/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/chrono:535:6:
                        error: no matching constructor for
                        initialization of 'duration' (aka
                        'std::chrono::duration<long, std::ratio<1,
                        1000000> >')</div>
                      <div>          : __d(__t.time_since_epoch())</div>
                      <div>            ^   ~~~~~~~~~~~~~~~~~~~~~~</div>
                    </div>
                    <div><br>
                    </div>
                    <div>Anyone else seeing this?</div>
                    <div>Thanks.</div>
                    <div> -Mike</div>
                    <div><br>
                    </div>
                    <div>-----------------------</div>
                    <div>
                      <div><a class="moz-txt-link-abbreviated" href="mailto:mikesart@mikesart64:~/data/src/llvm.hg/llvm/tools/lldb">mikesart@mikesart64:~/data/src/llvm.hg/llvm/tools/lldb</a>
                        (master)$ git --no-pager diff</div>
                      <div>diff --git
                        a/source/Plugins/Platform/Windows/PlatformWindows.h
b/source/Plugins/Platform/Windows/PlatformWindows.h</div>
                      <div>index e701751..67d3e88 100644</div>
                      <div>---
                        a/source/Plugins/Platform/Windows/PlatformWindows.h</div>
                      <div>+++
                        b/source/Plugins/Platform/Windows/PlatformWindows.h</div>
                      <div>@@ -24,10 +24,10 @@ class PlatformWindows :
                        public Platform</div>
                      <div> public:</div>
                      <div> </div>
                      <div>     static void</div>
                      <div>-    Initialize(void) {}</div>
                      <div>+    Initialize(void);</div>
                      <div> </div>
                      <div>     static void</div>
                      <div>-    Terminate(void) {}</div>
                      <div>+    Terminate(void);</div>
                      <div> </div>
                      <div>     PlatformWindows(bool is_host);</div>
                    </div>
                    <div><br>
                    </div>
                  </div>
                  _______________________________________________<br>
                  lldb-dev mailing list<br>
                  <a moz-do-not-send="true"
                    href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
                  <a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
                </blockquote>
              </div>
              <br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
lldb-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>