<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 --- - CommandLine on SPARC is non-functional"
   href="https://llvm.org/bugs/show_bug.cgi?id=28644">28644</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>CommandLine on SPARC is non-functional
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>3.8
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Sun
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Solaris
          </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>Support Libraries
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>stefan.teleman@oracle.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>In LLVM libSupport:

1. CommandLine.[h|cpp] does not work on Solaris SPARC at all.

Either it crashes with SIGBUS, or it exits with errors about options
having been already seen and processed.

2. raw_ostream mishbehaves on Solaris SPARC: SIGBUS.

A patch will be sent to llvm-commits, and will reference this bug.

The patch itself is very large.

With this patch, everything works correctly, with the exception of
option aliasing. Three tests related to option aliasing in the
LLVM SupportTests unittest still fail.

Option aliasing does not appear to be used anywhere in LLVM or clang.

The patch has been tested on Solaris Intel, Solaris SPARC and Linux
Intel.</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>