building on FreeBSD 7.3 with Clang

Lenny Maiorani lenny at Colorado.EDU
Tue Jan 10 18:48:45 UTC 2012


On Jan 10, 2012, at 4:44 AM, Dimitry Andric wrote:

> On 2012-01-09 20:38, Lenny Maiorani wrote:
>> Hi.
>> 
>> I am trying to build a userspace application on FreeBSD 7.3 with Clang. I have come across 2 problems so far and I am looking for any tips or guidance the community has.
>> 
>> My problems are both related to binutils so far:
>> 	1. Missing symbols : http://llvm.org/bugs/show_bug.cgi?id=9758
>> 	2. crtendS.o problem : http://sourceware.org/bugzilla/show_bug.cgi?id=12887
>> 
>> At this point I need to rebuild my toolchain to get a new crtendS.o. Are there other pitfalls I need to be aware of?
> 
> It's probably easiest to install the binutils port, and use that for
> building clang and your application.
> 
> Otherwise, you can manually apply the patches mentioned in LLVM PR 9758
> to your system binutils, and recompile them.

Hi Dimitry,

Do you mean the binutils port from 9.0? I will try that.

Thanks for the info,
-Lenny



More information about the freebsd-hackers mailing list