[PATCH] D21857: [Driver][OpenMP] Add support to create jobs for unbundling actions.

Samuel Antao via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 7 16:35:20 PDT 2016


sfantao added a comment.

In http://reviews.llvm.org/D21857#476527, @Hahnfeld wrote:

> Hi Samuel,
>
> this looks pretty good overall!
>
> I've only encountered one issue which I don't really know is caused by which patch: I can't use the (exact) same triple for offloading and the host when compiling separately. I found out that the device object file is taken as input for the final link step and `ld` therefore complains
>
>   <...>/lib64/crt1.o: In function `_start':
>   (.text+0x20): undefined reference to `main'
>
>
> I've not yet found the reason - are there some `unordered_maps` that don't keep the order? I'm also seeing that the first argument to `clang-offload-bundler` is not always for the host...
>
> Thanks,
> Jonas


Thanks for letting me know! I'll investigate and see if I can replicate the issue here.

Thanks again!
Samuel


http://reviews.llvm.org/D21857





More information about the cfe-commits mailing list