]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
goarch: disable dynamic linking globally
authorJose Quaresma <quaresma.jose@gmail.com>
Wed, 28 Feb 2024 18:30:07 +0000 (18:30 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 3 Mar 2024 16:28:17 +0000 (16:28 +0000)
commit827c60b79e7fcafd14e68870f6b69dcc48ac9c39
tree70b136207b9b4b7669b11566165fd6220ad50d68
parent51a3cb046de4cfd66ecef36031fa96be29ef0a2a
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: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/goarch.bbclass