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 Package.Build panics for some packages when using a binary importer #7028

axw opened this issue Dec 30, 2013 · 2 comments


Copy link

axw commented Dec 30, 2013

What steps will reproduce the problem?
If possible, include a link to a program on
1. Run

This also occurs when building archive/zip and archive/tar, among several others in the
standard library.

What is the expected output?

No output, zero return code

What do you see instead?

panic: no concrete method: func (*math/big.Int).SetInt64(x int64) *math/big.Int

goroutine 1 [running]:
runtime.panic(0x5dd740, 0xc21007b660)
    /home/andrew/prog/go/root/src/pkg/runtime/panic.c:266 +0xb6*Program).declaredFunc(0xc2100514e0, 0xc21008abc0,
    /media/msata/code/src/ +0xff*builder).setCallFunc(0x7f5aa726fb3f, 0xc2100ff000,
0xc210069900, 0xc21011b1c0)
    /media/msata/code/src/ +0x2e6*builder).setCall(0x7f5aa726fb3f, 0xc2100ff000,
0xc210069900, 0xc21011b1c0)
    /media/msata/code/src/ +0x59*builder).expr0(0x7f5aa726fb3f, 0xc2100ff000,
0x7f5aa740f788, 0xc210069900, 0x0, ...)
    /media/msata/code/src/ +0x18c4*builder).expr(0x7f5aa726fb3f, 0xc2100ff000,
0x7f5aa740f788, 0xc210069900, 0x200409400, ...)
    /media/msata/code/src/ +0x1a8*builder).exprInPlace(0x7f5aa726fb3f, 0xc2100ff000,
0x7f5aa7414878, 0xc2101177e0, 0x7f5aa740f788, ...)
    /media/msata/code/src/ +0x246*Package).Build(0xc21005ae70)
    /media/msata/code/src/ +0xa85
main.buildSSA(0xc21001daf0, 0x69d930, 0xc, 0x7f5aa740f0e0, 0x960d80)
    /tmp/bug/bug.go:52 +0x3aa
    /tmp/bug/bug.go:63 +0x79

Which compiler are you using (5g, 6g, 8g, gccgo)?


Which operating system are you using?

GNU/Linux (Ubuntu 13.10)

Which version are you using?  (run 'go version')

go version go1.2 linux/amd64
Copy link

adonovan commented Jan 7, 2014

Comment 1:

Owner changed to @adonovan.

Copy link

adonovan commented Jan 9, 2014

Comment 2:

This issue was closed by revision golang/tools@3d82e7e.

Status changed to Fixed.

@axw axw added the fixed label Jan 9, 2014
@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet

No branches or pull requests

3 participants