https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116730
--- Comment #40 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Hime Haieto from comment #0) > '/home/root/gcc/worktrees/14.2.0/build/votocon/x86_64-pc-linux-gnu/32/ > libstdc++-v3/src/libbacktrace' I assume that /home/root/gcc/worktrees/14.2.0 is a git worktree, but where is the main repo that it's attached to, i.e. the one that contains the .git directory? Is it /home/root/gcc ? Because I now suspect that's the problem. By checking out a worktree inside another gcc repo, I bet VPATH is getting confused and finds the wrong sources, from the main repo not the 14.2.0 worktree.