Skip to content
This repository has been archived by the owner on Nov 22, 2018. It is now read-only.

Compile error #1

Closed
0x6e6562 opened this issue Nov 29, 2013 · 2 comments
Closed

Compile error #1

0x6e6562 opened this issue Nov 29, 2013 · 2 comments
Assignees

Comments

@0x6e6562
Copy link

I was wondering what the easiest way to get rid of this compile error is:

$ go get github.com/cznic/zappy
# github.com/cznic/zappy
clang: error: argument unused during compilation: '-fno-eliminate-unused-debug-types'
$ clang -v
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix
$ go version
go version go1.1.2 darwin/amd64
@cznic
Copy link
Owner

cznic commented Nov 29, 2013

Possible approaches (no access to Mac == not tested)

$ # a)
$ go clean -i github.com/cznic/zappy
$ CGO_ENABLED=0 go install github.com/cznic/zappy

$ # b)
$ go install -tags purego github.com/cznic/zappy

c) Use go1.2, see issue 6515

Please report back if this solved the problem.

#WaitingForReply

@ghost ghost assigned cznic Nov 29, 2013
@0x6e6562
Copy link
Author

Variant (a) worked for me - thanks for your help.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants