<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:ldionne@apple.com" title="Louis Dionne <ldionne@apple.com>"> <span class="fn">Louis Dionne</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Definition __ZTSPKDu in itanium-base.exp is used for -export_symbol but is really undefined"
   href="https://bugs.llvm.org/show_bug.cgi?id=43749">bug 43749</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>ldionne@apple.com
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Assignee</td>
           <td>unassignedbugs@nondot.org
           </td>
           <td>ldionne@apple.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Definition __ZTSPKDu in itanium-base.exp is used for -export_symbol but is really undefined"
   href="https://bugs.llvm.org/show_bug.cgi?id=43749#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Definition __ZTSPKDu in itanium-base.exp is used for -export_symbol but is really undefined"
   href="https://bugs.llvm.org/show_bug.cgi?id=43749">bug 43749</a>
              from <span class="vcard"><a class="email" href="mailto:ldionne@apple.com" title="Louis Dionne <ldionne@apple.com>"> <span class="fn">Louis Dionne</span></a>
</span></b>
        <pre>What compiler are you using? I'm guessing you're using a fairly old Clang.

The issue is that the compiler emits type information for fundamental types in
libc++abi, and your compiler doesn't know about char8_t yet, so it doesn't emit
the type information for those. libc++abi tries to export these symbols and it
fails to do so, because they haven't been generated in the dylib by the
compiler.

Getting a linker error is quite nice, because otherwise you'd be producing a
libc++abi.dylib that doesn't work properly at runtime (say if you try to use
typeid(char8_t) in your program).

The fix is to use a recent Clang when building libc++ and libc++abi.</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>