I am trying to build an lgo docker image for Go1.10 (working up to
Go1.12 with this), but I am finding that the process fails with the
following panic.

lgo invokes go install with -buildmode=shared -linkshared and I suspect
this is the cause of the problem.

Is this a known issue?

thanks
Dan

panic: runtime error: index out of range

goroutine 1 [running]:
cmd/go/internal/work.(*Builder).linkSharedAction.func2(0x831da0)
        /usr/local/go/src/cmd/go/internal/work/action.go:708 +0x995
cmd/go/internal/work.(*Builder).cacheAction(0xc42011f2c0, 0xc420532f40,
0x14, 0x0, 0xc42037a150, 0xc420532f40)
        /usr/local/go/src/cmd/go/internal/work/action.go:300 +0x9f
cmd/go/internal/work.(*Builder).linkSharedAction(0xc42011f2c0, 0x1,
0x1, 0xc4200254e8, 0x6, 0xc420139680, 0xc4200254e8)
        /usr/local/go/src/cmd/go/internal/work/action.go:701 +0x29f
cmd/go/internal/work.(*Builder).buildmodeShared(0xc42011f2c0, 0x1, 0x1,
0xc42001e0d0, 0x1, 0x1, 0x0, 0x0, 0x0, 0xc420139680, ...)
        /usr/local/go/src/cmd/go/internal/work/action.go:612 +0x12f
cmd/go/internal/work.InstallPackages(0xc42001e0d0, 0x1, 0x1, 0x0)
        /usr/local/go/src/cmd/go/internal/work/build.go:478 +0xdac
cmd/go/internal/work.runInstall(0xb01a40, 0xc42001e0d0, 0x1, 0x1)
        /usr/local/go/src/cmd/go/internal/work/build.go:412 +0x49
main.main()
        /usr/local/go/src/cmd/go/main.go:140 +0x7e1
(16/121) failed to install
"gonum.org/v1/gonum/blas/testblas/benchautogen": exit status 2

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to