From owner-freebsd-arm@freebsd.org Sat Dec 16 08:00:14 2017 Return-Path: Delivered-To: freebsd-arm@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 DE4CFEA0728 for ; Sat, 16 Dec 2017 08:00:14 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C060D7BA1A; Sat, 16 Dec 2017 08:00:14 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id 065063A0D; Sat, 16 Dec 2017 08:00:13 +0000 (UTC) Date: Sat, 16 Dec 2017 08:00:13 +0000 From: Alexey Dokuchaev To: Warner Losh Cc: freebsd-arm@freebsd.org Subject: as(1) for aarch64 (Was: Re: gcc for aarch64) Message-ID: <20171216080013.GA43041@FreeBSD.org> References: <5eb49766-e5af-d89f-b4f6-a0d655a3859a@bsd.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Dec 2017 08:00:15 -0000 On Wed, Mar 29, 2017 at 12:22:02PM -0600, Warner Losh wrote: > The in-tree gcc compiler doesn't have any aarch64 support. Out of tree > ones should be supported though. OK, so that would explain why there is no /usr/bin/as on our ref-aarch64 boxes in the cluster. > Most developers use clang on aarch64 So does it come with assembler, is it GNU-compatible? (I was told it does: s/${AS} ${ASFLAGS}/${CC} -Wa,${ASFLAGS:ts,}/) If yes, why there is no wrapper installed as /usr/bin/as? Or it cannot be used as a drop-in replacement and users that want to call as(1) directly should install `devel/binutils' port? Thanks, ./danfe