Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jan 2012 12:44:00 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Lenny Maiorani <lenny@Colorado.EDU>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: building on FreeBSD 7.3 with Clang
Message-ID:  <4F0C2480.5020704@FreeBSD.org>
In-Reply-To: <502112AF-3908-429C-9DA4-B1D0E94EB9DE@colorado.edu>
References:  <502112AF-3908-429C-9DA4-B1D0E94EB9DE@colorado.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F0C2480.5020704>