cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c colset.c -o colset.o Assertion failed: (ScaledReg == nullptr), function SetCombinedField, file /poudriere/jails/projects/clang600-import-amd64/usr/src/contrib/llvm/lib/CodeGen/CodeGenPrepare.cpp, line 1973. cc: error: unable to execute command: Abort trap cc: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 6.0.0 (trunk 321545) (based on LLVM 6.0.0svn) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin http://package18.nyi.freebsd.org/data/headamd64PR224669-default/2018-01-02_08h32m49s/logs/errors/xpx-1.41_2.log
Created attachment 189366 [details] colset.c (preprocessed, compressed)
Created attachment 189367 [details] command line args (for clang 6.0)
Reported upstream: https://bugs.llvm.org/show_bug.cgi?id=35805
A commit references this bug: Author: dim Date: Tue Jan 9 17:41:35 UTC 2018 New revision: 327734 URL: https://svnweb.freebsd.org/changeset/base/327734 Log: Pull in r322056 from upstream llvm trunk (by Serguei Katkov): [CGP] Fix Complex addressing mode for offset If the offset is differ in two addressing mode we can continue only if ScaleReg is not set due to we will use it as merge of different offsets. It should fix PR35799 and PR35805. Reviewers: john.brawn, reames Reviewed By: reames Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D41227 This should fix "ScaledReg == nullptr" assertions when building the graphics/xpx, mail/alpine and editors/pico-alpine ports. Reported by: jbeich PR: 224866, 224995 Changes: projects/clang600-import/contrib/llvm/lib/CodeGen/CodeGenPrepare.cpp
Assuming this is fixed now.
I confirm, the port built fine at least on amd64. http://beefy12.nyi.freebsd.org/data/head-amd64-default/p458948_s327953/logs/xpx-1.41_2.log