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

Add PHP 8.2 & 8.3 to Github Action matrix tests #99

Merged
merged 4 commits into from
Nov 29, 2023
Merged

Add PHP 8.2 & 8.3 to Github Action matrix tests #99

merged 4 commits into from
Nov 29, 2023

Conversation

gaelreyrol
Copy link
Contributor

@gaelreyrol gaelreyrol commented Nov 29, 2023

This PR add PHP 8.2 & PHP 8.3 to Github Action matrix tests with Ubuntu 22.04 LTS.

Therefore werror must be disabled as well as expect_native because Ubuntu 22.04 uses glibc 2.34 where malloc hooks functions have been removed.

glibc NEWS file:

  • The deprecated functions malloc_get_state and malloc_set_state have been
    moved from the core C library into libc_malloc_debug.so. Legacy applications
    that still use these functions will now need to preload libc_malloc_debug.so
    in their environment using the LD_PRELOAD environment variable.
  • The deprecated memory allocation hooks __malloc_hook, __realloc_hook,
    __memalign_hook and __free_hook are now removed from the API. Compatibility
    symbols are present to support legacy programs but new applications can no
    longer link to these symbols. These hooks no longer have any effect on glibc
    functionality. The malloc debugging DSO libc_malloc_debug.so currently
    supports hooks and can be preloaded to get this functionality back for older
    programs. However this is a transitional measure and may be removed in a
    future release of the GNU C Library. Users may port away from these hooks by
    writing and preloading their own malloc interposition library.

@arnaud-lb arnaud-lb merged commit 877dfc4 into arnaud-lb:v3 Nov 29, 2023
8 checks passed
@arnaud-lb
Copy link
Owner

Thank you! I removed the "No support for malloc hooks" warning since it's expected now, and I re-enabled -Werror in checks.

@gaelreyrol gaelreyrol deleted the php83-support branch November 29, 2023 14:55
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