[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 00/12] xen/arm: Add support to build with clang



Hi,

On 16/04/2019 23:43, Stefano Stabellini wrote:
On Fri, 29 Mar 2019, Julien Grall wrote:
On 28/03/2019 11:27, Artem Mygaiev wrote:
Hi Julien,

Hi Artem,

On Wed, 2019-03-27 at 18:45 +0000, Julien Grall wrote:
Hi all,

This series adds support to build Xen Arm with clang. This series was
tested
with clang 8.0.

Note that I only did build for arm64. I still need to look at the arm32
build.


I wonder if you have time to try the series with Arm Compiler 6? I am
asking because AFAIK it is based on clang/llvm [1] and there's a
safety-compliant version of it certified by TUV [2]. I don't have a
license yet so cannot try it myself but maybe you have access.
I gave a quick try to the Arm Compiler. I had to hack a bit config/StdGNU.mk
to pass armclang and the appropriate target option.

I also had a linking issue at the end where __2snprintf was not found. It
seems the compiler replace snprintf with __2snprintf, I haven't figured out
why yet.

But after these changes, does it work?

I haven't tried to fix the linking issues. I only gave a quick try because Artem asked. I have no plan at the moment to go further than that for now.

Patches are welcomed to add support for armclang.

Cheers,

--
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.