[cfe-dev] compilation of FreeBSD kernel

Roman Divacky rdivacky at freebsd.org
Thu Jan 29 07:23:45 PST 2009


hi

I just tried to compile freebsd kernel after the designated
initializers went in. Those are the results:

Compilation errors of GENERIC with clang:


1) error: cannot codegen this constant expression yet

	74x

2) Assertion failed: ((i >= FTy->getNumParams() || FTy->getParamType(i) == Params[i]->getType()) && "Calling a
function with a bad signature!"), function init, file Instructions.cpp, line 294.

	2x

3) Assertion failed: (0 && "VAArgInst is not yet implemented for x86-64!"), function LowerVAARG, file
X86ISelLowering.cpp, line 5766.

	6x

4) ../../../dev/txp/if_txp.c:1379:1: error: conflicting types for 'txp_command'

	3x

5) Assertion failed: (S1->getType() == S2->getType() && "Cannot create binary operator with two operands of
differing type!"), function Create, file Instructions.cpp, line 1575.
*** Error code 250

	1x

6) ../../../vm/vm_object.c:919:4: error: cannot codegen this return inside scope with VLA yet

	2x

out of 1211 files


the (1) is Bug 3436, so once you fix that we're much closer :) I am going to fill in
bugs for every problem here later...

anyway, great result! 88 failures for 1211 files (some are .S but not more than 10)

thnx, roman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090129/11d8bba2/attachment.sig>


More information about the cfe-dev mailing list