<div dir="ltr">I was handed a makefile which is used to compile a library and was told to figure out why the compilation is failing. <div><br></div><div>There is a lot of output and at this point I'm not sure what is important and what is not. I'm trying to solve this problem in small steps, so if asked I can certainly provide more information.<br></div><div><br></div><div>The first error that I see during compilation is</div><div><br></div><div><div>lib/CodeGen/MachineScheduler.cpp:1165: void llvm::ScheduleDAGMILive::scheduleMI(llvm::SUnit*, bool): Assertion `TopRPTracker.getPos() == CurrentTop && "out of sync"' failed.</div></div><div><br></div><div>Another important detail is that we are running clang-3.5. I know it is old, but for now we are not allowed to switch to a newer version. </div><div><br></div><div>I would greatly appreciate any help on this. What is causing this assertion? Is there a way to fix it? Could there something be wrong with the input file? I do have access to the llvm code and have the freedom to change it. <br clear="all"><div><br></div><div>Any advice or help is appreciated.</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Rail Shafigulin<br></div>Software Engineer <br>Esencia Technologies<br></div></div></div></div>
</div></div>