-
Notifications
You must be signed in to change notification settings - Fork 7.1k
[libffi] Check return value of execute_process() #10469
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
Conversation
@derselbst, thanks for bringing this up! We considered a fix for libffi:arm64-wiindows port or upstream needed instead. |
Hi @derselbst, I've fixed this issue in #10485, please update vcpkg and rebuild libffi. Thanks. |
It works now, thanks. But why closing this? This PR only adds additional error checking and should still be merged. Calling |
/azp run |
@derselbst Sorry, I closed this PR by mistake. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update libffi version info in VCPKG_PATH/ports/libffi/CONTROL.
See documentation.
/azp run |
To avoid hiding errors, the return values of the execute_process() commands should be checked and a fatal error should be issued.
LGTM, thanks for this PR! |
I'm currently unable to cross-compile libffi for arm64. The "compile assembly"
execute_process()
step silently fails and CMake later complains that the .obj file is not available. To avoid hiding errors, the return values of theexecute_process()
commands should be checked and a fatal error should be issued.(Here's the build log, in case smb. is interested: https://ci.appveyor.com/project/derselbst/fluidsynth-g2ouw/builds/31479626/job/hm9u92nejl7083dx#L596)