You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Some Go version managers like github.com/voidint/g use GOROOT symlinks,
which silently broke the way we patch the linker via go build -overlay.
Reproduced the original crash via the following testscript:
env GARBLE_CACHE=${WORK}/garble-cache
symlink goroot -> /usr/lib/go
env GOROOT=${WORK}/goroot
exec garble run main.go
-- main.go --
package main
import "fmt"
func main() {
fmt.Println("hello world")
}
We don't commit this testscript given how it's an expensive test
and for a relatively rare edge case whose fix is now well documented.
Moreover, as GOTOOLCHAIN is now available, I expect version managers
for Go to fade away with time.
While here, remove a debugging 'exec cat' from a testscript.
Fixes #915.
|
10 months ago | |
|---|---|---|
| .. | ||
| asm.txtar | 1 year ago | |
| atomic.txtar | 1 year ago | |
| basic.txtar | 1 year ago | |
| cache.txtar | 1 year ago | |
| cgo.txtar | 10 months ago | |
| crossbuild.txtar | 1 year ago | |
| ctrlflow.txtar | 1 year ago | |
| debugdir.txtar | 11 months ago | |
| embed.txtar | 1 year ago | |
| goenv.txtar | 1 year ago | |
| gogarble.txtar | 1 year ago | |
| gotoolchain.txtar | 10 months ago | |
| goversion.txtar | 10 months ago | |
| help.txtar | 10 months ago | |
| implement.txtar | 1 year ago | |
| imports.txtar | 1 year ago | |
| init.txtar | 1 year ago | |
| ldflags.txtar | 1 year ago | |
| linker.txtar | 1 year ago | |
| linkname.txtar | 10 months ago | |
| linkname_forbid.txtar | 10 months ago | |
| list_error.txtar | 1 year ago | |
| literals.txtar | 1 year ago | |
| modinfo.txtar | 1 year ago | |
| plugin.txtar | 1 year ago | |
| position.txtar | 1 year ago | |
| reflect.txtar | 1 year ago | |
| reverse.txtar | 1 year ago | |
| run.txtar | 1 year ago | |
| seed-cache.txtar | 1 year ago | |
| seed.txtar | 1 year ago | |
| syntax.txtar | 1 year ago | |
| test.txtar | 1 year ago | |
| tiny.txtar | 1 year ago | |
| typeparams.txtar | 1 year ago | |