Re: 13/STABLE: usr/src/sys/x86/x86/tsc.c:718:8: error: use of undeclared label 'calibrated'

From: Mark Johnston <markj_at_freebsd.org>
Date: Thu, 06 Jan 2022 14:16:22 UTC
On Thu, Jan 06, 2022 at 03:06:14PM +0100, FreeBSD User wrote:
> With mergin a recent commit today involving /usr/src/sys/x86/x86/tsc.c of FreeBSD
> 13-STABLE, compiling the kernel results in the error shown below:
> 
> [...]
> cc -target x86_64-unknown-freebsd13.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp
> -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -shared -O3 -pipe -fno-strict-aliasing
> -march=native  -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include
> -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
> opt_global.h -fno-common    -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD
> -MF.depend.hack.pico -MThack.pico -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
> -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -mcmodel=kernel -mno-red-zone -mno-mmx
> -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv
> -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
> -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option
> -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body
> -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign
> -Wno-error=shift-negative-value -Wno-address-of-packed-member
> -Wno-error=unused-but-set-variable -Wno-format-zero-length   -mno-aes -mno-avx
> -std=iso9899:1999 -nostdlib hack.c -o hack.pico rm -f hack.c --- modules-all --- ---
> all_subdir_aac --- ===> aac (all) --- all_subdir_aacraid --- ===> aacraid (all) ---
> all_subdir_accf_data --- ===> accf_data (all) --- tsc.o ---
> /usr/src/sys/x86/x86/tsc.c:718:8: error: use of undeclared label 'calibrated' goto
> calibrated;
> 
> 
> Kind regards and thanks in advance,
> 
> oh
> 

Should be fixed now, thanks.