[llvm-commits] [llvm] r153694 - in /llvm/trunk: include/llvm/ExecutionEngine/ lib/ExecutionEngine/MCJIT/ lib/ExecutionEngine/RuntimeDyld/ test/ test/ExecutionEngine/MCJIT/ tools/llvm-rtdyld/

Bill Wendling wendling at apple.com
Thu Mar 29 23:49:37 PDT 2012

Hi Danil,

That sounds good. Thanks for looking into this!


On Mar 29, 2012, at 8:26 PM, Danil Malyshev wrote:

> Hello Bill,
> It's looks like incorrect work of sys::IdentifyFileType() because it should be investigated ELF format instead of error message: "Incompatible object format!".
> Nevertheless, MCJIT supports only x86 and ARM relocations, so these tests should be skipped in PPC as unsupported tests. Currently these tests have filter by targets_to_build, but correctly it should be filter by host native arch.
> Attached the patch changed this filter.
> But for builds with host_arch != target_arch and if we use configure/make instead of cmake it's can work incorrect because use target arch instead host arch.
> So, this patch can be used as quick fix for this build: http://bb.pgr.jp/builders/clang-ppc-linux
> But I'll work for provide host arch in Makefile and change the filter.
> Regards,
> Danil

More information about the llvm-commits mailing list