<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 --- - Second stage bootstrap failure after r207606"
href="http://llvm.org/bugs/show_bug.cgi?id=19723">19723</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Second stage bootstrap failure after r207606
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</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>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ismail@donmez.ws
</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>r207606 has broken stage2 bootstrap on openSUSE 13.1 i586/x86-64 with
libcxx/libcxxabi enabled:
[ 723s] FAILED: /home/abuild/rpmbuild/BUILD/llvm/stage1/bin/clang++
-DLLVMSupport_EXPORTS -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -stdlib=libc++ -fPIC
-fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings
-Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default
-Wnon-virtual-dtor -std=c++11 -fcolor-diagnostics -ffunction-sections
-fdata-sections -O2 -g -DNDEBUG -fPIC -Ilib/Support -I../lib/Support -Iinclude
-I../include -fno-exceptions -MMD -MT
lib/Support/CMakeFiles/LLVMSupport.dir/Allocator.cpp.o -MF
lib/Support/CMakeFiles/LLVMSupport.dir/Allocator.cpp.o.d -o
lib/Support/CMakeFiles/LLVMSupport.dir/Allocator.cpp.o -c
../lib/Support/Allocator.cpp
[ 723s] In file included from ../lib/Support/Allocator.cpp:14:
[ 723s] ../include/llvm/Support/Allocator.h:421:65: error: 'S' does not refer
to a value
[ 723s] Size, std::min((size_t)llvm::NextPowerOf2(Size), offsetof(S,
x)));
[ 723s] ^
[ 723s] ../include/llvm/Support/Allocator.h:411:10: note: declared here
[ 723s] struct S {
[ 723s] ^
[ 723s] 1 error generated.
The difference between non-working and working preprocessed file is:
@@ -36617,7 +36628,7 @@
} x;
};
return Allocator.Allocate(
- Size, std::min((size_t)llvm::NextPowerOf2(Size), offsetof(S, x)));
+ Size, std::min((size_t)llvm::NextPowerOf2(Size), __builtin_offsetof(S,
x)));
}
Reverting r207606 fixes the problem.</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>