Can’t reproduce that locally, so it is likely on your end
The error you are seeing is essentially “you hit a bug in the linker”
Judging from your log, you appear to be building with ninja which is not our default configuration, also since it is trying to link an
.obj i’m going to assume you are on windows, for feature posts please include this kind of information to keep the guessing about your environment to a minimum.
things to try (in random order, no idea isn’t any better than any of the others, and you may have to combine some of these ideas)
Since you are using ninja, you may also be using sccache, calling sccache “buggy” would be generous, there were a few serious issues with it that did not get solved until very very recently, if you are using sccache and/or ninja be sure to update them to the latest versions.
Perhaps a corrupted file somewhere, try a clean (ie run
ninja clean in your build folder) and rebuild
You’re hitting an internal issue in the linker, updating the compiler (Visual studio) to the latest version be pretty high up on my list. (Be sure to start with a brand new build folder if you do)
Perhaps ninja is making a mess try a msbuild based build (
make full 2019 builddir 2019_msbuild)