Skip to content

lsan: suppress leak warnings for libgomp #4625

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

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

Conversation

kleisauke
Copy link
Member

@kleisauke kleisauke commented Aug 7, 2025

The ___kmp_allocate suppression applies to libomp (LLVM's OpenMP runtime library), but we also need to suppress GOMP_parallel when libgomp (GCC's OpenMP runtime library) is transitively used.

I noticed this while attempting to remove -fopenmp and -fopenmp=libomp from the CI configuration, since libvips itself doesn't use OpenMP, see:
https://github.com/kleisauke/libvips/actions/runs/16810815668/job/47616673957

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.

1 participant