On Mon, Jun 20, 2022 at 03:50:23PM +1200, Michael Hudson-Doyle wrote: > On Mon, 20 Jun 2022 at 14:59, Shengjing Zhu <z...@debian.org> wrote: > > > On Mon, Jun 20, 2022 at 08:42:51AM +1200, Michael Hudson-Doyle wrote: > > > Ah yes but that patch doesn't actually work in practice. I've been slack > > on > > > this :( > > > > > > IIRC the problem with https://go-review.googlesource.com/c/go/+/339370 > > is > > > that lto causes some of the references in the linked executable to > > > disappear, meaning cgo can't do the analysis it needs to do. It's a shame > > > because it's obviously a much cleaner patch... > > > > > > > However CL281314 has its own problem that causes several packages FTBFS > > (#982701, #982714, #982720, #982724, #982734) > > > > I think that was a broken version of the patch -- the packages those bugs > affect build fine in Ubuntu now afaics -- but I haven't checked explicitly. >
It seems there are still many golang* package in lto-disabled-list[1]. [1] https://launchpad.net/ubuntu/+source/lto-disabled-list We should redo the archive-rebuild with the patch in golang-1.18, since the bugs are for golang-1.15, which is quite old now.