From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 10 18:48:45 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7805F106566C for ; Tue, 10 Jan 2012 18:48:45 +0000 (UTC) (envelope-from lenny@Colorado.EDU) Received: from ipmx2.colorado.edu (ipmx2.colorado.edu [128.138.128.232]) by mx1.freebsd.org (Postfix) with ESMTP id 4A3A88FC0C for ; Tue, 10 Jan 2012 18:48:44 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap0EACqGDE/AqBGb/2dsb2JhbABDrV+BcgEBBAE6HCMFCwsOCi5XBieHZgita4kFizBjBIg6nyw X-IronPort-AV: E=Sophos;i="4.71,488,1320649200"; d="scan'208";a="489753094" Received: from omr-raz-2-priv.int.colorado.edu ([192.168.17.155]) by ipmx2-priv.int.colorado.edu with ESMTP; 10 Jan 2012 11:48:36 -0700 Received: from 67.51.249.130 (EHLO _10.126.1.146_) ([67.51.249.130]) by omr-raz-2-priv.int.colorado.edu (MOS 4.1.10-GA FastPath queued) with ESMTP id CVI90741 (AUTH maiorani); Tue, 10 Jan 2012 11:48:33 -0700 (MST) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Lenny Maiorani In-Reply-To: <4F0C2480.5020704@FreeBSD.org> Date: Tue, 10 Jan 2012 11:48:31 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <0C4D8E46-26DA-4AAC-AD75-66A418699D9E@Colorado.EDU> References: <502112AF-3908-429C-9DA4-B1D0E94EB9DE@colorado.edu> <4F0C2480.5020704@FreeBSD.org> To: Dimitry Andric X-Mailer: Apple Mail (2.1084) Cc: freebsd-hackers@freebsd.org Subject: Re: building on FreeBSD 7.3 with Clang X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jan 2012 18:48:45 -0000 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