[google/syzkaller] 4763fe: pkg/build: fix LLVM=1 detection when ccache is used

0 views
Skip to first unread message

Aleksandr Nogikh

unread,
Jul 20, 2026, 4:12:39 AM (yesterday) Jul 20
to syzk...@googlegroups.com
Branch: refs/heads/gh-readonly-queue/master/pr-7632-72524a6625c995608a7d179201dff2195b8d1f66
Home: https://github.com/google/syzkaller
Commit: 4763fed70de754c1f5001846b753d601dbe1fc49
https://github.com/google/syzkaller/commit/4763fed70de754c1f5001846b753d601dbe1fc49
Author: Aleksandr Nogikh <nog...@google.com>
Date: 2026-07-20 (Mon, 20 Jul 2026)

Changed paths:
M pkg/build/linux.go

Log Message:
-----------
pkg/build: fix LLVM=1 detection when ccache is used

If ccache is used, the compiler string becomes "ccache clang", causing
the strict LLVM=1 check to fail. Without LLVM=1, the kernel build falls
back to GNU binutils, which fails to process LLVM object files on arm64.

Account for the ccache prefix when checking for the default LLVM compiler.
Explicitly pass CC alongside LLVM=1 so ccache is still utilized.



To unsubscribe from these emails, change your notification settings at https://github.com/google/syzkaller/settings/notifications

Aleksandr Nogikh

unread,
Jul 20, 2026, 4:24:59 AM (yesterday) Jul 20
to syzk...@googlegroups.com
Branch: refs/heads/master
Reply all
Reply to author
Forward
0 new messages