From owner-freebsd-current@freebsd.org Wed Jan 31 16:06:28 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0166BED3A6E for ; Wed, 31 Jan 2018 16:06:28 +0000 (UTC) (envelope-from jje@jimerickson.info) Received: from mail-ot0-x243.google.com (mail-ot0-x243.google.com [IPv6:2607:f8b0:4003:c0f::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8C6066B34F for ; Wed, 31 Jan 2018 16:06:27 +0000 (UTC) (envelope-from jje@jimerickson.info) Received: by mail-ot0-x243.google.com with SMTP id q9so2897314oti.0 for ; Wed, 31 Jan 2018 08:06:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=UEDQ3RYVmC3DEf37TaTZQDdYmR0fQaKI7FqRKYj9ZtM=; b=YJi+YU6zMJQjKdzQY7sCFgtc8aLbaM/la9MiIQyb5N+1SdgKuXVqgugEbap8PNzBeU +Hg4oVLTuZXJwtwqpNQFVmv2b93oQEySqU2CMVVrsauUZf1uwx5jdkMNpYcdimrrw0po Ay5LYYbHzdAo1VWRCfGxHY5X0dDEIFI6+ByC7ALwTIX+MJxTtfYTVasEgLuN8ktTmisR AP4t7geEly2pKBkDqzM2uuDbO2nwXY79TfVkPxmAMv2TNZTDhLQ09LiILkiq7Xr0FW2k 0rA0yDqFuA950GGYWRiyWvqZ5Van68kGNIz06xQ1UpzgJPhmoxok/sKGdOMD83NGqZTa xZTw== X-Gm-Message-State: AKwxytfeAzEqnNTyIQ5D9qmiz1S2G4lhSiZsCsOi1tEfvp3EsLx5I149 Rp1+DHBk07QM6Ug3quxPXKSaA9v9RQjeWxqmuQHZdA== X-Google-Smtp-Source: AH8x225xnpnYFH/G9uVt1Zbi6QkYHgpkDztfjjZWqvxJSgXfgdF29mrMTxzBSy9J7Vu6dnifw++uRtwQcbem7J37qC4= X-Received: by 10.157.92.135 with SMTP id a7mr1775565oti.1.1517414786529; Wed, 31 Jan 2018 08:06:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.69.135 with HTTP; Wed, 31 Jan 2018 08:06:25 -0800 (PST) X-Originating-IP: [2001:470:1f11:3ea:7a92:9cff:fefe:50b0] In-Reply-To: References: <0A7714B4-0077-4305-957F-C46195CF4A99@FreeBSD.org> From: Jim Erickson Date: Wed, 31 Jan 2018 10:06:25 -0600 Message-ID: Subject: Re: r328603 To: Dimitry Andric Cc: freebsd-current@freebsd.org Content-Type: text/plain; charset="UTF-8" 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: Wed, 31 Jan 2018 16:06:28 -0000 On Wed, Jan 31, 2018 at 8:25 AM, Jim Erickson wrote: > On Wed, Jan 31, 2018 at 6:08 AM, Dimitry Andric wrote: >> On 31 Jan 2018, at 01:22, Jim Erickson wrote: >>> >>> On Tue, Jan 30, 2018 at 4:59 PM, Jim Erickson wrote: >> ... >>> >>> fails with same error with ccache disabled. as stated below: >>> >>> echo libc.so.7: >>> /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libcompiler_rt.a >>> /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libssp_nonshared.a >> .depend >>> clang -O2 -pipe -I/usr/src/lib/libc/include -I/usr/src/include >>> -I/usr/src/lib/libc/amd64 -DNLS -D__DBINTERFACE_PRIVATE >>> -I/usr/src/contrib/gdtoa -I/usr/src/contrib/libc-vis -DINET6 >>> -I/usr/obj/usr/src/amd64.amd64/lib/libc -I/usr/src/lib/libc/resolv >>> -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libmd >>> -I/usr/src/contrib/jemalloc/include -I/usr/src/contrib/tzcode/stdtime >>> -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES >>> -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DWANT_HYPERV -DYP >>> -DNS_CACHING -DSYMBOL_VERSIONING -MD -MF.depend.machdep_ldisx.o >>> -MTmachdep_ldisx.o -std=gnu99 -fstack-protector-strong >>> -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized >>> -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int >>> -Wno-unused-const-variable -Wno-error=tautological-constant-compare >>> -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality >>> -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef >>> -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum >>> -Wno-knr-promoted-parameter -Qunused-arguments >>> -I/usr/src/lib/libutil -I/usr/src/lib/msun/amd64 >>> -I/usr/src/lib/msun/x86 -I/usr/src/lib/msun/src -c >>> /usr/src/lib/libc/gdtoa/machdep_ldisx.c -o machdep_ldisx.o >>> In file included from /usr/src/lib/libc/gdtoa/machdep_ldisx.c:45: >>> In file included from /usr/src/contrib/gdtoa/gdtoaimp.h:197: >>> /usr/src/include/stdlib.h:95:7: error: expected function body after >>> function declarator >>> __alloc_size2(1, 2); >>> ^ >> >> It is rather strange, as r328221 defined the new __alloc_size2() macro, >> and r328237 added it to stdlib.h. Maybe your source tree was >> inconsistently updated? Does this also happen on a fresh src checkout? >> >> -Dimitry >> > checked out a pristine copy of source and have ccache disabled. > currently building will keep you updated. what is the best path forward? reinstall?? failed with same error. see below: echo libc.so.7: /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libcompiler_rt.a /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libssp_nonshared.a >> .depend clang -O2 -pipe -I/usr/src/lib/libc/include -I/usr/src/include -I/usr/src/lib/libc/amd64 -DNLS -D__DBINTERFACE_PRIVATE -I/usr/src/contrib/gdtoa -I/usr/src/contrib/libc-vis -DINET6 -I/usr/obj/usr/src/amd64.amd64/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libmd -I/usr/src/contrib/jemalloc/include -I/usr/src/contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DWANT_HYPERV -DYP -DNS_CACHING -DSYMBOL_VERSIONING -MD -MF.depend.machdep_ldisx.o -MTmachdep_ldisx.o -std=gnu99 -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=tautological-constant-compare -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -I/usr/src/lib/libutil -I/usr/src/lib/msun/amd64 -I/usr/src/lib/msun/x86 -I/usr/src/lib/msun/src -c /usr/src/lib/libc/gdtoa/machdep_ldisx.c -o machdep_ldisx.o In file included from /usr/src/lib/libc/gdtoa/machdep_ldisx.c:45: In file included from /usr/src/contrib/gdtoa/gdtoaimp.h:197: /usr/src/include/stdlib.h:95:7: error: expected function body after function declarator __alloc_size2(1, 2); ^ /usr/src/include/stdlib.h:306:6: error: expected function body after function declarator __alloc_size2(2, 3); ^ 2 errors generated. *** Error code 1 Stop. make[4]: stopped in /usr/src/lib/libc *** Error code 1 Stop. make[3]: stopped in /usr/src *** Error code 1 Stop. make[2]: stopped in /usr/src *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src