[llvm-commits] [llvm] r143531 - in /llvm/trunk: cmake/modules/TableGen.cmake utils/TableGen/CMakeLists.txt

Chandler Carruth chandlerc at gmail.com
Tue Nov 1 23:06:05 PDT 2011


On Tue, Nov 1, 2011 at 10:27 PM, Chandler Carruth <chandlerc at gmail.com>wrote:

> Bill, Daniel;
>
> This patch (and its sibling r143532) *might* be interesting for 3.0. This
> is from a report on IRC of the 3.0 release candidate failing to link
> clang-tblgen correctly when LLVM was installed as a separate library.
> Daniel and I found the problem via inspection and I don't personally have a
> reproduction so I don't have a great idea of how likely (or unlikely)
> others hitting this problem will be.
>
> I'll update the thread if the person who reported it is able to reproduce
> and confirm that this fixes the issue.
>

Ok, this does fix an issue. The issue occurs when building static libraries
where you build LLVM without building Clang, and then build Clang from a
separate directory. In that case, with some linkers (including the one on
Haiku, but I suspect others as well) the link of clang-tblgen fails without
this patch.

I'll leave it to you and others (is there a code owner for the CMake build?
Maybe Eric?) to decide if this should be pulled into the 3.0 release at
this (rather late) stage.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111101/0222244f/attachment.html>


More information about the llvm-commits mailing list