Skip to content

link with noexecstack when cross-compiling#1092

Merged
jjhelmus merged 6 commits intoastral-sh:mainfrom
jjhelmus:no_exec_cross
Apr 14, 2026
Merged

link with noexecstack when cross-compiling#1092
jjhelmus merged 6 commits intoastral-sh:mainfrom
jjhelmus:no_exec_cross

Conversation

@jjhelmus
Copy link
Copy Markdown
Contributor

Explicitly disable an executable stack on all Linux targets, even when cross-compiling.

Follow up to test failures cased by #1070

Explicitly disable an executable stack on all Linux targets, even when
cross-compiling.

Follow up to test failures cased by astral-sh#1070
@jjhelmus jjhelmus changed the title noexecstack when cross-compiling link with noexecstack when cross-compiling Apr 13, 2026
@jjhelmus
Copy link
Copy Markdown
Contributor Author

Download error, unrelated:

2026-04-13T19:38:48.5902056Z �[1;35mException�[0m: �[35mdownload failed after multiple retries: https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-4.0.0.tar.gz�[0m
2026-04-13T19:38:48.6131063Z make: *** [Makefile:169: /home/runner/work/python-build-standalone/python-build-standalone/build/mpdecimal-4.0.0-riscv64-unknown-linux-gnu-debug.tar] Error 1

@jjhelmus
Copy link
Copy Markdown
Contributor Author

The mpdecimal download site is down.
astral-sh/mirror/pull/2 adds the needed file to the astral mirror.

Tcl configures packages as make targets to environment variable must be
exported to be available in the subshell.
@jjhelmus jjhelmus requested a review from geofft April 13, 2026 22:01
@jjhelmus
Copy link
Copy Markdown
Contributor Author

@geofft Curious your thoughts on the change in 43af3af.

https://github.com/tcltk/tcl/blob/core-9-0-3/unix/Makefile.in#L2040-L2092 are the key targets

Comment thread cpython-unix/build-tcl.sh Outdated
@geofft
Copy link
Copy Markdown
Collaborator

geofft commented Apr 13, 2026

I think on the merits of exporting, though, yes that seems totally fine.

jjhelmus and others added 2 commits April 13, 2026 18:50
Co-authored-by: Geoffrey Thomas <geofft@ldpreload.com>
@jjhelmus jjhelmus merged commit f322496 into astral-sh:main Apr 14, 2026
45 checks passed
Didah pushed a commit to bewellinnovations/python-build-standalone that referenced this pull request Apr 20, 2026
Explicitly disable an executable stack on all Linux targets, even when
cross-compiling.

Follow up to test failures cased by astral-sh#1070

---------

Co-authored-by: Geoffrey Thomas <geofft@ldpreload.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants