[LLVMbugs] [Bug 20179] New: Commit 211500 broke linking on os x: address not in any section
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jul 1 10:34:08 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20179
Bug ID: 20179
Summary: Commit 211500 broke linking on os x: address not in
any section
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: MC
Assignee: unassignedbugs at nondot.org
Reporter: andrew.b.adams at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 12728
--> http://llvm.org/bugs/attachment.cgi?id=12728&action=edit
Failing bitcode
On OS X 10.9 with latest XCode, some bitcode files (e.g. the attached one)
compile and link fine with llc from revision 211499, but fail with 211500 and
newer.
$ llc acquire_release.bc -filetype=obj -o acquire_release_211500.o
$ echo "int main(int argc, char **argv) {return 0;}" > dummy.cpp
$ c++ dummy.cpp acquire_release_211500.o
ld: sectionForAddress(0xFFFFFFFFFFFFF900) address not in any section file
'acquire_release_211500.o' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Not sure what property of my bitcode makes this so, but it works fine on linux,
windows, arm linux, android, and native client, but it doesn't compile and link
on OS X anymore.
I independently generated the bitcode with 211499 and 211500, and the files
were byte-for-byte identical, so the problem isn't in the bitcode itself.
--
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/20140701/ce0981b1/attachment.html>
More information about the llvm-bugs
mailing list