<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 --- - Segfault when trying to compile boost unit test suite"
   href="https://llvm.org/bugs/show_bug.cgi?id=28114">28114</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Segfault when trying to compile boost unit test suite
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.8
          </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>C++14
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>armanschwarz@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>arman@arman-Studio-1555:~/ml/build$ ninja topologyTest
[9/10] Building CXX object topology/test/CMakeFiles/topologyTest.dir/main.cpp.o
FAILED: /usr/bin/clang++   -DBOOST_LOG_DYN_LINK -isystem /usr/local/include
-I/home/arman/ml/src -g   -std=c++14 -Wpedantic -Wall -Wextra -MMD -MT
topology/test/CM
akeFiles/topologyTest.dir/main.cpp.o -MF
topology/test/CMakeFiles/topologyTest.dir/main.cpp.o.d -o
topology/test/CMakeFiles/topologyTest.dir/main.cpp.o -c /home/ar
man/ml/src/topology/test/main.cpp
0  libLLVM-3.8.so.1 0x00007f0f915e4d38
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 56
1  libLLVM-3.8.so.1 0x00007f0f915e2fc6 llvm::sys::RunSignalHandlers() + 54
2  libLLVM-3.8.so.1 0x00007f0f915e3129
3  libc.so.6        0x00007f0f907204a0
4  libLLVM-3.8.so.1 0x00007f0f91749ea4 llvm::Use::getImpliedUser() const + 4
5  libLLVM-3.8.so.1 0x00007f0f91749f09 llvm::Use::getUser() const + 9
6  libLLVM-3.8.so.1 0x00007f0f919eb0a0
llvm::FunctionLoweringInfo::set(llvm::Function const&, llvm::MachineFunction&,
llvm::SelectionDAG*) + 528
7  libLLVM-3.8.so.1 0x00007f0f91af84b2
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 722
8  libLLVM-3.8.so.1 0x00007f0f9294a1c4
9  libLLVM-3.8.so.1 0x00007f0f9172a2a2
llvm::FPPassManager::runOnFunction(llvm::Function&) + 498
10 libLLVM-3.8.so.1 0x00007f0f9172a63b
llvm::FPPassManager::runOnModule(llvm::Module&) + 43
11 libLLVM-3.8.so.1 0x00007f0f91729eef
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 783
12 clang            0x00000000006ea8c3
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOp
tions const&, llvm::StringRef, llvm::Module*, clang::BackendAction,
llvm::raw_pwrite_stream*) + 4403
13 clang            0x0000000000a15d91
14 clang            0x0000000000b3676a clang::ParseAST(clang::Sema&, bool,
bool) + 938
15 clang            0x000000000099a1fe clang::FrontendAction::Execute() + 302
16 clang            0x000000000096fbf6
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 278
17 clang            0x0000000000a14aa3
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1987
18 clang            0x00000000006b2d18 cc1_main(llvm::ArrayRef<char const*>,
char const*, void*) + 2264
19 clang            0x00000000006af7ac main + 6252
20 libc.so.6        0x00007f0f9070b830 __libc_start_main + 240
21 clang            0x00000000006b1159 _start + 41
Stack dump:
0.      Program arguments: /usr/lib/llvm-3.8/bin/clang -cc1 -triple
x86_64-pc-linux-gnu -emit-obj -mrelax-all -disable-free -disable-llvm-verifier
-main-file-name 
main.cpp -mrelocation-model static -mthread-model posix -mdisable-fp-elim
-fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables
-fuse-init-array -target
-cpu x86-64 -dwarf-column-info -debug-info-kind=limited -dwarf-version=4
-debugger-tuning=gdb -coverage-file
/home/arman/ml/build/topology/test/CMakeFiles/topology
Test.dir/main.cpp.o -resource-dir /usr/lib/llvm-3.8/bin/../lib/clang/3.8.0
-dependency-file topology/test/CMakeFiles/topologyTest.dir/main.cpp.o.d -MT
topology/tes
t/CMakeFiles/topologyTest.dir/main.cpp.o -isystem /usr/local/include -D
BOOST_LOG_DYN_LINK -I /home/arman/ml/src -internal-isystem
/usr/bin/../lib/gcc/x86_64-linux
-gnu/5.3.1/../../../../include/c++/5.3.1 -internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/5.3.1/../../../../include/x86_64-linux-gnu/c++/5.3.1
-internal-isys
tem
/usr/bin/../lib/gcc/x86_64-linux-gnu/5.3.1/../../../../include/x86_64-linux-gnu/c++/5.3.1
-internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/5.3.1/../../..
/../include/c++/5.3.1/backward -internal-isystem /usr/local/include
-internal-isystem /usr/lib/llvm-3.8/bin/../lib/clang/3.8.0/include
-internal-externc-isystem /u
sr/include/x86_64-linux-gnu -internal-externc-isystem /include
-internal-externc-isystem /usr/include -Wpedantic -Wall -Wextra -std=c++14
-fdeprecated-macro -fdebu
g-compilation-dir /home/arman/ml/build -ferror-limit 19 -fmessage-length 0
-fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -o
topology/t
est/CMakeFiles/topologyTest.dir/main.cpp.o -x c++
/home/arman/ml/src/topology/test/main.cpp 
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module
'/home/arman/ml/src/topology/test/main.cpp'.
4.      Running pass 'X86 DAG->DAG Instruction Selection' on function
'@_ZN5boost9unit_test9framework3runEmb'
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.8.0-2ubuntu3 (tags/RELEASE_380/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/main-fda31f.cpp
clang: note: diagnostic msg: /tmp/main-fda31f.sh
clang: note: diagnostic msg: 

********************
ninja: build stopped: subcommand failed.</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>