-
-
Notifications
You must be signed in to change notification settings - Fork 233
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
20 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ | |
!build-static.sh | ||
!app.tar | ||
!app_checksum.txt | ||
!*.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/src/runtime/cgo/gcc_stack_unix.c b/src/runtime/cgo/gcc_stack_unix.c | ||
index 884281dc15..d80e017b89 100644 | ||
--- a/src/runtime/cgo/gcc_stack_unix.c | ||
+++ b/src/runtime/cgo/gcc_stack_unix.c | ||
@@ -21,7 +21,7 @@ x_cgo_getstackbound(uintptr bounds[2]) | ||
// Needed before pthread_getattr_np, too, since before glibc 2.32 | ||
// it did not call pthread_attr_init in all cases (see #65625). | ||
pthread_attr_init(&attr); | ||
-#if defined(__GLIBC__) || (defined(__sun) && !defined(__illumos__)) | ||
+#if 1 | ||
// pthread_getattr_np is a GNU extension supported in glibc. | ||
// Solaris is not glibc but does support pthread_getattr_np | ||
// (and the fallback doesn't work...). Illumos does not. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters