Skip to content

Don't search for clang in static initializer#49

Merged
parttimenerd merged 1 commit intoparttimenerd:mainfrom
Mr-Pine:no-static-clang
May 13, 2025
Merged

Don't search for clang in static initializer#49
parttimenerd merged 1 commit intoparttimenerd:mainfrom
Mr-Pine:no-static-clang

Conversation

@Mr-Pine
Copy link
Contributor

@Mr-Pine Mr-Pine commented May 9, 2025

Looks like graal behaved correctly. Because BPFProgram::getImplClass uses Processor::classToImplName, the Processor class is loaded at runtime, resulting in a failure if no clang >= 19 is found.

@Mr-Pine Mr-Pine changed the title Don't search clang in static initializer Don't search for clang in static initializer May 12, 2025
@parttimenerd parttimenerd merged commit 27d454c into parttimenerd:main May 13, 2025
2 checks passed
@Mr-Pine Mr-Pine deleted the no-static-clang branch May 13, 2025 13:35
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