Bug 252703

Summary: riscv kernel build failure on drace on 20210114-7ae27c2d6c4
Product: Base System Reporter: Michael Dexter <editor>
Component: riscvAssignee: Mitchell Horne <mhorne>
Status: Closed FIXED    
Severity: Affects Many People CC: markj
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

Description Michael Dexter 2021-01-15 05:45:32 UTC
A build of Git hash 7ae27c2d6c4 used in the 20210114 CURRENT snapshot fails on riscv buildkernel. Output below and also seen by gjb@

I am happy to send more output upon request but a buildkernel attempt should reproduce it.

--- all_subdir_i2c ---
--- genoffset.o ---
cc -target riscv64-unknown-freebsd13.0 --sysroot=/build/7ae27c2d6c4/obj/build/7ae27c2d6c4/src/riscv.riscv64/tmp -B/build/7ae27c2d6c4/obj/build/7ae27c2d6c4/src/riscv.riscv64/tmp/usr/bin -c -O2 -pipe -march=rv64imafdc -mabi=lp64d -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -DKLD_TIED -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /build/7ae27c2d6c4/obj/build/7ae27c2d6c4/src/riscv.riscv64/sys/GENERIC-NODEBUG/opt_global.h -I. -I/build/7ae27c2d6c4/src/sys -I/build/7ae27c2d6c4/src/sys/contrib/ck/include -g -fPIC -fdebug-prefix-map=./machine=/build/7ae27c2d6c4/src/sys/riscv/include -I/build/7ae27c2d6c4/obj/build/7ae27c2d6c4/src/riscv.riscv64/sys/GENERIC-NODEBUG -MD -MF.depend.genoffset.o -MTgenoffset.o -march=rv64imafdc -mabi=lp64 -mno-relax -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-format-zero-length -mcmodel=medium -std=iso9899:1999 -fcommon  /build/7ae27c2d6c4/src/sys/kern/genoffset.c
--- all_subdir_dtrace ---
*** [dtrace.o] Error code 1

make[5]: stopped in /build/7ae27c2d6c4/src/sys/modules/dtrace/dtrace
1 error

make[5]: stopped in /build/7ae27c2d6c4/src/sys/modules/dtrace/dtrace
*** [modules-all] Error code 2