Skip to content

autogen: fix race in depfile parsing

cmReadGccDepfile() calls cmSystemTools::CollapseFullPath(), which is not thread safe due to internal caching. Serialize calls to cmReadGccDepfile() in autogen to avoid thread safety issues.

Fixes: #22014 (closed)
Backport: release

Edited by Brad King

Merge request reports