$ poudriere jail -cj head-amd64 -a amd64 -v projects/clang900-import -m svn+https $ poudriere testport -j head-amd64 devel/commoncpp [...] /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../inc -isystem /usr/local/include -I../src -DCCXX_EXPORT_LIBRARY -D_THREAD_SAFE -D_GNU_SOURCE -I/usr/local/include -I../inc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++98 -MT in6addr.lo -MD -MP -MF .deps/in6addr.Tpo -c -o in6addr.lo in6addr.cpp libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../inc -isystem /usr/local/include -I../src -DCCXX_EXPORT_LIBRARY -D_THREAD_SAFE -D_GNU_SOURCE -I/usr/local/include -I../inc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++98 -MT in6addr.lo -MD -MP -MF .deps/in6addr.Tpo -c in6addr.cpp -fPIC -DPIC -o .libs/in6addr.o in6addr.cpp:78:25: warning: assigning field to itself [-Wself-assign-field] this->validator = validator; ^ in6addr.cpp:88:25: warning: assigning field to itself [-Wself-assign-field] this->validator = validator; ^ Assertion failed: (A->getParent() == B->getParent() && "Instructions must be in the same basic block!"), function dominates, file /usr/src/contrib/llvm/lib/Analysis/OrderedBasicBlock.cpp, line 68. Stack dump: 0. Program arguments: /usr/bin/cpp -cc1 -triple x86_64-unknown-freebsd13.0 -emit-obj -disable-free -main-file-name in6addr.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -coverage-notes-file /wrkdirs/usr/ports/devel/commoncpp/work/commoncpp2-1.8.1/src/.libs/in6addr.gcno -resource-dir /usr/lib/clang/9.0.0 -dependency-file .deps/in6addr.Tpo -sys-header-deps -MP -MT in6addr.lo -isystem /usr/local/include -isystem /usr/local/include -isystem /usr/local/include -D HAVE_CONFIG_H -I . -I .. -I ../inc -I ../src -D CCXX_EXPORT_LIBRARY -D _THREAD_SAFE -D _GNU_SOURCE -I /usr/local/include -I ../inc -D PIC -internal-isystem /usr/include/c++/v1 -O2 -std=c++98 -fdeprecated-macro -fdebug-compilation-dir /wrkdirs/usr/ports/devel/commoncpp/work/commoncpp2-1.8.1/src -ferror-limit 19 -fmessage-length 114 -stack-protector 2 -fobjc-runtime=gnustep -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -faddrsig -o .libs/in6addr.o -x c++ in6addr.cpp 1. <eof> parser at end of file 2. Per-module optimization passes 3. Running pass 'CallGraph Pass Manager' on module 'in6addr.cpp'. 4. Running pass 'Dead Store Elimination' on function '@_ZN3ost11IPV6AddressC2E8in6_addrPKNS_13IPV6ValidatorE' #0 0x000000000393d1de PrintStackTrace /usr/src/contrib/llvm/lib/Support/Unix/Signals.inc:533:13 #1 0x000000000393b3d5 RunSignalHandlers /usr/src/contrib/llvm/lib/Support/Signals.cpp:69:18 #2 0x000000000393db62 SignalHandler /usr/src/contrib/llvm/lib/Support/Unix/Signals.inc:0:3 #3 0x0000000004a17d40 handle_signal /usr/src/lib/libthr/thread/thr_sig.c:0:3 cpp: error: unable to execute command: Abort trap cpp: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on LLVM 9.0.0) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin http://package18.nyi.freebsd.org/data/headamd64PR240629-default/2019-09-21_22h04m49s/logs/errors/commoncpp-1.8.1_3,2.log http://pb2.nyi.freebsd.org/data/headi386PR240629-default/2019-09-21_22h04m40s/logs/errors/commoncpp-1.8.1_3,2.log
Created attachment 207736 [details] command line args (for clang 9)
Created attachment 207737 [details] src/in6addr.cpp (preprocessed, compressed)
This got fixed by upstream with https://github.com/llvm/llvm-project/commit/369a9195144, which we got via the clang 10.0.0 import.