9-STABLE doesn't build with clang/llvm

Dimitry Andric dim at FreeBSD.org
Fri Jun 22 19:51:49 UTC 2012


On 2012-06-22 13:47, Dr. Baud wrote:
>     Anybody else having trouble building r237440 with clang:
...
> /usr/home/bketchum/kernels/stable-9/lib/libc/../../include/stdlib.h:82:1: error:
> 
>       unknown type name '_Noreturn'
> _Noreturn void   abort(void);
> ^

There seems to be something wrong with your cdefs.h file.  Please check
your copy, which should be in:

/usr/home/bketchum/kernels/stable-9/sys/sys/cdefs.h

Alternatively, try running the failing command line with -save-temps,
and upload the resulting bt_close.i somewhere (or attach it, but
compress it first, please).


More information about the freebsd-stable mailing list