Skip to content
Commit 827c60b7 authored by Jose Quaresma's avatar Jose Quaresma Committed by Richard Purdie
Browse files

goarch: disable dynamic linking globally



With go-1.21 dynamic linking cause a runtime panic:

| root@qemux86-64:~# go-helloworld
| panic: runtime error: index out of range [0] with length 0
|
| goroutine 1 [running]:
| flag.init()
|         /usr/lib/go/src/flag/flag.go:1199 +0xf9

In my opinion, this would be a good trade-off so that we can update and
leave the version 1.20 for the next LTS 5.0 since we are already quite
behind on the version available upstream which already has the 1.22 available.

Signed-off-by: default avatarJose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent 51a3cb04
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment