<html>
<head>
<base href="http://llvm.org/bugs/" />
</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 --- - Assertion failed: (Weights.size() >= 2 && "Need at least two branch weights!"), function createBranchWeights"
href="http://llvm.org/bugs/show_bug.cgi?id=18084">18084</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assertion failed: (Weights.size() >= 2 && "Need at least two branch weights!"), function createBranchWeights
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>FreeBSD
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Driver
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>avg@FreeBSD.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Assertion failed: (Weights.size() >= 2 && "Need at least two branch weights!"),
function createBranchWeights, file
/usr/src/lib/clang/libclangcodegen/../../../contrib/llvm/include/llvm/IR/MDBuilder.h,
line 65.
Stack dump:
0. Program arguments: /usr/bin/clang -cc1 -triple
x86_64-unknown-freebsd11.0 -emit-obj -disable-free -main-file-name
OOJavaScriptEngine.m -mrelocation-model pic -pic-level 2 -mdisable-fp-elim
-relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables
-target-cpu amdfam10 -coverage-file
/usr/obj/ports/usr/ports/games/oolite/work/oolite-source-1.76/obj.spk/oolite.obj/OOJavaScriptEngine.m.o
-resource-dir /usr/bin/../lib/clang/3.3 -dependency-file
obj.spk/oolite.obj/OOJavaScriptEngine.m.d -MT
obj.spk/oolite.obj/OOJavaScriptEngine.m.o -MP -D GNUSTEP -D
GNUSTEP_BASE_LIBRARY=1 -D GNU_RUNTIME=1 -D GNUSTEP_BASE_LIBRARY=1 -D
_NATIVE_OBJC_EXCEPTIONS -D _NONFRAGILE_ABI -D GSWARN -D GSDIAGNOSE -D
LOADSAVEGUI -D LINUX -D XP_UNIX -D _GNU_SOURCE=1 -D _REENTRANT -D
HAVE_LIBESPEAK=1 -D MOZ_TRACE_JSCALLS=1 -D NDEBUG -D OO_CHECK_GL_HEAVY=0 -D
OO_EXCLUDE_DEBUG_SUPPORT=1 -D OO_OXP_VERIFIER_ENABLED=0 -D
OO_LOCALIZATION_TOOLS=0 -D DEBUG_GRAPHVIZ=0 -I /usr/local/include/SDL -I
/usr/local/include -I /usr/local/include/nspr -I
deps/Cross-platform-deps/mozilla/js/src/build-release/dist/include -I src/SDL
-I src/Core -I src/BSDCompat -I src/Core/Scripting -I src/Core/Materials -I
src/Core/Entities -I src/Core/OXPVerifier -I src/Core/Debug -I src/Core/Tables
-I . -I /home/avg/GNUstep/Library/Headers -I
/usr/local/GNUstep/Local/Library/Headers -I
/usr/local/GNUstep/System/Library/Headers -I /usr/local/include -O2 -Wall
-Wno-import -Wall -Wno-import -std=c99 -fdebug-compilation-dir
/usr/obj/ports/usr/ports/games/oolite/work/oolite-source-1.76
-fconstant-string-class NSConstantString -ferror-limit 19 -fmessage-length 230
-pthread -mstackrealign -fblocks -fobjc-runtime=gnustep-1.6
-fobjc-dispatch-method=non-legacy -fobjc-default-synthesize-properties
-fobjc-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics
-backend-option -vectorize-loops -o obj.spk/oolite.obj/OOJavaScriptEngine.m.o
-x objective-c src/Core/Scripting/OOJavaScriptEngine.m
1. <eof> parser at end of file
2. Per-module optimization passes
3. Running pass 'CallGraph Pass Manager' on module
'src/Core/Scripting/OOJavaScriptEngine.m'.
4. Running pass 'Simplify the CFG' on function
'@OOJSObjectGetterImplPRIVATE'
clang: error: unable to execute command: Abort trap (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
Target: x86_64-unknown-freebsd11.0
Thread model: posix</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>