Re: use of ccache 4.14 can result in a defect in the FreeBSD kernel

From: Alexander Leidinger <Alexander_at_Leidinger.net>
Date: Mon, 02 Nov 2026 07:35:08 UTC
Userland programs segfault. Basically you get an unusable system at boot time.
-- 
Send from a mobile device, please forgive brevity and misspellings.
Am 2. November 2026 05:04:56 schrieb "Enji Cooper (yaneurabeya)" 
<yaneurabeya@gmail.com>:

>> On Nov 1, 2026, at 7:08 AM, Alexander Leidinger <Alexander@Leidinger.net> 
>> wrote:
>>
>> Hi,
>>
>> The defect: from 4.14 on, ccache in its default direct mode looks for 
>> .incbin only in the raw source text, and only before a literal quote. 
>> vdso_wrap.S names the file through a macro (VDSO_FILE), so the check misses 
>> it. In direct mode the preprocessed text, where the name would be visible, 
>> is no longer scanned.
>>
>> When it hits: when the vDSO changes.
>>
>> The workaround: use CCACHE_NODIRECT=1
>
> Hi Alexander,
> 	What’s the net-effect of this issue? Is it a functional problem? Is it a 
> security problem? Etc. Is there a bug tracking this issue on Bugzilla?
> Thank you,
> -Enji