From owner-freebsd-x11@freebsd.org Tue Sep 5 20:33:11 2017 Return-Path: Delivered-To: freebsd-x11@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 388D0E1DDE6 for ; Tue, 5 Sep 2017 20:33:11 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 86D11181B for ; Tue, 5 Sep 2017 20:33:10 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: by mailman.ysv.freebsd.org (Postfix) id 6D6E6E1DDD9; Tue, 5 Sep 2017 20:33:10 +0000 (UTC) Delivered-To: x11@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 61152E1DDD6 for ; Tue, 5 Sep 2017 20:33:10 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-90.reflexion.net [208.70.210.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 650C11807 for ; Tue, 5 Sep 2017 20:33:08 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 15437 invoked from network); 5 Sep 2017 20:33:07 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 5 Sep 2017 20:33:07 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.40.2) with SMTP; Tue, 05 Sep 2017 16:33:07 -0400 (EDT) Received: (qmail 1764 invoked from network); 5 Sep 2017 20:33:07 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 5 Sep 2017 20:33:07 -0000 Received: from [192.168.1.109] (c-67-170-167-181.hsd1.or.comcast.net [67.170.167.181]) by iron2.pdx.net (Postfix) with ESMTPSA id 818F8EC807E; Tue, 5 Sep 2017 13:33:06 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: x11/pixman vs. clang 5 arm assembler handling: "error: unknown directive" and the like From: Mark Millard In-Reply-To: Date: Tue, 5 Sep 2017 13:33:05 -0700 Cc: freebsd-arm , x11@FreeBSD.org, FreeBSD Ports , FreeBSD Toolchain Content-Transfer-Encoding: quoted-printable Message-Id: <8A60350E-0D95-4D47-A7E8-6AF1A7727A93@dsl-only.net> References: <5CAB42C9-984A-4BC9-A4CC-4BDD74932084__24380.8804465973$1504641758$gmane$org@dsl-only.net> To: Jan Beich X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 20:33:11 -0000 On 2017-Sep-5, at 1:13 PM, Jan Beich wrote: > Mark Millard writes: >=20 >> 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 ). >>=20 >> --- pixman-arm-simd-asm.lo --- >> /bin/sh ../libtool --mode=3Dcompile /nxb-bin/usr/bin/cc = -DHAVE_CONFIG_H -I. -I.. -mcpu=3Dcortex-a7 -O2 -pipe = -mcpu=3Dcortex-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=3Dcortex-a7 -O2 -pipe -mcpu=3Dcortex-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 >> ^ >=20 > Does it still happen after = https://svnweb.freebsd.org/changeset/ports/449285 ? I'll let you know. But it will be a while for the results: I just started another build experiment with: poudriere bulk -j zrFBSDx64CjailArmV7 -w -c -f ~/armv7-origins.txt This is based on /usr/ports having -r449313 . (I updated based on your question.) It will likely take 2-4 hours to get that far in the 338 packages it is attempting to build. (I'm more experimenting with building than using the results currently. Previously my port builds were all native and via portmaster .) =3D=3D=3D Mark Millard markmi at dsl-only.net