From owner-freebsd-toolchain@freebsd.org Sat Nov 25 20:02:51 2017 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 86D44DEEA25 for ; Sat, 25 Nov 2017 20:02:51 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-148.reflexion.net [208.70.210.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 44ADF6C2D3 for ; Sat, 25 Nov 2017 20:02:50 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 23940 invoked from network); 25 Nov 2017 20:02:43 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 25 Nov 2017 20:02:43 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Sat, 25 Nov 2017 15:02:43 -0500 (EST) Received: (qmail 21091 invoked from network); 25 Nov 2017 20:02:43 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 25 Nov 2017 20:02:43 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 81A12EC8B7B; Sat, 25 Nov 2017 12:02:42 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: head -r326193 (e.g.) buildworld broken: rejecting some . . ./usr/src/amd64.amd64/tmp/usr/include/stdio.h content Message-Id: <5E1C6F4E-C573-4B99-AF96-FCB756B0A75B@dsl-only.net> Date: Sat, 25 Nov 2017 12:02:41 -0800 To: FreeBSD Toolchain , FreeBSD Current X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Nov 2017 20:02:51 -0000 For example, = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/include/stdio= .h:449:47: error: function definition is not allowed here static __inline int __sputc(int _c, FILE *_p) { for: /* * The __sfoo macros are here so that we can * define function versions in the C library. */ #define __sgetc(p) (--(p)->_r < 0 ? __srget(p) : (int)(*(p)->_p++)) #if defined(__GNUC__) && defined(__STDC__) static __inline int __sputc(int _c, FILE *_p) { if (--_p->_w >=3D 0 || (_p->_w >=3D _p->_lbfsize && (char)_c !=3D = '\n')) return (*_p->_p++ =3D _c); else return (__swbuf(_c, _p)); } #else /* * This has been tuned to generate reasonable code on the vax using pcc. */ #define __sputc(c, p) \ (--(p)->_w < 0 ? \ (p)->_w >=3D (p)->_lbfsize ? \ (*(p)->_p =3D (c)), *(p)->_p !=3D '\n' ? \ (int)*(p)->_p++ : \ __swbuf('\n', p) : \ __swbuf((int)(c), p) : \ (*(p)->_p =3D (c), (int)*(p)->_p++)) #endif More of the prefix of the messages: --- var.o --- In file included from /usr/src/bin/sh/var.c:70: In file included from /usr/src/bin/sh/myhistedit.h:35: In file included from = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/include/histe= dit.h:48: = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/include/stdio= .h:255:6: warning: declaration of built-in function 'fprintf' requires = inclusion of the header [-Wbuiltin-requires-header] int fprintf(FILE * __restrict, const char * __restrict, ...); ^ = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/include/stdio= .h:260:6: warning: declaration of built-in function 'fscanf' requires = inclusion of the header [-Wbuiltin-requires-header] int fscanf(FILE * __restrict, const char * __restrict, ...); ^ --- csh_make --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/rescue/rescue/usr/src= /bin/csh/sh.init.o --- sh_make --- = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/include/stdio= .h:284:6: warning: declaration of built-in function 'vfprintf' requires = inclusion of the header [-Wbuiltin-requires-header] int vfprintf(FILE * __restrict, const char * __restrict, ^ = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/include/stdio= .h:293:6: warning: declaration of built-in function 'vfscanf' requires = inclusion of the header [-Wbuiltin-requires-header] int vfscanf(FILE * __restrict, const char * __restrict, __va_list) ^ = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/include/stdio= .h:449:47: error: function definition is not allowed here static __inline int __sputc(int _c, FILE *_p) { ^ In file included from /usr/src/bin/sh/var.c:70: In file included from /usr/src/bin/sh/myhistedit.h:35: In file included from = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/include/histe= dit.h:254: In file included from = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/include/wchar= .h:69: In file included from = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/include/_ctyp= e.h:97: = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/include/runet= ype.h:96:1: error: function definition is not allowed here { ^ In file included from /usr/src/bin/sh/var.c:70: In file included from /usr/src/bin/sh/myhistedit.h:35: In file included from = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/include/histe= dit.h:254: In file included from = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/include/wchar= .h:69: = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/include/_ctyp= e.h:101:1: error: function definition is not allowed here { ^ . . . (much omitted) . . . =3D=3D=3D Mark Millard markmi at dsl-only.net