twoh added a comment. @tejohnson Sorry, it was my bad. I wrote the makefile by myself and swapped the position of t.o and t2.o. Once I position them right the assertion fails. If I try it without -g, it fails with the same error with r274523. https://reviews.llvm.org/D23015