Re: A head -r317820 incremental buildworld race: kvm_geterr_test failures for -j16 but works without -j<?>

From: Bryan Drewery <bdrewery_at_FreeBSD.org>
Date: Tue, 9 May 2017 11:46:06 -0700
On 5/9/2017 11:10 AM, Mark Millard wrote:
> I've had reason to be experimenting with libkvm recently
> and have repeatedly run into the following when doing
> buildworld with -j16. (I tend to run full buildworlds even
> for well-localized changes.) The context is having run
> buildworld to completion before so the update is
> incremental.
> 
> --- kvm_geterr_test ---
> kvm_geterr_test.o: In function `atfu_kvm_geterr_negative_test_NULL_body':
> /usr/src/lib/libkvm/tests/kvm_geterr_test.c:56: undefined reference to `errbuf_has_error'
> kvm_geterr_test.o: In function `atfu_kvm_geterr_positive_test_no_error_body':
> . . .
> --- kvm_geterr_test ---
> /usr/src/lib/libkvm/tests/kvm_geterr_test.c:108: undefined reference to `errbuf_clear'
> /usr/src/lib/libkvm/tests/kvm_geterr_test.c:109: undefined reference to `errbuf'
> /usr/src/lib/libkvm/tests/kvm_geterr_test.c:109: undefined reference to `errbuf'
> /usr/src/lib/libkvm/tests/kvm_geterr_test.c:110: undefined reference to `errbuf_has_error'
> kvm_geterr_test.o: In function `atfu_kvm_geterr_positive_test_error_body':
> /usr/src/lib/libkvm/tests/kvm_geterr_test.c:73: undefined reference to `errbuf_clear'
> /usr/src/lib/libkvm/tests/kvm_geterr_test.c:74: undefined reference to `errbuf'
> /usr/src/lib/libkvm/tests/kvm_geterr_test.c:74: undefined reference to `errbuf'
> /usr/src/lib/libkvm/tests/kvm_geterr_test.c:75: undefined reference to `errbuf_has_error'
> /usr/src/lib/libkvm/tests/kvm_geterr_test.c:80: undefined reference to `errbuf_has_error'
> 
> By contrast if I omit -j<?> completely the incremental
> buildworld runs to completion just fine. (rm -rf of the
> past buildworld and so building from scratch also works.)
> 
> The context for my activity happens to use:
> 
> # more ~/sys_build_scripts.amd64-host/make_powerpcvtsc_nodebug_gcc421_bootstrap_clang-amd64-host.sh 
> kldload -n filemon && \
> script ~/sys_typescripts/typescript_make_powerpcvtsc_nodebug_gcc421_bootstrap_clang-amd64-host-$(date +%Y-%m-%d:%H:%M:%S) \
> env __MAKE_CONF="/root/src.configs/make.conf" SRCCONF="/dev/null" SRC_ENV_CONF="/root/src.configs/src.conf.powerpc-gcc421-bootstrap-clang.amd64-host" \
> WITH_META_MODE=yes \

Thanks for the report.  Fixed in r318092.

-- 
Regards,
Bryan Drewery


Received on Tue May 09 2017 - 16:46:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:11 UTC