From owner-freebsd-hackers@freebsd.org Fri Aug 7 23:54:48 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 C84779B68A9 for ; Fri, 7 Aug 2015 23:54:48 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (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 96F402D8; Fri, 7 Aug 2015 23:54:48 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by ioeg141 with SMTP id g141so125877674ioe.3; Fri, 07 Aug 2015 16:54:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=KAH91azMyi/GgQIrmk93njp7YSpfFah9BUR/G9q/cOw=; b=gs/0hbTamhg4S7agGG9UvQKZPP5oZi/L0XKkCqIrb3XwhuxErtm4rV7y4UH0y0LIJY fZFBEP2QgCpTqHqseqZ5v+X4TFDJZTHF9QKAsrhj8mLtBkRtUkZxXeOQnGk6ixtXYhZV YfmOmlmf7WPZ6rTq3r01kkKG+G/ncKIr6EkJnKn8NfaKX9x0vIIs9m8Ic2+6nIWt+JWk Z4b/TXjma/7d2Cp4oaJEldiFL1ZZzlkLjRJR1+tAYkUARRFYE2fgt/ysYc9zktcvu16c 0Z3YQnCkepUUOXB2O0CZI2PCZo2QM6Q8P5zgBZplT7aCESKz6AmJEddbUOpol4kp2ip5 59zQ== MIME-Version: 1.0 X-Received: by 10.107.164.103 with SMTP id n100mr3457067ioe.123.1438991686603; Fri, 07 Aug 2015 16:54:46 -0700 (PDT) Received: by 10.36.38.133 with HTTP; Fri, 7 Aug 2015 16:54:46 -0700 (PDT) In-Reply-To: <7311511.ISQt3RZVgq@ralph.baldwin.cx> References: <7311511.ISQt3RZVgq@ralph.baldwin.cx> Date: Fri, 7 Aug 2015 16:54:46 -0700 Message-ID: Subject: Re: Sparc64 support From: Adrian Chadd To: John Baldwin Cc: "freebsd-hackers@freebsd.org" , Bill Sorenson Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Sat, 08 Aug 2015 00:39:01 +0000 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: Fri, 07 Aug 2015 23:54:48 -0000 Hi, 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. What I did to make the MIPS bits call the external toolchain: make NO_WERROR=1 CROSS_TOOLCHAIN=mips-gcc buildworld .. so in theory the sparc64 stuff may just be: pkg install sparc64-gcc sparc64-xtoolchain-gcc make NO_WERROR=1 CROSS_TOOLCHAIN=sparc64-gcc buildworld -adrian