From owner-freebsd-current@freebsd.org Sat Nov 25 22:02:36 2017 Return-Path: Delivered-To: freebsd-current@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 7065DDF168E for ; Sat, 25 Nov 2017 22:02:36 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-131.reflexion.net [208.70.210.131]) (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 343F070985 for ; Sat, 25 Nov 2017 22:02:35 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 11845 invoked from network); 25 Nov 2017 20:15:49 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 25 Nov 2017 20:15:49 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Sat, 25 Nov 2017 15:15:49 -0500 (EST) Received: (qmail 23057 invoked from network); 25 Nov 2017 20:15:49 -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:15:49 -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 C4A4EEC8B7B; Sat, 25 Nov 2017 12:15:48 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: head -r326193 (e.g.) buildworld broken: rejecting some . . ./usr/src/amd64.amd64/tmp/usr/include/stdio.h content From: Mark Millard In-Reply-To: <5E1C6F4E-C573-4B99-AF96-FCB756B0A75B@dsl-only.net> Date: Sat, 25 Nov 2017 12:15:48 -0800 Cc: FreeBSD Toolchain , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <5D3C8011-1B5F-45CB-8390-9A6E9862FB47@dsl-only.net> References: <5E1C6F4E-C573-4B99-AF96-FCB756B0A75B@dsl-only.net> To: Pedro Giffuni X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Nov 2017 22:02:36 -0000 [Quick top post:] Reverting to -r326192 and rebuilding avoided the issue. =20 Prior notes: On 2017-Nov-25, at 12:02 PM, Mark Millard = wrote: > For example, >=20 > = /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) { >=20 > for: >=20 > /* > * 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 >=20 >=20 >=20 > More of the prefix of the messages: >=20 >=20 >=20 > --- 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