CodaFi added a comment.

@kristina They're having linker troubles because this driver is hardcoding an 
incorrect linker flag for libbuiltin on the arm-baremetal triple.  
https://reviews.llvm.org/D33259 introduced this incorrect behavior by smashing 
together the incorrect `-lclang_rt.builtins-armv6m` flag with the proper 
resource-directory-relative absolute path 
`<RESOURCE_DIR>/lib/libclang_rt.builtins-armv6m.a`.  The driver should be 
forming an exact path to this library relative to the resource directory.  If 
users wish to override this behavior, they need to pass `-nostdlib` or ` 
-nodefaultlibs`


https://reviews.llvm.org/D51899



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to