[Bug 240765] devel/commoncpp: clang 9 crashes during build

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 23 11:22:25 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240765

            Bug ID: 240765
           Summary: devel/commoncpp: clang 9 crashes during build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-qa
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: acm at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
            Blocks: 240629
             Flags: maintainer-feedback?(acm at FreeBSD.org)
          Assignee: acm at FreeBSD.org

$ 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


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240629
[Bug 240629] [exp-run] Against projects/clang900-import branch
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list