This repository was archived by the owner on Dec 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 80
This repository was archived by the owner on Dec 14, 2023. It is now read-only.
__compact_unwind linker issue (possibly darwin specific) #146
Copy link
Copy link
Open
Description
Didn't find one for this one neither, and it still happens (also originally from #70 (comment)). Any ideas?
14:34 /tmp $ cat hello.go
package main
func main() {
println("hello")
}
14:34 /tmp $ llgo-build -run hello.go
2014/04/18 14:34:24 building main
Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
clang: warning: argument unused during compilation: '-pthread'
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.9.0 -o /var/folders/n1/yjqlqd2s04x7th1152h48hsr0000gn/T/llgo102561321/hello.bc -L/usr/local/Cellar/llvm/3.4/lib /var/folders/n1/yjqlqd2s04x7th1152h48hsr0000gn/T/llgo102561321/hello.bc.o -lz -lpthread -lcurses -lm -L/usr/local/Cellar/llvm/3.4/lib -lLLVM-3.4 -lc++ -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.1/lib/darwin/libclang_rt.osx.a
ld: warning: __LD,__compact_unwind entries for _runtime.ctlz8 have a gap at offset 0x1D
ld: warning: __LD,__compact_unwind entries for _runtime.ctlz8 have a gap at offset 0xCD
ld: warning: __LD,__compact_unwind entries for _runtime.ctlz8 have a gap at offset 0xE7
hello
14:34 /tmp $ cat hello.go
package main
import "fmt"
func main() {
fmt.Println("hello")
}
14:34 /tmp $ llgo-build -run hello.go
2014/04/18 14:34:31 building main
Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
clang: warning: argument unused during compilation: '-pthread'
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.9.0 -o /var/folders/n1/yjqlqd2s04x7th1152h48hsr0000gn/T/llgo252369648/hello.bc -L/usr/local/Cellar/llvm/3.4/lib -L/usr/local/Cellar/llvm/3.4/lib /var/folders/n1/yjqlqd2s04x7th1152h48hsr0000gn/T/llgo252369648/hello.bc.o -lz -lpthread -lcurses -lm -L/usr/local/Cellar/llvm/3.4/lib -lLLVM-3.4 -lz -lpthread -lcurses -lm -L/usr/local/Cellar/llvm/3.4/lib -lLLVM-3.4 -lc++ -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.1/lib/darwin/libclang_rt.osx.a
ld: warning: __LD,__compact_unwind entries for _(fmt.ScanState).Read have a gap at offset 0x4D
ld: warning: __LD,__compact_unwind entries for _(fmt.ScanState).Read have a gap at offset 0x6E
ld: warning: __LD,__compact_unwind entries for _(fmt.ScanState).Read have a gap at offset 0x1DE
ld: warning: __LD,__compact_unwind entries for _(fmt.ScanState).Read have a gap at offset 0x1F7
ld: warning: __LD,__compact_unwind entries for _(fmt.ScanState).Read have a gap at offset 0x217
ld: warning: __LD,__compact_unwind entries for _(fmt.ScanState).Read have a gap at offset 0x263
ld: warning: __LD,__compact_unwind entries for _reflect.methodFuncStub have a gap at offset 0x6
ld: warning: __LD,__compact_unwind entries for _reflect.methodFuncStub have a gap at offset 0x75
ld: warning: __LD,__compact_unwind entries for _reflect.methodFuncStub have a gap at offset 0x97
ld: warning: __LD,__compact_unwind entries for _reflect.methodFuncStub have a gap at offset 0xBA
ld: warning: __LD,__compact_unwind entries for _reflect.methodFuncStub have a gap at offset 0xDA
ld: warning: __LD,__compact_unwind entries for _reflect.methodFuncStub have a gap at offset 0xFA
ld: warning: __LD,__compact_unwind entries for _reflect.methodFuncStub have a gap at offset 0x11A
ld: warning: __LD,__compact_unwind entries for _reflect.methodFuncStub have a gap at offset 0x13A
ld: warning: __LD,__compact_unwind entries for _reflect.methodFuncStub have a gap at offset 0x15A
ld: warning: __LD,__compact_unwind entries for _reflect.methodFuncStub have a gap at offset 0x17A
ld: warning: __LD,__compact_unwind entries for _reflect.methodFuncStub have a gap at offset 0x19A
ld: warning: __LD,__compact_unwind entries for _reflect.methodFuncStub have a gap at offset 0x1BA
ld: warning: __LD,__compact_unwind entries for _reflect.methodFuncStub have a gap at offset 0x1DA
ld: warning: __LD,__compact_unwind entries for _reflect.methodFuncStub have a gap at offset 0x1FA
ld: warning: __LD,__compact_unwind entries for _reflect.methodFuncStub have a gap at offset 0x21A
ld: too many compact unwind infos in function _reflect.methodFuncStub file '/var/folders/n1/yjqlqd2s04x7th1152h48hsr0000gn/T/llgo252369648/hello.bc.o' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
2014/04/18 14:34:33 exit status 1
14:34 /tmp $
Metadata
Metadata
Assignees
Labels
No labels