Skip to content

gapstate.h: account for a large jmp_buf#6373

Open
pkubaj wants to merge 1 commit intogap-system:masterfrom
pkubaj:patch-1
Open

gapstate.h: account for a large jmp_buf#6373
pkubaj wants to merge 1 commit intogap-system:masterfrom
pkubaj:patch-1

Conversation

@pkubaj
Copy link
Copy Markdown

@pkubaj pkubaj commented May 7, 2026

Fixes build on powerpc64le platform.

Text for release notes

none

Fixes build on powerpc64le platform.
Comment thread src/gapstate.h

enum {
STATE_SLOTS_SIZE = 32768 - 1024,
// On some platforms (e.g., powerpc64), sizeof(jmp_buf) is much larger
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this Linux on powerpc64 or what?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's FreeBSD on powerpc64 / powerpc64le.

@fingolfin
Copy link
Copy Markdown
Member

@pkubaj thanks for your submission. Could you please check if #6376 also solves your problem?

@pkubaj
Copy link
Copy Markdown
Author

pkubaj commented May 8, 2026

Yes, that also seems to work.

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.

2 participants