cmd/go/internal/work/security: add -ftls-model=(.*)
to safelist
#69711
Labels
GoCommand
cmd/go
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Go version
go version go1.23.1 linux/amd64
Output of
go env
in your module/workspace:What did you do?
Added
-ftls-model=local-dynamic
to a# cgo CFLAGS:
directive to work-around issues withinitial-exec
thread-local storage model on alpine with musl.What did you see happen?
What did you expect to see?
Build should work normally.
Work-around: define
CGO_CFLAGS_ALLOW='-ftls-model=(.*)'
environment variable.The text was updated successfully, but these errors were encountered: