Artifacts Associated With Ticket 9080d6a871
Ticket change [acfd6c1ed3] (rid 184206) by jeremyhu on 2020-06-24 05:50:57:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Implicit functions are errors on darwin/arm64, so the following changes are needed to tcl's configure scripts (in addition to the changes in https://core.tcl-lang.org/tclconfig/tktview/eb3db1c7655f5bdc9e8c511d1fbe0ca8fed70c00) to build correctly on darwin/arm64: diff --git a/vendor/tcl8.5.19/unix/configure.in b/vendor/tcl8.5.19/unix/configure.in index e4255b6df..af2a26a14 100755 --- a/unix/configure.in +++ b/unix/configure.in @@ -453,6 +453,7 @@ fi AC_CACHE_CHECK([for a putenv() that copies the buffer], tcl_cv_putenv_copy, [ AC_TRY_RUN([ #include <stdlib.h> + #include <string.h> #define OURVAR "havecopy=yes" int main (int argc, char *argv[]) { diff --git a/vendor/tcl8.5.19/unix/tcl.m4 b/vendor/tcl8.5.19/unix/tcl.m4 index a7faae550..f482460ce 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -2587,6 +2587,7 @@ AC_DEFUN([SC_BUGGY_STRTOD], [ if test "$tcl_strtod" = 1; then AC_CACHE_CHECK([for Solaris2.4/Tru64 strtod bugs], tcl_cv_strtod_buggy,[ AC_TRY_RUN([ + #include <stdlib.h> extern double strtod(); int main() { char *infString="Inf", *nanString="NaN", *spaceString=" "; @@ -2864,7 +2865,10 @@ AC_DEFUN([SC_TCL_CHECK_BROKEN_FUNC],[ AC_CHECK_FUNC($1, tcl_ok=1, tcl_ok=0) if test ["$tcl_ok"] = 1; then AC_CACHE_CHECK([proper ]$1[ implementation], [tcl_cv_]$1[_unbroken], - AC_TRY_RUN([[int main() {]$2[}]],[tcl_cv_]$1[_unbroken]=ok, + AC_TRY_RUN([[ +#include <stdlib.h> +#include <string.h> +int main() {]$2[}]],[tcl_cv_]$1[_unbroken]=ok, [tcl_cv_]$1[_unbroken]=broken,[tcl_cv_]$1[_unbroken]=unknown)) if test ["$tcl_cv_]$1[_unbroken"] = "ok"; then tcl_ok=1 - foundin initialized to: "8.5.19"
- is_private initialized to: "0"
- login: "jeremyhu"
- priority initialized to: "5 Medium"
- private_contact initialized to: "fcfadcddfa754046fef14eba5011089d1c7ac526"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "jeremyhu"
- subsystem initialized to: "- New Builtin Commands"
- title initialized to: "Build fix for tcl on macOS on Apple Silicon"
- type initialized to: "Bug"
Ticket change [cce1e1eac7] (rid 184227) by jan.nijtmans on 2020-06-24 14:47:37:
- assignee changed to: "jan.nijtmans"
- icomment:
Merged to core-8-5-branch. Tomorrow (After Travis gives current build results) I'll continue merging the same thing up to the other branches (core-8-6-branch, core-8-branch and trunk) Thanks for the report and the patch!
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Pending"
Ticket change [4ef26d2182] (rid 258133) by serhiy.storchaka on 2026-10-15 11:29:06:
- icomment: "Closing: fixed, see above."
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
- status changed to: "Closed"
Ticket change [57d300d5ae] (rid 259934) by serhiy.storchaka on 2026-10-22 17:19:26:
- closedate changed to: "2461328.9785503587"
- closer changed to: "serhiy.storchaka"
- login: "serhiy.storchaka"