Skip to content

python3: Enable FreeBSD cross build - #124424

Draft
Mic92 wants to merge 1 commit into
python:mainfrom
Mic92:upstream-cross-patch
Draft

python3: Enable FreeBSD cross build#124424
Mic92 wants to merge 1 commit into
python:mainfrom
Mic92:upstream-cross-patch

Conversation

@Mic92

@Mic92 Mic92 commented Sep 24, 2024

Copy link
Copy Markdown

This only enables x86_64-unknown-freebsd, not any other FreeBSD, since I do not have any other machines to tests on. If you're reading this, feel free to try out other arches!

@ghost

ghost commented Sep 24, 2024

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.
CLA signed

@bedevere-app

bedevere-app Bot commented Sep 24, 2024

Copy link
Copy Markdown

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@Mic92
Mic92 force-pushed the upstream-cross-patch branch from 69af23d to 5f8eac1 Compare September 24, 2024 08:25
@bedevere-app

bedevere-app Bot commented Sep 24, 2024

Copy link
Copy Markdown

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@Mic92

Mic92 commented Sep 24, 2024

Copy link
Copy Markdown
Author

@rhelmot can I sign-off in your name?

Comment thread configure.ac Outdated
@Mic92
Mic92 force-pushed the upstream-cross-patch branch from 2276d6c to 6722780 Compare September 24, 2024 08:35
@bedevere-app

bedevere-app Bot commented Sep 24, 2024

Copy link
Copy Markdown

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@Mic92
Mic92 force-pushed the upstream-cross-patch branch from 6722780 to 738c848 Compare September 24, 2024 08:36
This only enables x86_64-unknown-freebsd, not any other FreeBSD, since I
do not have any other machines to tests on. If you're reading this, feel
free to try out other arches!

Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
@Mic92
Mic92 force-pushed the upstream-cross-patch branch from 738c848 to 71c365b Compare September 24, 2024 08:38
@Mic92

Mic92 commented Sep 24, 2024

Copy link
Copy Markdown
Author

Let me know if you want to have github issue for this or not.

@Mic92
Mic92 marked this pull request as draft September 24, 2024 08:46
@vstinner

Copy link
Copy Markdown
Member

Please sign the CLA, create an issue and add a NEWS entry.

@rhelmot

rhelmot commented Sep 24, 2024

Copy link
Copy Markdown

@Mic92 yes, you can sign off in my name.

@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Apr 18, 2026
@rhelmot

rhelmot commented Apr 18, 2026

Copy link
Copy Markdown

@Mic92 let me know if I can help push this along in any way.

@vstinner

Copy link
Copy Markdown
Member

Can you explain how I can test manually this change?

@rhelmot

rhelmot commented May 1, 2026

Copy link
Copy Markdown

I've tested this via nixpkgs, which vendors this patch, but you can almost certainly just download a freebsd rootfs image, mount it and extract the files, and then point the configure script at where it should get the libs and headers. For a linux->freebsd cross compiler outside of nixpkgs there are a few scripts floating around on the internet, but they'll need to be updated for newer freebsd versions.

@github-actions github-actions Bot removed the stale Stale PR or inactive for long period of time. label May 13, 2026
@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 90 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Aug 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OS-freebsd stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants