The issue is the naming of variables after standard C functions, such as logf and expf.
The issue would apply whether specifying c89 or not (see: http://llvm.org/bugs/show_bug.cgi?id=15150).
A fix is to add some sed to the ebuild:
sed -i -e's/logf/logf_alt/g' aes/saferp.c || die 'sed failed'
sed -i -e's/expf/expf_alt/g' aes/saferp.c || die 'sed failed'
The upstream link from the ebuild is dead, so I cannot report it there.
Created attachment 337904 [details]
Is this a bug in libmix or in clang?
(In reply to Pacho Ramos from comment #2)
> Is this a bug in libmix or in clang?
It could be fixed in either, though I'm inclined to say it's a bug in clang/llvm. That being said, I can't imagine it good form to do what libmix is doing), so it might be a good idea to get it changed there too/instead.
Given the amount of time it's been in the clang bug tracker already, I don't think it likely to be "fixed" there any time soon.
Fixed in -r7 by adding those sed scripts from comment #0.