[lldb-dev] LLDB ToT compile fails

Christian Mayer christian at fox21.at
Wed Mar 25 13:04:13 PDT 2015


The problem wasn't that I didn't updated LLDB - the problem was that
some files where cached.

Running

	rm -rf build llvm llvm-build lldb.xcworkspace/xcshareddata

before re-compiling with

	xcodebuild -configuration Release

is a good choice. Especially the lldb.xcworkspace/xcshareddata was the
determining factor. After deleting lldb.xcworkspace/xcshareddata I was
finally able to successfully re-compile the ToT version of LLDB.

I created two shell scripts to compile and re-compile it on Mac OS X:
https://gist.github.com/TheFox/028709d7c4d848bf444d


Br,
Christian

-- 
http://fox21.at


On 24.03.15 22:28, Christian Mayer wrote:
> Sure, I updated LLDB too.
> 
> :> cd llvm-src
> :> git log -n 1
> commit 5e0ce9d13ad5b39c12b68e7af6cf946414bff170
> Author: Sanjay Patel <spatel at rotateright.com>
> Date:   Tue Mar 24 20:36:42 2015 +0000
> 
> :> cd llvm-src/tools/lldb
> :> git log -n 1
> commit a5d90d42a2b9ea5dbebcd09b89bc58bac861dc23
> Author: Ilia K <ki.stfu at gmail.com>
> Date:   Tue Mar 24 20:59:38 2015 +0000
> 
> :> cd llvm-src/tools/clang
> :> git log -n 1
> commit a7c76878cfedcbb88a89b864559b24593a15803f
> Author: Sanjay Patel <spatel at rotateright.com>
> Date:   Tue Mar 24 20:42:20 2015 +0000
> 
> :> cd llvm-src/projects/compiler-rt
> :> git log -n 1
> commit c3dce9d8bee136acae00dde4ea0d2bcd2a02cc6f
> Author: Justin Bogner <mail at justinbogner.com>
> Date:   Tue Mar 24 17:43:31 2015 +0000
> 
> I pulled all Git repositories at once several times within the last two
> days. But it still fails.
> 
> I want to re-build LLDB because I discovered an issue in the old version
> and maybe in the newer version it's fixed.
> 
> 
> On 24.03.15 17:04, Reid Kleckner wrote:
>> Looks like you didn't update LLDB. Your errors look like you have skew
>> between LLDB r228933 and LLVM r228921. If you don't need LLDB, you can
>> simply delete that part of the checkout.
>>
>> On Tue, Mar 24, 2015 at 8:16 AM, Christian Mayer <christian at fox21.at
>> <mailto:christian at fox21.at>> wrote:
>>
>>     Hi,
>>
>>     I built LLDB using xcodebuild two month ago from Top Of Tree (Git).
>>     Today, after pulling the newest version from Git and also of all
>>     dependencies (LLVM, clang, compiler-rt) and run again "xcodebuild
>>     -configuration Release" I got this error:
>>
>>     The following build commands failed:
>>             CompileC
>>     build/lldb.build/Release/lldb-core.build/Objects-normal/x86_64/CompactUnwindInfo.o
>>     source/Symbol/CompactUnwindInfo.cpp normal x86_64 c++
>>     com.apple.compilers.llvm.clang.1_0.compiler
>>     (1 failure)
>>
>>     I tried it several times in the last two days but it still fails.
>>
>>     I also tried deleting llvm-src/tools/lldb/llvm-build and
>>     llvm-src/tools/lldb/build and building again - but fails, too.
>>
>>     Here is the full log:
>>     https://pastebin.com/9B7MP3Xd
>>
>>
>>     Best regards,
>>     Christian
>>
>>     --
>>     Christian Mayer
>>     software developer
>>     http://fox21.at
>>     _______________________________________________
>>     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
>>
>>



More information about the lldb-dev mailing list