From owner-freebsd-arm@freebsd.org Tue Sep 5 20:13:15 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 344D1E1CF11; Tue, 5 Sep 2017 20:13:15 +0000 (UTC) (envelope-from jbeich@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 D1C0C80DEC; Tue, 5 Sep 2017 20:13:14 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 8CFB41DF04; Tue, 5 Sep 2017 20:13:11 +0000 (UTC) From: Jan Beich To: Mark Millard Cc: freebsd-arm , x11@FreeBSD.org, FreeBSD Ports , FreeBSD Toolchain Subject: Re: x11/pixman vs. clang 5 arm assembler handling: "error: unknown directive" and the like References: <5CAB42C9-984A-4BC9-A4CC-4BDD74932084__24380.8804465973$1504641758$gmane$org@dsl-only.net> Date: Tue, 05 Sep 2017 22:13:05 +0200 In-Reply-To: <5CAB42C9-984A-4BC9-A4CC-4BDD74932084__24380.8804465973$1504641758$gmane$org@dsl-only.net> (Mark Millard's message of "Tue, 5 Sep 2017 12:54:26 -0700") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 20:13:15 -0000 Mark Millard writes: > In an experiment with building some arm ports via poudriere > cross building on amd64 I got the following. It appears that > clang does not handle all the assembler notation and a > different assembler might need to be used for x11/pixman . > (The x11/pixman usage is indirect from having specified > x11/lumina and x11/xscreensaver ). > > --- pixman-arm-simd-asm.lo --- > /bin/sh ../libtool --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -mcpu=cortex-a7 -O2 -pipe -mcpu=cortex-a7 -g -fno-strict-aliasing -MT pixman-arm-simd-asm.lo -MD -MP -MF .deps/pixman-arm-simd-asm.Tpo -c -o pixman-arm-simd-asm.lo pixman-arm-simd-asm.S > libtool: compile: /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -mcpu=cortex-a7 -O2 -pipe -mcpu=cortex-a7 -g -fno-strict-aliasing -MT pixman-arm-simd-asm.lo -MD -MP -MF .deps/pixman-arm-simd-asm.Tpo -c pixman-arm-simd-asm.S -fPIC -DPIC -o .libs/pixman-arm-simd-asm.o > :1:1: error: unknown directive > . . . > --- pixman-arm-simd-asm.lo --- > .func fname > ^ Does it still happen after https://svnweb.freebsd.org/changeset/ports/449285 ?