<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 --- - __eprintf should only be provided for i386"
   href="https://llvm.org/bugs/show_bug.cgi?id=29063">29063</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>__eprintf should only be provided for i386
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>compiler-rt
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.9
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </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>compiler-rt
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>jeremyhu@apple.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>Followup to <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - clang 3.8.1 fails to link i386 macOS due to eprintf.c.o incorrectly being included in libclang_rt.osx.a"
   href="show_bug.cgi?id=28855">bug #28855</a>.

In older versions of compiler-rt, __eprintf was only provided in
libclang_rt.eprintf.a and only for i386.  See r114509 (clang git mirror
885b1dbc6e48db318f7a6b72c1592e8fb46b081a).

The cmake build transition incorrectly added __eprintf to libclang_rt.osx.a and
did so for all architectures (<a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - clang 3.8.1 fails to link i386 macOS due to eprintf.c.o incorrectly being included in libclang_rt.osx.a"
   href="show_bug.cgi?id=28855">bug #28855</a>).

The resolution for <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - clang 3.8.1 fails to link i386 macOS due to eprintf.c.o incorrectly being included in libclang_rt.osx.a"
   href="show_bug.cgi?id=28855">bug #28855</a> did not resolve the regression in compiler-rt but
instead updated clang to no longer link libclang_rt.eprintf.a.

If the intended direction is to include __eprintf in libclang_rt.osx.a, then
compiler-rt needs to be updated to:
   1) Stop building libclang_rt.eprintf.a
   2) Only include __eprintf in the i386 slice</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>