$ poudriere jail -cj head-armv7 -x -a arm.armv7 -v head -m svn+https $ poudriere testport -j head-armv7 devel/xwpe [...] /usr/bin/cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DCC_HAS_PROTOS=1 -DHAVE_LIBZ=1 -DHAVE_MKDTEMP=1 -DRANDLIB=1 -DPRNTCMD=\"lpr\" -DLIBRARY_DIR=\"/usr/local/share/xwpe\" -DX_INC=\"@X_INC@\" -c we_menue.c Assertion failed: (LiveCPSR && "CPSR liveness tracking is wrong!"), function UpdateCPSRUse, file /usr/src/contrib/llvm/lib/Target/ARM/Thumb2SizeReduction.cpp, line 995. 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 (branches/release_80 355677) (based on LLVM 8.0.0) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /usr/bin http://www.ipv6proxy.net/go.php?u=http://beefy16.nyi.freebsd.org/data/head-armv7-default/p495093_s344952/logs/errors/xwpe-1.5.30a.log
Created attachment 202901 [details] we_menue.c (preprocessed, compressed)
Created attachment 202902 [details] command line args (for clang 8)
Reproduced, minimized and submitted upstream here: https://bugs.llvm.org/show_bug.cgi?id=41116
A commit references this bug: Author: dim Date: Sat Mar 23 14:10:06 UTC 2019 New revision: 345449 URL: https://svnweb.freebsd.org/changeset/base/345449 Log: Pull in r356809 from upstream llvm trunk (by Eli Friedman): [ARM] Don't form "ands" when it isn't scheduled correctly. In r322972/r323136, the iteration here was changed to catch cases at the beginning of a basic block... but we accidentally deleted an important safety check. Restore that check to the way it was. Fixes https://bugs.llvm.org/show_bug.cgi?id=41116 Differential Revision: https://reviews.llvm.org/D59680 This should fix "Assertion failed: (LiveCPSR && "CPSR liveness tracking is wrong!"), function UpdateCPSRUse" errors when building the devel/xwpe port for armv7. PR: 236062, 236568 MFC after: 1 month X-MFC-With: r344779 Changes: head/contrib/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp