[llvm-bugs] [Bug 43979] New: PowerPC64: clang crash while building commoncpp

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Nov 12 06:36:12 PST 2019


https://bugs.llvm.org/show_bug.cgi?id=43979

            Bug ID: 43979
           Summary: PowerPC64: clang crash while building commoncpp
           Product: clang
           Version: 9.0
          Hardware: Sun
                OS: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: pkubaj at anongoth.pl
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

Created attachment 22800
  --> https://bugs.llvm.org/attachment.cgi?id=22800&action=edit
crash data

When building on FreeBSD/powerpc64-elfv2:
Assertion failed: (A->getParent() == B->getParent() && "Instructions must be in
the same basic block!"), function dominates, file
/poudriere/jails/powerpc64-elfv2-pkubaj/usr/src/contrib/llvm/lib/Analysis/OrderedBasicBlock.cpp,
line 68.
Stack dump:
0.      Program arguments: /usr/bin/c++ -cc1 -triple
powerpc64-unknown-freebsd13.0 -emit-obj -disable-free -main-file-name
in6addr.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix
-relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables
-fuse-init-array -target-cpu ppc64 -target-feature +secure-plt -mfloat-abi hard
-dwarf-column-info -debugger-tuning=gdb -momit-leaf-frame-pointer
-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 0 -stack-protector 2 -fno-signed-char -fobjc-runtime=gnustep
-fcxx-exceptions -fexceptions -fdiagnostics-show-option -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'
c++: error: unable to execute command: Abort trap (core dumped)
c++: 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: powerpc64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin

Preprocessed source and the running script are attached.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191112/75fe94dc/attachment.html>


More information about the llvm-bugs mailing list