[llvm-bugs] [Bug 28644] New: CommandLine on SPARC is non-functional

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 21 10:34:16 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28644

            Bug ID: 28644
           Summary: CommandLine on SPARC is non-functional
           Product: libraries
           Version: 3.8
          Hardware: Sun
                OS: Solaris
            Status: NEW
          Severity: normal
          Priority: P
         Component: Support Libraries
          Assignee: unassignedbugs at nondot.org
          Reporter: stefan.teleman at oracle.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160721/9fa8f998/attachment-0001.html>


More information about the llvm-bugs mailing list