From owner-freebsd-hackers@freebsd.org Sat Aug 8 01:56:15 2015 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8303A9B6243 for ; Sat, 8 Aug 2015 01:56:15 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2970889A; Sat, 8 Aug 2015 01:56:15 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by wibxm9 with SMTP id xm9so85653804wib.1; Fri, 07 Aug 2015 18:56:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=IlDpThwHfD+69v+gCm5nP3BLWl1IaMIIbbv+t+11NIo=; b=tBWp9IAT7xLx/Sth8AT+NGicFQtUa8JyAAwYVx+gOz5aEg4Bvek2YNiC+OCl4CzwpF 5izcyDSy20DVYJux1bO0O9ms/Fw1ydhPSoj0NgxULX7VUOyiC+TuOcyB8q+F1WzFli06 B2AaTch1jJgLjhUxF3EApnm4LpEUBThyR67shkitzWQb9Hjib2J62vn8R0bxpzpbWa/U dxdgcpFtr6pFarDsS7aKMzA1WYuodegFfO40yMjfdVu/N/1GJ9xO0v6dKcP7/Sxh/xUb CcWaBo3H57pzUWrPckGLbFSefJ2vRc5AKHId3opp34ol5zsq6ilM7Tq6s5mJ6LX5HCph m5TQ== X-Received: by 10.194.58.199 with SMTP id t7mr21596234wjq.45.1438998973616; Fri, 07 Aug 2015 18:56:13 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id gt10sm1545166wib.20.2015.08.07.18.56.12 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Aug 2015 18:56:12 -0700 (PDT) Sender: Baptiste Daroussin Date: Sat, 8 Aug 2015 03:56:10 +0200 From: Baptiste Daroussin To: Adrian Chadd Cc: John Baldwin , "freebsd-hackers@freebsd.org" , Bill Sorenson Subject: Re: Sparc64 support Message-ID: <20150808015610.GL43782@ivaldir.etoilebsd.net> References: <7311511.ISQt3RZVgq@ralph.baldwin.cx> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Xb8pJpF45Qg/t7GZ" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Aug 2015 01:56:15 -0000 --Xb8pJpF45Qg/t7GZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 07, 2015 at 04:54:46PM -0700, Adrian Chadd wrote: > Hi, >=20 > I've tested it with mips/mips64. It works out mostly okay. There are > still rough edges, because in the mips world we have different > defaults in our base system gcc to what the current toolchain expects. > But at least for mips/mips64 it spits out a kernel and binaries that > work. >=20 > What I did to make the MIPS bits call the external toolchain: >=20 > make NO_WERROR=3D1 CROSS_TOOLCHAIN=3Dmips-gcc buildwor= ld >=20 > .. so in theory the sparc64 stuff may just be: >=20 > pkg install sparc64-gcc sparc64-xtoolchain-gcc > make NO_WERROR=3D1 CROSS_TOOLCHAIN=3Dsparc64-gcc buildwo= rld >=20 When I added the cross toolchain it was first tested on sparc64 and people reported that it built and run fine with it. This was with gcc 4.9, I haven't tested with 5.2 Bapt --Xb8pJpF45Qg/t7GZ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlXFYboACgkQ8kTtMUmk6Ez1fACgmrXzjSFbotisEnvuonWBR7xj k90AoKzSvD6Ow8/q14NrceYZPdYRBXz2 =Llx7 -----END PGP SIGNATURE----- --Xb8pJpF45Qg/t7GZ--