Skip to content
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

Define no asm source for libffi meson build #1804

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aaalloc
Copy link

@aaalloc aaalloc commented Dec 2, 2024

Actually when compiling libffi with wrapdb patch, it gives

subprojects/libffi-3.4.6/src/meson.build:89:10: ERROR: File wasm32/sysv.S does not exist.

and that's normal behavior because there is no sysv.S for wasm32 (https://github.com/libffi/libffi/tree/master/src/wasm32).

Current PR just put empty asm_sources when target is wasm32

releases.json Outdated
@@ -3952,4 +3953,4 @@
"1.3.3-1"
]
}
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

what?

Copy link
Author

@aaalloc aaalloc Dec 2, 2024

Choose a reason for hiding this comment

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a newline removal and does not belong in this PR.

Copy link
Author

Choose a reason for hiding this comment

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

ok mb done

Copy link
Member

Choose a reason for hiding this comment

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

Please squash changes into one logical change per commit -- don't make followup commits that back out of changes made in a previous commit.

You can do this with e.g. git commit --amend && git push --force to correct a mistake in the previous commit. See also git rebase -i to re-order and combine commits together via the "fixup" method.

Copy link
Author

Choose a reason for hiding this comment

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

done!

@aaalloc
Copy link
Author

aaalloc commented Dec 3, 2024

any idea on why pipeline fails and sometime it has no problem ?

@eli-schwartz
Copy link
Member

any idea on why pipeline fails and sometime it has no problem ?

The test failure appears to be for previously uncovered CPU architectures -- we very recently added qemu based CI on Alpine, and that's what is failing. Hopefully @xclaesse can look at this, as the author of the libffi wrap.

We don't need to block this PR on that pipeline failure.

releases.json Outdated
@@ -3952,4 +3953,4 @@
"1.3.3-1"
]
}
}
}
Copy link
Member

Choose a reason for hiding this comment

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

Please squash changes into one logical change per commit -- don't make followup commits that back out of changes made in a previous commit.

You can do this with e.g. git commit --amend && git push --force to correct a mistake in the previous commit. See also git rebase -i to re-order and combine commits together via the "fixup" method.

and updated release for libffi
@aaalloc aaalloc force-pushed the libffi-wasm-no-asm-source branch from 3dac422 to 91794a4 Compare December 3, 2024 18:54
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.

3 participants