Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cgo may through off godebug #5

Closed
glycerine opened this issue Feb 9, 2015 · 2 comments
Closed

cgo may through off godebug #5

glycerine opened this issue Feb 9, 2015 · 2 comments

Comments

@glycerine
Copy link

at 606f703

under go1.4.1, under goq, on vagrant/linux/amd64, it looks like CGO functions may throw off godebug

vagrant@mailgun-dev:~/goq$ godebug -w .
/home/vagrant/goq/inspecterrno.go:14:17: undeclared name: _Cfunc_addr_of_errno
/home/vagrant/goq/inspecterrno.go:26:13: undeclared name: _Cfunc_errno_itself
Error loading packages: couldn't load packages due to errors: .

Usage of godebug:

godebug <flags> <args>

flags:
  -w=false: write result to (source) file instead of stdout

<args> is a list of arguments denoting a set of initial packages.
It may take one of two forms:

1. A list of *.go source files.

   All of the specified files are loaded, parsed and type-checked
...
@jeremyschlatter
Copy link
Contributor

Thanks for the report. I'm hoping that fixing this will just be a matter of configuring loader correctly. I'll look into it tonight.

jeremyschlatter added a commit that referenced this issue Feb 10, 2015
@jeremyschlatter
Copy link
Contributor

@glycerine Try again at 7e8da1d

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

No branches or pull requests

2 participants