From owner-freebsd-arm@FreeBSD.ORG Sun Mar 4 01:30:39 2012 Return-Path: Delivered-To: arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6033106568F for ; Sun, 4 Mar 2012 01:30:39 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (cl-414.sto-01.se.sixxs.net [IPv6:2001:16d8:ff00:19d::2]) by mx1.freebsd.org (Postfix) with ESMTP id 732EA8FC1A for ; Sun, 4 Mar 2012 01:30:39 +0000 (UTC) Received: from [10.199.87.30] (mobile-198-228-210-065.mycingular.net [198.228.210.65]) by mx0.deglitch.com (Postfix) with ESMTPSA id 1137D8FC27; Sun, 4 Mar 2012 05:30:37 +0400 (MSK) References: <23CB6C35-9450-40BA-9FA3-37C44B328CA8@freebsd.org> <8042D895-3B3D-431E-ADCC-A150BDC838ED@kientzle.com> <890D6B89-8031-496C-A5A2-A2836369F765@FreeBSD.org> In-Reply-To: Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Message-Id: <88338819-70CF-4BA7-92AE-95864F159FF4@FreeBSD.org> X-Mailer: iPad Mail (9A405) From: Stanislav Sedov Date: Sat, 3 Mar 2012 17:29:58 -0800 To: Tim Kientzle Cc: "arm@freebsd.org" Subject: Re: ports cross-compilers vs. native toolchain X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 01:30:39 -0000 On Mar 3, 2012, at 11:03 AM, Tim Kientzle wrote: > > 2) Missing div/mod functions in ARM libgcc. > > You can work around this by adding -lc to a couple > of places in the u-boot makefiles. I'm also looking into > a fix for FreeBSD libgcc. (Looks like these functions > were disabled deliberately? Hmm, maybe they are disabled because libc supplies them? IIRC these do exists in cross-gcc -- it builds it with newlib libc, not FreeBSD libc, thus you cannot use it cross-compile FreeBSD userland applications, but it is perfect for standalone stuff. -- ST4096-RIPE