<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - PowerPC64: clang crash while building commoncpp"
href="https://bugs.llvm.org/show_bug.cgi?id=43979">43979</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>PowerPC64: clang crash while building commoncpp
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>9.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Sun
</td>
</tr>
<tr>
<th>OS</th>
<td>FreeBSD
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>C++
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>pkubaj@anongoth.pl
</td>
</tr>
<tr>
<th>CC</th>
<td>blitzrakete@gmail.com, dgregor@apple.com, erik.pilkington@gmail.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=22800" name="attach_22800" title="crash data">attachment 22800</a> <a href="attachment.cgi?id=22800&action=edit" title="crash data">[details]</a></span>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>