Skip to content

Conversation

sangbida
Copy link
Collaborator

@sangbida sangbida commented Oct 9, 2025

Enable fuzzing support on macOS by configuring the build system to use Homebrew LLVM toolchain and handle macOS-specific linking requirements.

The make check-fuzz command was failing on macOS because:

  • System clang lacks fuzzer runtime library support
  • Homebrew LLVM's stricter warnings cause build failures with -Werror
  • Linking issues with fuzzer targets
  • Test script attempts to execute debug symbol files

This PR adds macOS-specific configuration to:

  • Use Homebrew LLVM toolchain for fuzzer support
  • Disable -Werror on macOS to prevent build failures
  • Explicitly link fuzzer libraries
  • Exclude .dSYM directories from test discovery

All 76 fuzzer targets now build and pass on macOS.

Changelog-None

Enable fuzzing support on macOS by configuring the build system to use Homebrew LLVM toolchain and handle macOS-specific linking requirements.

The `make check-fuzz` command was failing on macOS because:
- System clang lacks fuzzer runtime library support
- Homebrew LLVM's stricter warnings cause build failures with `-Werror`
- Linking issues with fuzzer targets
- Test script attempts to execute debug symbol files

This PR adds macOS-specific configuration to:
- Use Homebrew LLVM toolchain for fuzzer support
- Disable `-Werror` on macOS to prevent build failures
- Explicitly link fuzzer libraries
- Exclude `.dSYM` directories from test discovery

All 76 fuzzer targets now build and pass on macOS.
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