??? Anybody else having trouble building r237440 with clang: /usr/bin/clang? -O2 -pipe? -I/usr/home/bketchum/kernels/stable-9/lib/libc/includ e -I/usr/home/bketchum/kernels/stable-9/lib/libc/../../include -I/usr/home/bketc hum/kernels/stable-9/lib/libc/amd64 -DNLS? -D__DBINTERFACE_PRIVATE -I/usr/home/b ketchum/kernels/stable-9/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/home/bketch um/kernels/obj/stable-9/usr/home/bketchum/kernels/stable-9/lib/libc -I/usr/home/ bketchum/kernels/stable-9/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/ home/bketchum/kernels/stable-9/lib/libc/../../contrib/tzcode/stdtime -I/usr/home /bketchum/kernels/stable-9/lib/libc/stdtime -I/usr/home/bketchum/kernels/stable- 9/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/home/bketchum/kern els/stable-9/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -Qunu sed-arguments -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-unin itialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautologic al-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno -conversion -Wno-switch -Wno-switch-enum -c /usr/home/bketchum/kernels/stable-9/ lib/libc/db/btree/bt_close.c -o bt_close.o In file included from /usr/home/bketchum/kernels/stable-9/lib/libc/db/btree/bt_c lose.c:44: /usr/home/bketchum/kernels/stable-9/lib/libc/../../include/stdlib.h:82:1: error: ????? unknown type name '_Noreturn' _Noreturn void?? abort(void); ^ /usr/home/bketchum/kernels/stable-9/lib/libc/../../include/stdlib.h:82:11: error : ????? expected identifier or '(' _Noreturn void?? abort(void); ????????? ^ /usr/home/bketchum/kernels/stable-9/lib/libc/../../include/stdlib.h:92:1: error: ????? unknown type name '_Noreturn' _Noreturn void?? exit(int); ^ /usr/home/bketchum/kernels/stable-9/lib/libc/../../include/stdlib.h:92:11: error : ????? expected identifier or '(' _Noreturn void?? exit(int); ????????? ^ /usr/home/bketchum/kernels/stable-9/lib/libc/../../include/stdlib.h:151:1: error : ????? unknown type name '_Noreturn' _Noreturn void?? _Exit(int); ^ /usr/home/bketchum/kernels/stable-9/lib/libc/../../include/stdlib.h:151:11: erro r: ????? expected identifier or '(' _Noreturn void?? _Exit(int); ????????? ^ In file included from /usr/home/bketchum/kernels/stable-9/lib/libc/db/btree/bt_c lose.c:46: /usr/home/bketchum/kernels/stable-9/lib/libc/../../include/unistd.h:482:20: erro r: ????? expected function body after function declarator pid_t??? vfork(void) __returns_twice; ???????????????????? ^ 7 errors generated. *** Error code 1 Stop in /usr/home/bketchum/kernels/stable-9/lib/libc. *** Error code 1 Stop in /usr/home/bketchum/kernels/stable-9. *** Error code 1 Stop in /usr/home/bketchum/kernels/stable-9. *** Error code 1 Stop in /usr/home/bketchum/kernels/stable-9. *** Error code 1 Stop in /usr/home/bketchum/kernels/stable-9.
On Fri, Jun 22, 2012 at 04:47:27AM -0700, Dr. Baud wrote:> > > ??? Anybody else having trouble building r237440 with clang: > ...I did not have trouble (on i386): FreeBSD g1-227.catwhisker.org 9.0-STABLE FreeBSD 9.0-STABLE #195 237440M: Fri Jun 22 05:22:20 PDT 2012 root@g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY i386 Peace, david -- David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20120622/b5aabeb9/attachment.pgp
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).