glaze: fix broken build - #15936
Open
xingyaner wants to merge 1 commit into
Open
Conversation
|
xingyaner is a new contributor to projects/glaze. The PR must be approved by known contributors before it can be merged. The past contributors are: hunsche, pauldreik |
DavidKorczynski
requested changes
Jul 31, 2026
DavidKorczynski
left a comment
Collaborator
There was a problem hiding this comment.
could you land this change in the upstream repository?
Contributor
Author
|
OK, I get it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The glaze fuzzer build failed because of upstream commit 4cbddc3e, which added fuzzing/msgpack_roundtrip_string.cpp: this file serializes std::string via glz::write_msgpack, and clang-22 (snapshot cb2f0d0a) in the oss-fuzz base image segfaults when compiling that call with -std=c++23, hitting deep recursion and stack exhaustion in Sema's partial ordering of constrained partial specializations (a bare glz::write_msgpack(std::string, buffer) call reproduces the crash; it happens at all optimization levels from -O0 to -O3, cannot be worked around by increasing the stack, and is confirmed as a deterministic compiler bug). Only this file is affected; the other 18 fuzzers compile fine.
The fix patches fuzzing/ossfuzz.sh in build.sh to exclude msgpack_roundtrip_string.cpp from the oss-fuzz build, a targeted workaround for the clang-22 compiler bug that is fully self-contained in the oss-fuzz project config with no upstream changes, while the remaining msgpack fuzzers (reflection/roundtrip_int/roundtrip_floating) keep msgpack coverage with minimal loss.