From owner-freebsd-toolchain@freebsd.org Sat Nov 25 20:28:39 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 86521DEF450 for ; Sat, 25 Nov 2017 20:28:39 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from sonic311-36.consmr.mail.ne1.yahoo.com (sonic311-36.consmr.mail.ne1.yahoo.com [66.163.188.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 542C66D23A for ; Sat, 25 Nov 2017 20:28:38 +0000 (UTC) (envelope-from pfg@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1511641717; bh=0OqPM2ZVPNhkalsRbtVXYxBgY456qZgewn2C9UQi9rY=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From:Subject; b=sz2cyNYR2C1B2+M3VZc50hw9U+vU/AQCJ7mu8YvI75aa6EgzJOTj46Y4exz5WbkICS+JSgqfavlXFiAKsmTEIXTw+2dX5ghZxU5MXyAY+XTpiUJQmZEXGeI5gXDYgK1wbsukj48I98vuxYUj3yLOPiWYzJ4klHolKSOHYB8TX5ZC/6NSorhPprQBOhuSIkkjOEneAQAgQQX/Ua+/56mg4O/1cHJvY/ic7fBPFAc1jMzGeYuX5XTucn1GzR6pmwKTyodsAjApMAUMEVhznIPmimUK0xNYER2fSZDXZ3fUtyYil+e0VVIqym9qwhok5mJ99eQCucSSnvuRADzwyD/R6w== X-YMail-OSG: T02lxHQVM1mlEkr8y22W2zuJMGSOBLbJi24n4l1fkObBlqTDfJPUojtAKth.wa0 2KiUB5bX__d7G2j8kmgZCH24TKL7Hv0TP6MZ3OZUMCQH.LJr8lprrndmLt7oqWWXtLHiHEO3UWRO 2Uh.D8oedPR9HxLhKCGRlFnjW39pJ8KClJ6aM2rvSdNc66zoDSywKJ83MuDn7Xylgn9MLhXZQ1ps WS8yrh.oPUFwUFXKPjS5UhqK2Ao4wuPXT3u7MMLnAytt77SJX50NMRPTijh9xjxZUNnItiEquKRs Ob.T.4Dbb5csyL.SdbY7RaKjIhydkHA7aXohtGkqingL50tBEr6R3wEOjAikG_Xpm2sJsAu6mXWZ GoZvqCY.CNTUfRMGLEiUfXsb4A1GQx8iKC4lu0E0fkcZg8lfv1ik4g4dlh4vYVbIl63fwuDCq39V 5qCR.QrkhJZr5BeDna79CiRU8TRufLuvqEev1iPU3TpxJu5gwKLvlrU98bcZojHD4_jJGUevQt6m FDdMvse86JARUgAnNy2chkOJePEkDRyyquqXhe5K6 Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ne1.yahoo.com with HTTP; Sat, 25 Nov 2017 20:28:37 +0000 Received: from [127.0.0.1] by smtp207.mail.ne1.yahoo.com with NNFMP; 25 Nov 2017 20:28:35 -0000 X-Yahoo-Newman-Id: 967115.2630.bm@smtp207.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: T02lxHQVM1mlEkr8y22W2zuJMGSOBLbJi24n4l1fkObBlqT DfJPUojtAKth.wa02KiUB5bX__d7G2j8kmgZCH24TKL7Hv0TP6MZ3OZUMCQH .LJr8lprrndmLt7oqWWXtLHiHEO3UWRO2Uh.D8oedPR9HxLhKCGRlFnjW39p J8KClJ6aM2rvSdNc66zoDSywKJ83MuDn7Xylgn9MLhXZQ1psWS8yrh.oPUFw UFXKPjS5UhqK2Ao4wuPXT3u7MMLnAytt77SJX50NMRPTijh9xjxZUNnItiEq uKRsOb.T.4Dbb5csyL.SdbY7RaKjIhydkHA7aXohtGkqingL50tBEr6R3wEO jAikG_Xpm2sJsAu6mXWZGoZvqCY.CNTUfRMGLEiUfXsb4A1GQx8iKC4lu0E0 fkcZg8lfv1ik4g4dlh4vYVbIl63fwuDCq39V5qCR.QrkhJZr5BeDna79CiRU 8TRufLuvqEev1iPU3TpxJu5gwKLvlrU98bcZojHD4_jJGUevQt6mFDdMvse8 6JARUgAnNy2chkOJePEkDRyyquqXhe5K6 X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Subject: Re: head -r326193 (e.g.) buildworld broken: rejecting some . . ./usr/src/amd64.amd64/tmp/usr/include/stdio.h content To: Mark Millard Cc: FreeBSD Toolchain , FreeBSD Current References: <5E1C6F4E-C573-4B99-AF96-FCB756B0A75B@dsl-only.net> <5D3C8011-1B5F-45CB-8390-9A6E9862FB47@dsl-only.net> From: Pedro Giffuni Message-ID: <79bca8ee-7961-8e51-10bd-a65154ecd430@FreeBSD.org> Date: Sat, 25 Nov 2017 15:28:36 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <5D3C8011-1B5F-45CB-8390-9A6E9862FB47@dsl-only.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US 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:28:39 -0000 Thank you for the report ... On 11/25/17 15:15, Mark Millard wrote: > [Quick top post:] > > Reverting to -r326192 and rebuilding avoided the issue. > > Prior notes: > > On 2017-Nov-25, at 12:02 PM, Mark Millard wrote: > >> 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 >= 0 || (_p->_w >= _p->_lbfsize && (char)_c != '\n')) >> return (*_p->_p++ = _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 >= (p)->_lbfsize ? \ >> (*(p)->_p = (c)), *(p)->_p != '\n' ? \ >> (int)*(p)->_p++ : \ >> __swbuf('\n', p) : \ >> __swbuf((int)(c), p) : \ >> (*(p)->_p = (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/histedit.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/histedit.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/_ctype.h:97: >> /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/include/runetype.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/histedit.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/_ctype.h:101:1: error: function definition is not allowed here >> { >> ^ >> . . . (much omitted) . . . I can't reproduce it ... I have been running tinderbox builds with the changes for a while. Jenkins wasn't affected either: https://ci.freebsd.org/job/FreeBSD-head-amd64-build/6040/ I have seen problems on arm with zstd though. Pedro.