From owner-freebsd-arm@freebsd.org Sat Dec 16 13:37:29 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 DA626E82963 for ; Sat, 16 Dec 2017 13:37:29 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 B67FD63F6B; Sat, 16 Dec 2017 13:37:29 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id 0A50569A3; Sat, 16 Dec 2017 13:37:29 +0000 (UTC) Date: Sat, 16 Dec 2017 13:37:29 +0000 From: Alexey Dokuchaev To: Ed Maste Cc: Warner Losh , "freebsd-arm@freebsd.org" Subject: Re: as(1) for aarch64 (Was: Re: gcc for aarch64) Message-ID: <20171216133729.GA78029@FreeBSD.org> References: <5eb49766-e5af-d89f-b4f6-a0d655a3859a@bsd.com.br> <20171216080013.GA43041@FreeBSD.org> 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 13:37:29 -0000 On Sat, Dec 16, 2017 at 08:04:02AM -0500, Ed Maste wrote: > Clang's integrated assembler is mostly compatible with GNU as, but > there are some macro constructs etc. that it does not handle. So it's > not fully a drop-in replacement. > > The arm64 kernel and base system assembles source files by invoking > the compiler driver (as do other architectures for most, but not all, > of their asm source). > > Users who need to invoke the assembler directly should indeed install > binutils from ports or packages. Thanks. I'll see if I can get away with Clang's integrated assembler, and fall back to `devel/binutils' if that won't work. ./danfe