Gentoo ARM (32bit) glibc I get this error: * Package: dev-go/go-md2man-2.0.3:0 * Repository: gentoo * Maintainer: williamh@gentoo.org * USE: arm elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking go-md2man-2.0.3.tar.gz to /var/tmp/portage/dev-go/go-md2man-2.0.3/work >>> Source unpacked in /var/tmp/portage/dev-go/go-md2man-2.0.3/work >>> Preparing source in /var/tmp/portage/dev-go/go-md2man-2.0.3/work/go-md2man-2.0.3 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-go/go-md2man-2.0.3/work/go-md2man-2.0.3 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-go/go-md2man-2.0.3/work/go-md2man-2.0.3 ... make -j4 BUILD_FLAGS=-mod=vendor build WORK=/var/tmp/portage/dev-go/go-md2man-2.0.3/temp/go-build1856557011 -buildmode=pie requires external (cgo) linking, but cgo is not enabled make: *** [Makefile:19: bin/go-md2man] Error 1 There is a related forum topic here: https://forums.gentoo.org/viewtopic-p-8824188.html It is marked as [solved], but I couldn't find the solution in that topic. The patch doesn't solve the problem. Thanks. Reproducible: Always
I have the same issue on X86 (32 bit) gcc-13, glibc-2.39-r9, 6.6.47-gentoo i686
The problem seems to be dev-lang/go. The last version with which go-md2man could be compiled was dev-lang/go-1.21.11. Even with the latest version dev-lang/go-1.23.1 I get exactly the same error message when I compile dev-go/md2man-2.0.3. Already waiting April 2024 for the solution ;-(
*** This bug has been marked as a duplicate of bug 924632 ***