Re: r328603
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 ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: r328603
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. ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: r328603
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 signature.asc Description: Message signed with OpenPGP
Re: r328603
On Tue, Jan 30, 2018 at 4:59 PM, Jim Erickson wrote: > On Tue, Jan 30, 2018 at 3:31 PM, Dimitry Andric wrote: >> On 30 Jan 2018, at 21:52, Jim Erickson wrote: >>> >>> been getting this for a few days now. >> [...] >>> 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. >> >> Does it go away if you disable ccache? >> >> -Dimitry >> > have disabled ccache as per your request. currently building. will let > you know more as things progress. 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); ^ /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 ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: r328603
On Tue, Jan 30, 2018 at 3:31 PM, Dimitry Andric wrote: > On 30 Jan 2018, at 21:52, Jim Erickson wrote: >> >> been getting this for a few days now. > [...] >> 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. > > Does it go away if you disable ccache? > > -Dimitry > have disabled ccache as per your request. currently building. will let you know more as things progress. ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: r328603
On 30 Jan 2018, at 21:52, Jim Erickson wrote: > > been getting this for a few days now. [...] > 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. Does it go away if you disable ccache? -Dimitry signature.asc Description: Message signed with OpenPGP