https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-go/go-md2man-2.0.3 fails to compile. Discovered on: x86 (internal ref: tinderbox_x86) System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Created attachment 885018 [details] build.log build log and emerge --info
*** Bug 924630 has been marked as a duplicate of this bug. ***
*** Bug 924629 has been marked as a duplicate of this bug. ***
I can hit this with syncthing-1.27.2 with dev-lang/go-1.22.0, but downgrading Go to dev-lang/go-1.21.7, it builds fine.
(In reply to Sam James from comment #4) > I can hit this with syncthing-1.27.2 with dev-lang/go-1.22.0, but > downgrading Go to dev-lang/go-1.21.7, it builds fine. At first, this looked like https://github.com/golang/go/issues/47949, but it doesn't make sense by itself given it's a regression and that linked bug isn't.
Are you sure this is only affects x86? This comment on github suggests that it is an issue with CGO_ENABLED=0 and -buildmode=pie being incompatible and go-1.22 intentionally breaks the build in this case: github.com/golang/go/issues/64875#issuecomment-1974786520
(In reply to lukasstraub2 from comment #6) > Are you sure this is only affects x86? This comment on github suggests that > it is an issue with CGO_ENABLED=0 and -buildmode=pie being incompatible and > go-1.22 intentionally breaks the build in this case: > github.com/golang/go/issues/64875#issuecomment-1974786520 Yeah, I've seen it on amd64 too.
I hope to look at this over the weekend even though it's.. gross.