[lldb-dev] Linux Build Errors w/ LLDB

Deepak Panickal deepak at codeplay.com
Tue Oct 15 16:13:24 PDT 2013


Thanks Enrico for fixing the OSX build.

We had built on Linux and Windows without issues.
Will look into the issue ASAP.

Thanks,
Deepak

On 15/10/2013 23:38, Mike Sartain wrote:
> > With that said, I am not sure what the other problem is, a GCC bug 
> maybe?
>
> 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):
>
> http://stackoverflow.com/questions/15747223/why-does-this-basic-thread-program-fail-with-clang-but-pass-in-g
>
> Drat. If this is the case, it's going to cause a lot of people on 
> Ubuntu 12.04 some pain.
>
> 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. :)
>
> 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?
>
> Thanks Enrico.
>  -Mike
>
> ------------------------------------------------------------------------
> *From:* lldb-dev-bounces at cs.uiuc.edu [lldb-dev-bounces at cs.uiuc.edu] on 
> behalf of Enrico Granata [egranata at apple.com]
> *Sent:* Tuesday, October 15, 2013 3:24 PM
> *To:* Michael Sartain
> *Cc:* lldb-dev at cs.uiuc.edu
> *Subject:* Re: [lldb-dev] Linux Build Errors w/ LLDB
>
> Michael,
> that is correct
>
> 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
> 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
>
> With that said, I am not sure what the other problem is, a GCC bug maybe?
>
> Enrico Granata
> ? egranata@?.com
> ?? 27683
>
> On Oct 15, 2013, at 3:03 PM, Michael Sartain <mikesart at gmail.com 
> <mailto:mikesart at gmail.com>> wrote:
>
>> I'm running into these errors while building Linux LLDB with clang 
>> 3.3 right now and r192738 for llvm, clang, and lldb:
>>
>> /home/mikesart/data/src/llvm.svn/llvm/tools/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp:114:18: 
>> error: redefinition of 'Initialize'
>> /home/mikesart/data/src/llvm.svn/llvm/tools/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp:133:18: 
>> error: redefinition of 'Terminate'
>>
>> To fix these, I had to undo the change in r192724 (see down below).
>>
>> I'm also now hitting this error when linking after I fixed the above 
>> two though:
>>
>> /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> >')
>>           : __d(__t.time_since_epoch())
>>             ^   ~~~~~~~~~~~~~~~~~~~~~~
>>
>> Anyone else seeing this?
>> Thanks.
>>  -Mike
>>
>> -----------------------
>> mikesart at mikesart64:~/data/src/llvm.hg/llvm/tools/lldb (master)$ git 
>> --no-pager diff
>> diff --git a/source/Plugins/Platform/Windows/PlatformWindows.h 
>> b/source/Plugins/Platform/Windows/PlatformWindows.h
>> index e701751..67d3e88 100644
>> --- a/source/Plugins/Platform/Windows/PlatformWindows.h
>> +++ b/source/Plugins/Platform/Windows/PlatformWindows.h
>> @@ -24,10 +24,10 @@ class PlatformWindows : public Platform
>>  public:
>>      static void
>> -    Initialize(void) {}
>> +    Initialize(void);
>>      static void
>> -    Terminate(void) {}
>> +    Terminate(void);
>>      PlatformWindows(bool is_host);
>>
>> _______________________________________________
>> lldb-dev mailing list
>> lldb-dev at cs.uiuc.edu <mailto:lldb-dev at cs.uiuc.edu>
>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>
>
>
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20131016/ef512e2c/attachment.html>


More information about the lldb-dev mailing list