]> Cypherpunks repositories - gostls13.git/commit
os/user,net: add -fno-stack-protector to CFLAGS
authorThan McIntosh <thanm@google.com>
Mon, 12 Dec 2022 15:53:17 +0000 (10:53 -0500)
committerThan McIntosh <thanm@google.com>
Fri, 16 Dec 2022 17:45:51 +0000 (17:45 +0000)
commit8bcc490667d4dd44c633c536dd463bbec0a3838f
treea5167839ebf94057bad403c54f31f6c88371ff97
parentf4b42f5cb8b494a2b64a4ade89f89071d80c7fd3
os/user,net: add -fno-stack-protector to CFLAGS

Some compilers default to having -fstack-protector on, which breaks
when using internal linking because the linker doesn't know how to
find the support functions.

Updates #52919.
Updates #54313.
Fixes #57261.

Change-Id: Iaae731851407af4521fff2dfefc5b7e3e92cf284
Reviewed-on: https://go-review.googlesource.com/c/go/+/456855
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/net/cgo_unix_cgo.go
src/os/user/cgo_lookup_cgo.go