Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jan 2012 11:48:31 -0700
From:      Lenny Maiorani <lenny@Colorado.EDU>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: building on FreeBSD 7.3 with Clang
Message-ID:  <0C4D8E46-26DA-4AAC-AD75-66A418699D9E@Colorado.EDU>
In-Reply-To: <4F0C2480.5020704@FreeBSD.org>
References:  <502112AF-3908-429C-9DA4-B1D0E94EB9DE@colorado.edu> <4F0C2480.5020704@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 10, 2012, at 4:44 AM, Dimitry Andric wrote:

> On 2012-01-09 20:38, Lenny Maiorani wrote:
>> Hi.
>>=20
>> 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.
>>=20
>> My problems are both related to binutils so far:
>> 	1. Missing symbols : http://llvm.org/bugs/show_bug.cgi?id=3D9758
>> 	2. crtendS.o problem : =
http://sourceware.org/bugzilla/show_bug.cgi?id=3D12887
>>=20
>> 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?
>=20
> It's probably easiest to install the binutils port, and use that for
> building clang and your application.
>=20
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0C4D8E46-26DA-4AAC-AD75-66A418699D9E>