Yeah I just did

svn update
rm -rf llvm*
xcodebuild -configuration Debug      # this checks out the 
llvm+clang+compiler-rt & builds it

on my home system with the GM tools installed and it built fine.

J


> On Nov 11, 2014, at 5:26 PM, Greg Clayton <gclay...@apple.com> wrote:
> 
> Nuke your lldb/llvm and lldb/llvm-build folder and run xcodebuild again. The 
> Xcode build doesn't always update and build llvm and you have newer LLDB code 
> and old llvm and clang code. By nuking your llvm and llvm-build folder it 
> will cause the xcodebuild to download and rebuild a fresh and up to date 
> clang and allow you to build and link correctly.
> 
> Greg
> 
> 
> 
>> On Nov 11, 2014, at 5:00 PM, Ryan Brown <rib...@google.com> wrote:
>> 
>> Xcode Version 6.1 (6A1052c)
>> I get errors like:
>> /Users/ribrdb/Documents/git/lldb/source/Host/common/FileSpec.cpp:507:19: 
>> error: no member named 'ErrorOr' in namespace 'llvm'
>> 
>>            llvm::ErrorOr<std::string> error_or_path = 
>> llvm::sys::findProgramByName (file_str);
>> 
>>            ~~~~~~^
>> 
>> 
>> 
>> There's also problems with getMetadata/getMDNode renaming.
>> 
>> 
>> On Tue Nov 11 2014 at 4:56:48 PM Vince Harron <vhar...@google.com> wrote:
>> Hi Ryan,
>> 
>> I've sent you a doc out of band.  I used it to day to sync and build 
>> llvm/clang/lldb tot
>> 
>> It is derived from the instructions on the lldb website so those should work.
>> 
>> I did have these errors:
>> 
>> (Darwin vharron-macpro3.roam.corp.google.com 13.4.0 Darwin Kernel Version 
>> 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 
>> x86_64 i386)
>> 
>> TestDataFormatterStdMap.py
>> TestDataFormatterStdVector.py
>> TestDisassembleRawData.py
>> TestFormatters.py
>> TestInferiorAssert.py
>> TestMemoryHistory.py
>> TestReportData.py
>> TestStringPrinter.py
>> TestValueVarUpdate.py
>> 
>> 
>> Vince
>> 
>> 
>> 
>> On Tue, Nov 11, 2014 at 4:39 PM, Ryan Brown <rib...@google.com> wrote:
>> Is there some way to do an xcode build using a new version of llvm? I get 
>> compile errors because xcode seems to be using an old llvm.
>> 
>> 
>> On Tue, Nov 11, 2014, 10:11 AM Greg Clayton <gclay...@apple.com> wrote:
>> Do this first in your ssh session:
>> 
>> sudo /usr/sbin/DevToolsSecurity --enable
>> 
>> Then try running lldb.
>> 
>>> On Nov 11, 2014, at 2:20 AM, Nikolay Koldunov <nikolay.koldu...@oracle.com> 
>>> wrote:
>>> 
>>> Thank You!
>>> 
>>> This helped in the local case. But I'm still unable to run lldb in either 
>>> console or mi mode via ssh. Is this possible?
>>> 
>>> On 11/ 6/14 09:35 AM, Eran Ifrah wrote:
>>>> I have this big comment in my code that will help you:
>>>> 
>>>> // On OSX, debugserver executable must exists otherwise lldb will not work 
>>>> properly
>>>> // we ensure that it exists by checking the environment variable 
>>>> LLDB_DEBUGSERVER_PATH
>>>> 
>>>> In other words: set the environment variable LLDB_DEBUGSERVER_PATH to 
>>>> point to debugserver executable (you should have it installed with your 
>>>> XCode)
>>>> 
>>>> 
>>>> On Fri, Oct 31, 2014 at 3:20 PM, Nikolay Koldunov 
>>>> <nikolay.koldu...@oracle.com> wrote:
>>>> Hi All!
>>>> 
>>>> I've just built lldb and lldb-mi from the trunk sources on MacOS and faced 
>>>> these issues:
>>>> 1). lldb was unable to run target (error: process launch failed: unable to 
>>>> locate debugserver)
>>>> 2). lldb-mi was unable to run target too (Command 'exec-run'. Invalid 
>>>> process during debug session)
>>>> 
>>>> I followed your instructions about code signing.
>>>> 
>>>> What should I do or check to proceed?
>>>> 
>>>> Regards,
>>>> Nikolay
>>>> _______________________________________________
>>>> lldb-dev mailing list
>>>> lldb-dev@cs.uiuc.edu
>>>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>>>> 
>>>> 
>>>> 
>>>> --
>>>> Eran Ifrah,
>>>> Author of codelite, a cross platform open source C/C++ IDE: 
>>>> http://www.codelite.org
>>>> CodeLite IDE Blog: http://codeliteide.blogspot.com/
>>> 
>>> _______________________________________________
>>> lldb-dev mailing list
>>> lldb-dev@cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>> 
>> 
>> _______________________________________________
>> lldb-dev mailing list
>> lldb-dev@cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>> 
>> _______________________________________________
>> lldb-dev mailing list
>> lldb-dev@cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>> 
>> 
>> 
>> 
>> -- 
>> 
>> Vince Harron |        Technical Lead Manager |        vhar...@google.com |   
>>  858-442-0868
>> 
> 
> 
> _______________________________________________
> lldb-dev mailing list
> lldb-dev@cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev


_______________________________________________
lldb-dev mailing list
lldb-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to