Patches to get clang working with LLVM trunk

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Patches to get clang working with LLVM trunk

Bjorn Reese
I have attached a patch to handle the following problems when trying to
build clang from trunk (with an llvm trunk) on Linux.

The local register allocator has been replaced by a fast allocator in
the LLVM trunk (r106051)

The AsmParser has been extended with a target argument (r107426)

In r104074 an extra newline has added at the end of the libclang.exports
file, and this causes an incorrect version file to be generated, which
in turn prevents linking.

_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

linux-patch-20100703.diff (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Patches to get clang working with LLVM trunk

Eli Friedman
On Sat, Jul 3, 2010 at 4:49 AM, Bjorn Reese <[hidden email]> wrote:
> I have attached a patch to handle the following problems when trying to
> build clang from trunk (with an llvm trunk) on Linux.

trunk clang and trunk LLVM definitely work together without any
patches; perhaps you forgot to update your clang tree?

-Eli
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: Patches to get clang working with LLVM trunk

Bjorn Reese
On 2010-07-03 17:41, Eli Friedman wrote:
> On Sat, Jul 3, 2010 at 4:49 AM, Bjorn Reese<[hidden email]>  wrote:
>> I have attached a patch to handle the following problems when trying to
>> build clang from trunk (with an llvm trunk) on Linux.
>
> trunk clang and trunk LLVM definitely work together without any
> patches; perhaps you forgot to update your clang tree?

Aha. So clang is not updated when doing an "svn update" from the llvm
directory?
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: Patches to get clang working with LLVM trunk

Eli Friedman
On Sat, Jul 3, 2010 at 9:11 AM, Bjorn Reese <[hidden email]> wrote:

> On 2010-07-03 17:41, Eli Friedman wrote:
>> On Sat, Jul 3, 2010 at 4:49 AM, Bjorn Reese<[hidden email]>  wrote:
>>> I have attached a patch to handle the following problems when trying to
>>> build clang from trunk (with an llvm trunk) on Linux.
>>
>> trunk clang and trunk LLVM definitely work together without any
>> patches; perhaps you forgot to update your clang tree?
>
> Aha. So clang is not updated when doing an "svn update" from the llvm
> directory?

No; you have to do it separately, or use "make update" instead.

-Eli

_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev