x11/pixman vs. clang 5 arm assembler handling: "error: unknown directive" and the like

Mark Millard markmi at dsl-only.net
Tue Sep 5 21:38:47 UTC 2017


On 2017-Sep-5, at 1:33 PM, Mark Millard <markmi at dsl-only.net> wrote:

> On 2017-Sep-5, at 1:13 PM, Jan Beich <jbeich at FreeBSD.org> wrote:
> 
>> Mark Millard <markmi at dsl-only.net> 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
>>> <instantiation>:1:1: error: unknown directive
>>> . . .
>>> --- pixman-arm-simd-asm.lo ---
>>> .func fname
>>> ^
>> 
>> Does it still happen after https://svnweb.freebsd.org/changeset/ports/449285 ?
> 
> . . .
> This is based on /usr/ports having -r449313 . (I updated based on
> your question.)
> . . .

The rebuild of the ports rebuilt x11/pixman earlier in the sequence
than I had guessed so it took less time to get to that point:

[00:51:26] [03] [00:00:00] Building x11/pixman | pixman-0.34.0
. . .
[00:54:15] [03] [00:02:49] Finished x11/pixman | pixman-0.34.0: Success

So -r449285 has avoided using clang's internal assembler.

===
Mark Millard
markmi at dsl-only.net



More information about the freebsd-arm mailing list