|
From: | matoro_bugzilla_glibc at matoro dot tk |
Subject: | [Bug ld/29592] [2.39 Regression][bisected] Exec stack warning causes go programs with cgo to fail to link on mips |
Date: | Wed, 21 Sep 2022 14:55:01 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29592 --- Comment #3 from matoro <matoro_bugzilla_glibc at matoro dot tk> --- The warning itself is correct. In golang, CGO_ENABLED=1 (the default) creates a dynamic exe, while CGO_ENABLED=0 produces a static one. However the -fPIC part is not accurate. Golang has its own assembly emitter, it doesn't use gcc or any compiler for codegen. It only uses ld for linking. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |