[llvm-bugs] [Bug 30791] New: ranlib from Xcode 7.3.1 and later fails on LTO object files generate by llvm.org clang

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Oct 25 14:49:53 PDT 2016


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

            Bug ID: 30791
           Summary: ranlib from Xcode 7.3.1 and later fails on LTO object
                    files generate by llvm.org clang
           Product: clang
           Version: 3.9
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: howarth.mailing.lists at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

On OS X 10.11 with Xcode 7.3.1 or with Xcode 8.1 GM, the system ranlib fails
during 'ar rc' on a set of object files created with -flto by the llvm.org
clang 3.9 or 4.0svn compiler...

ar cr libtar.a paxerror.o paxexit-status.o paxnames.o rtapelib.o stdopen.o
wordsplit.o xattr-at.o 
error: Unknown attribute kind (52) (Producer: 'LLVM4.0.0' Reader: 'LLVM
APPLE_1_800.0.42.1_0')
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar:
internal ranlib command failed

This error doesn't occur for the same llvm.org clang 3.9 or 4.0svn compilers
under the ranlib from Xcode 5.1 on OS X 10.9 or Xcode 7.2.1 on OS X 10.10.

This issue doesn't occur with the system clang compiler on any of the above
Xcode releases while compiling tar 1.29 using -flto.

-- 
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/20161025/3b4aa880/attachment-0001.html>


More information about the llvm-bugs mailing list