<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 - Missing symbol `typeinfo for llvm::raw_ostream' in LLVM-4.0.so"
   href="https://bugs.llvm.org/show_bug.cgi?id=33683">33683</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Missing symbol `typeinfo for llvm::raw_ostream' in LLVM-4.0.so
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>4.0
          </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>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Linker
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>yuri@tsoft.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=18746" name="attach_18746" title="testcase.cpp">attachment 18746</a> <a href="attachment.cgi?id=18746&action=edit" title="testcase.cpp">[details]</a></span>
testcase.cpp

Compiling the attached testcase on the FreeBSD 11 with this line:
<span class="quote">> /usr/local/llvm40/bin/clang++ -I/usr/local/include -std=c++11 -I/usr/local/llvm40/include -o testcase testcase.cpp -L /usr/local/llvm40/lib -lLLVM-4.0</span >

produces this error:
<span class="quote">> /tmp/testcase-70631b.o:(.rodata._ZTIN4llvm17raw_pwrite_streamE[_ZTIN4llvm17raw_pwrite_streamE]+0x10): undefined reference to `typeinfo for llvm::raw_ostream'</span >

FreeBSD package llvm40-4.0.1.r1_4</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>