[llvm-bugs] [Bug 26963] New: Linking fails on OS X with -flto
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Mar 16 09:30:17 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=26963
Bug ID: 26963
Summary: Linking fails on OS X with -flto
Product: compiler-rt
Version: unspecified
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: compiler-rt
Assignee: unassignedbugs at nondot.org
Reporter: dane at mapbox.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
>From reading https://llvm.org/bugs/show_bug.cgi?id=18279 it appears that it may
be impossible to build compiler-rt with the -flto flag. Just in case this
should work on OS X i'm filing this issue with what I see when doing this:
error:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
library member:
lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a(InstrProfilingRuntime.cc.o)
is not an object file (not allowed in a library with multiple architectures)
error:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
library member:
lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a(InstrProfilingRuntime.cc.o)
is not an object file (not allowed in a library with multiple architectures)
error:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
library member:
lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a(InstrProfilingRuntime.cc.o)
is not an object file (not allowed in a library with multiple architectures)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar:
internal ranlib command failed
More details at https://github.com/springmeyer/build-llvm/issues/2
--
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/20160316/2aeecc76/attachment.html>
More information about the llvm-bugs
mailing list