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

fix(buildroot): cannot build libffi #67

Merged
merged 1 commit into from
May 11, 2024

Conversation

BlackHole1
Copy link
Member

@BlackHole1 BlackHole1 commented May 11, 2024

Description of Change

When using the new version of GCC, it is unable to compile libffi.

Error Log:

../src/tramp.c: In function 'ffi_tramp_get_temp_file':
../src/tramp.c:262:22: error: implicit declaration of function 'open_temp_exec_file' [-Werror=implicit-function-declaration]
  262 |   tramp_globals.fd = open_temp_exec_file ();
      |                      ^~~~~~~~~~~~~~~~~~~
make[5]: *** [Makefile:1323:src/tramp.lo] Error 1
make[4]: *** [Makefile:1395:all-recursive] Error 1

Ref: libffi/libffi#764

Thanks, @serge-sans-paille for your patch :)

Required to run CI

  • applehv-rootfs-amd64
  • applehv-rootfs-arm64
  • initrd-amd64
  • initrd-arm64
  • kernel-amd64
  • kernel-arm64

When using the new version of GCC, it is unable to compile libffi.

Ref: libffi/libffi#764

Thanks @serge-sans-paille for your patch :)

Signed-off-by: Kevin Cui <bh@bugs.cc>
@BlackHole1 BlackHole1 requested a review from ihexon May 11, 2024 05:18
@BlackHole1 BlackHole1 merged commit 43c0666 into oomol-lab:main May 11, 2024
25 of 36 checks passed
@BlackHole1 BlackHole1 deleted the fix-libffi branch May 11, 2024 05:24
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.

None yet

2 participants