So, after not getting any answers here, I analyzed the error message using qwen2.5:3B running Bianbu 2.2.1, and here’s what it recommended:
2.Increase Stack Size (if necessary):
If -fvar-tracking-assignments is indeed the cause, you may need to increase stack size for the build
process. This can be done by setting the environment variable CCOPTS before running your build
commands:
export CCOPTS="-O2 -Wextra -g"
Then, rerun your build command.
3.Disable -fvar-tracking-assignments:
If possible, try to disable this option and see if the build process continues successfully. You can
do this by setting:
export CCOPTS="-O2 -Wextra -g -fno-var-tracking-assignments"
Then, rerun your build command.
4Check for Memory Constraints:
If you are building on a system with limited memory or disk space, this could also contribute to the
issue. Ensure that there is sufficient free space and that your kernel’s limits are not too restrictive
(e.g., ulimit).
I’ve just started a rebuild on 5 cores, the build should finish in about 14 hours.