<html>
<head>
<base href="https://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 --- - repetition of CMAKE_CXX_FLAGS in compiler-rt/lib/sanitizer_common incompatible with -enable-newgvn option"
href="https://llvm.org/bugs/show_bug.cgi?id=31506">31506</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>repetition of CMAKE_CXX_FLAGS in compiler-rt/lib/sanitizer_common incompatible with -enable-newgvn option
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Macintosh
</td>
</tr>
<tr>
<th>OS</th>
<td>MacOS X
</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>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>howarth.mailing.lists@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Current llvm trunk with the remainder of the proposed fix for
<a class="bz_bug_link
bz_status_NEW "
title="NEW --- - New GVN causes a failure in some lnt tests on PowerPC"
href="show_bug.cgi?id=31483">https://llvm.org/bugs/show_bug.cgi?id=31483</a> applied is unable to complete a
3-stage bootstrap with '-mllvm -enable-newgvn' passed to cmake on
-DCMAKE_CXX_FLAGS due to the repetition of the CMAKE_CXX_FLAGS flags there...
[ 35%] Building CXX object
projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.osx.dir/sanitizer_libignore.cc.o
cd
/sw/src/fink.build/llvm40-4.0.0-1/build/stage2/projects/compiler-rt/lib/sanitizer_common
&& /sw/src/fink.build/llvm40-4.0.0-1/opt-bin/cc-st1-clang++
-DHAVE_RPC_XDR_H=0 -DHAVE_TIRPC_RPC_XDR_H=0 -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-I/sw/src/fink.build/llvm40-4.0.0-1/build/stage2/projects/compiler-rt/lib/sanitizer_common
-I/sw/src/fink.build/llvm40-4.0.0-1/llvm-4.0.0.src/projects/compiler-rt/lib/sanitizer_common
-I/sw/src/fink.build/llvm40-4.0.0-1/build/stage2/include
-I/sw/src/fink.build/llvm40-4.0.0-1/llvm-4.0.0.src/include -mllvm
-enable-newgvn -std=c++11 -stdlib=libc++ -cxx-isystem
/sw/src/fink.build/llvm40-4.0.0-1/llvm-4.0.0.src/../libcxx-4.0.0.src/include
-L/sw/src/fink.build/llvm40-4.0.0-1/llvm-4.0.0.src/../build/last-libcxx/lib
-fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings
-Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long
-Wnon-virtual-dtor -std=c++11 -Wall -std=c++11 -O3 -DNDEBUG -arch i386 -arch
x86_64 -arch x86_64h -mllvm -enable-newgvn -std=c++11 -stdlib=libc++
-cxx-isystem
/sw/src/fink.build/llvm40-4.0.0-1/llvm-4.0.0.src/../libcxx-4.0.0.src/include
-L/sw/src/fink.build/llvm40-4.0.0-1/llvm-4.0.0.src/../build/last-libcxx/lib
-fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings
-Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long
-Wnon-virtual-dtor -std=c++11 -Wall -std=c++11 -stdlib=libc++
-mmacosx-version-min=10.9 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
-fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables
-fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden
-fvisibility-inlines-hidden -fno-lto -O3 -gline-tables-only -fno-rtti -o
CMakeFiles/RTSanitizerCommon.osx.dir/sanitizer_libignore.cc.o -c
/sw/src/fink.build/llvm40-4.0.0-1/llvm-4.0.0.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_libignore.cc
clang (LLVM option parsing): for the -enable-newgvn option: may only occur zero
or one times!
make[2]: ***
[projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.osx.dir/sanitizer_allocator.cc.o]
Error 1
make[2]: *** Waiting for unfinished jobs....</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>