use of ccache 4.14 can result in a defect in the FreeBSD kernel
- Reply: Enji Cooper (yaneurabeya): "Re: use of ccache 4.14 can result in a defect in the FreeBSD kernel"
- Reply: void : "Re: use of ccache 4.14 can result in a defect in the FreeBSD kernel"
- Reply: void : "Re: use of ccache 4.14 can result in a defect in the FreeBSD kernel"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 01 Nov 2026 15:08:24 UTC
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 Bye, Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF