Building with clang?

Greg Hudson ghudson at MIT.EDU
Thu Oct 24 11:05:07 EDT 2013

On 10/24/2013 10:29 AM, Derek Atkins wrote:
> Has anyone tried building MIT Krb5 with clang?  Is that a supported
> compiler?  I've had a report from a co-worker that it didn't work,

I think 1.11 should build with clang, but prior releases won't because
of eeba86d45ef4e13086b3f88cde863ddf8649f07b.  clang isn't explicitly
supported per but
we've started using it more often for testing during the past couple of

Also, if you want to build with the clang analyzer (for scan-build),
you'll need to define CONFIG_SMALL or the unrolled loops in the AES code
will take too long to compile.

More information about the krbdev mailing list