Building with clang?

Derek Atkins warlord at MIT.EDU
Thu Oct 24 11:31:46 EDT 2013

Greg Hudson <ghudson at MIT.EDU> writes:

> 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
> years.

We are currently using 1.11.3, so perhaps there are other things going on?

> 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.

Thanks for the tip.  I don't know what configuration he used.  I'll
hopefully get a clue in a couple hours once he wakes up.


       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL:    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available

More information about the krbdev mailing list