Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Sep 2017 13:33:05 -0700
From:      Mark Millard <markmi@dsl-only.net>
To:        Jan Beich <jbeich@FreeBSD.org>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>, x11@FreeBSD.org, FreeBSD Ports <freebsd-ports@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>
Subject:   Re: x11/pixman vs. clang 5 arm assembler handling: "error: unknown directive" and the like
Message-ID:  <8A60350E-0D95-4D47-A7E8-6AF1A7727A93@dsl-only.net>
In-Reply-To: <fuc0-52ge-wny@FreeBSD.org>
References:  <5CAB42C9-984A-4BC9-A4CC-4BDD74932084__24380.8804465973$1504641758$gmane$org@dsl-only.net> <fuc0-52ge-wny@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2017-Sep-5, at 1:13 PM, Jan Beich <jbeich at FreeBSD.org> wrote:

> Mark Millard <markmi at dsl-only.net> 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
>> <instantiation>: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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8A60350E-0D95-4D47-A7E8-6AF1A7727A93>