Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 May 2019 12:22:19 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Ralf Wenk <iz-rpi03@hs-karlsruhe.de>
Cc:        Mark Millard <marklmi@yahoo.com>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, ports-list freebsd <freebsd-ports@freebsd.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: powerpc64 graphics/mesa-dri build failure in poudriere, system clang's /usr/bin/cc got assert failure: "Target supports vector op, but  scalar requires expansion?"
Message-ID:  <h89k-5ezo-wny@FreeBSD.org>
In-Reply-To: <E1hU4LD-00FbX8-OK@smtp.hs-karlsruhe.de> (Ralf Wenk's message of "Fri, 24 May 2019 09:10:11 %2B0200")
References:  <A0862A43-075F-4760-ABDE-6F3D83C9768F@yahoo.com> <pno9-9ff2-wny@FreeBSD.org> <1C226A5A-147D-4307-89D6-0E88F70ADFD6@yahoo.com> <E1hU4LD-00FbX8-OK@smtp.hs-karlsruhe.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Ralf Wenk <iz-rpi03@hs-karlsruhe.de> writes:

> On 2019-05-23, at 12:31 -0700, Mark Millard wrote:
>
>> On 2019-May-23, at 11:47, Jan Beich <jbeich at FreeBSD.org> wrote:
>> 
>> > Mark Millard <marklmi at yahoo.com> writes:
>> > 
>> >> Unfortunately poudiere bulk tar archives of failures do not
>> >> catch the /tmp/* material from:
>> >> 
>> >> cc: error: unable to execute command: Abort trap (core dumped)
>> >> cc: error: clang frontend command failed due to signal (use -v to see invocation)
>> >> FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0)
>> >> Target: powerpc64-unknown-freebsd13.0
>> >> Thread model: posix
>> >> InstalledDir: /usr/bin
>> > 
>> > Do you have the build log? Maybe it's possible to reproduce simply by adding
>> > -target powerpc64-unknown-freebsd13.0 while cross-building that particular file
>> > using otherwise the same command line options as native build.
>> 
>> I have expanded the poudriere bulk's tar of the failure and rerun the
>> command from there. The problem reproduced:
>> 
>> # ls -lTdt /tmp/nir_constant_expressions-9b094e.*
>> -rw-r--r--  1 root  wheel    11069 May 23 12:08:35 2019 /tmp/nir_constant_expressions-9b094e.sh
>> -rw-r--r--  1 root  wheel  1951892 May 23 12:08:35 2019 /tmp/nir_constant_expressions-9b094e.c
>> 
>> 
>> So I gzip'd the .c and created:
>> 
>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238082
>> 
>> with the two files as 2 attachments.
>
> This looks familiar to me. Is the kernel you are using at r348115 or newer?
>
> r348115 triggers such kind of "unable to execute" compiler errors on my
> system. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238084

Bug 238082 unlike bug 238084 can be reproduced even on amd64 just by
running the generated files.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?h89k-5ezo-wny>