Skip to content

Conversation

@MBCX
Copy link

@MBCX MBCX commented Nov 9, 2025

I encountered this bug when I was building my mobile game for both Android and Windows.

But basically, when you do sequential multi-builds like this (logs from my own build system)

2025-11-09 09:29:05,234 [INFO] CppBuild: Running SCons: ./tools/venv/Scripts/scons platform=windows arch=x86_64 use_llvm=yes use_mingw=no target=template_release

2025-11-09 09:29:05,446 [INFO] CppBuild: Running SCons: ./tools/venv/Scripts/scons platform=android arch=x86 target=template_release

2025-11-09 09:30:54,205 [INFO] CppBuild: Running SCons: ./tools/venv/Scripts/scons platform=android arch=arm64 target=template_release

2025-11-09 09:32:57,873 [INFO] CppBuild: Running SCons: ./tools/venv/Scripts/scons platform=android arch=arm32 target=template_release

2025-11-09 09:33:03,918 [INFO] CppBuild: Running SCons: ./tools/venv/Scripts/scons platform=android arch=x86_64 target=template_release

The current code will pollute and corrupt each other's build objects. The MD5 decider was working correctly at a file level, but it had no context that the build flags (platform, arch) were different, leading to cache pollution (broken dll AND so files) that gave me quite the headache to find out.

@MBCX MBCX requested a review from a team as a code owner November 9, 2025 14:33
@Ivorforce Ivorforce requested a review from a team November 9, 2025 14:37
@Ivorforce Ivorforce added bug This has been identified as a bug topic:buildsystem Related to the buildsystem or CI setup labels Nov 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug This has been identified as a bug topic:buildsystem Related to the buildsystem or CI setup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants