Skip to content

Fix FreeBSD tests #305 #314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

JupiterRider
Copy link
Contributor

What issue is this addressing?

Closes #305

What type of issue is this addressing?

bug in tests

What this PR does | solves

It adds the -std value to the gcflags.

@JupiterRider
Copy link
Contributor Author

@hajimehoshi the only allowed in cgo-generated code "error" is gone, but now there is another issue:

github.com/ebitengine/purego.syscall_syscall15X: nosplit stack over 792 byte limit: https://github.com/ebitengine/purego/actions/runs/14935322965/job/41961282389#step:3:2564

@hajimehoshi
Copy link
Member

I'll make this PR a draft until the tests pass

@hajimehoshi hajimehoshi marked this pull request as draft May 9, 2025 19:24
@TotallyGamerJet
Copy link
Collaborator

@hajimehoshi the only allowed in cgo-generated code "error" is gone, but now there is another issue:

github.com/ebitengine/purego.syscall_syscall15X: nosplit stack over 792 byte limit: https://github.com/ebitengine/purego/actions/runs/14935322965/job/41961282389#step:3:2564

Yeah there needs to be a slight rewrite of that function to not allocate on the stack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

build failure on FreeBSD w/o optimization
3 participants