[llvm-dev] Git Transition status?
Jonathan Roelofs via llvm-dev
llvm-dev at lists.llvm.org
Tue Jan 17 15:17:27 PST 2017
On 1/17/17 3:54 PM, Stephen Checkoway via llvm-dev wrote:
>
>> On Jan 17, 2017, at 16:00, Mehdi Amini <mehdi.amini at apple.com> wrote:
>>
>>>
>>> On Jan 17, 2017, at 12:44 PM, Stephen Checkoway <s at pahtak.org> wrote:
>>>
>>>
>>>
>>> cmake -GNinja ../llvm-project/llvm -DLLVM_ENABLE_PROJECTS="clang;libcxx;compiler-rt”
>>
>> It builds for me right now on OSX (running `ninja check-all` right now), can you `git pull`, try again from a clean build dir, and send me the trace (including the hash you’re on and your OS / platform as well).
>
> I did a git pull which updated me to f53d70f759a0b87048576bc87729b368a2d767a9, deleted the build directory (and the libcxx-abi symlink I created), and reran cmake and ninja and I'm not getting any errors involving missing libcxx-abi. I wish I'd saved the error log. I'm really confused by this since I can't find any reference to a libcxx-abi. I'm completely willing to believe user error here (although I cannot for the life of me figure out what I could have done).
Helps if you spell it 'libcxxabi' not 'libcxx-abi'.
>
> That said, libcxx still does not build. I get the same undefined references to various __cxa_ functions (e.g., __cxa_allocate_exception, __cxa_throw, __cxa_free_exception) and some vtables (e.g., __cxxabiv1::__si_class_type_info).
These are all symbols from libcxxabi.
Jon
>
> I'm running Ubuntu 16.04.1 LTS on x86-64. I haven't tried on OS X.
>
>
> [nook:~/programming/llvm/llvm-project] (master) steve$ git pull --rebase
> remote: Counting objects: 12, done.
> remote: Compressing objects: 100% (3/3), done.
> remote: Total 12 (delta 9), reused 12 (delta 9), pack-reused 0
> Unpacking objects: 100% (12/12), done.
> From https://github.com/llvm-project/llvm-project
> b1f3d87..f53d70f master -> origin/master
> First, rewinding head to replay your work on top of it...
> Fast-forwarded master to f53d70f759a0b87048576bc87729b368a2d767a9.
> [nook:~/programming/llvm/llvm-project] (master) steve$ git rev-parse HEAD
> f53d70f759a0b87048576bc87729b368a2d767a9
> [nook:~/programming/llvm/llvm-project] (master) steve$ cd ..
> [nook:~/programming/llvm] steve$ mkdir clang-build
> [nook:~/programming/llvm] steve$ cd clang-build
> [nook:~/programming/llvm/clang-build] steve$ cmake -GNinja ../llvm-project/llvm -DLLVM_ENABLE_PROJECTS="clang;libcxx;compiler-rt"
> <snip>
> [nook:~/programming/llvm/clang-build] steve$ ninja
> <snip failed build>
> [nook:~/programming/llvm/clang-build] steve$ uname -a
> Linux nook 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
> [nook:~/programming/llvm/clang-build] steve$ lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 16.04.1 LTS
> Release: 16.04
> Codename: xenial
>
--
Jon Roelofs
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded
More information about the llvm-dev
mailing list