[06:39:01] libtool: compile: /wrkdirs/usr/ports/lang/gcc12/work/.build/./gcc/xgcc -B/wrkdirs/usr/ports/lang/gcc12/work/.build/./gcc/ -B/usr/local/riscv64-portbld-freebsd14.0/bin/ -B/usr/local/riscv64-portbld-freebsd14.0/lib/ -isystem /usr/local/riscv64-portbld-freebsd14.0/include -isystem /usr/local/riscv64-portbld-freebsd14.0/sys-include -DHAVE_CONFIG_H -I. -I/wrkdirs/usr/ports/lang/gcc12/work/gcc-12.2.0/libgfortran -iquote/wrkdirs/usr/ports/lang/gcc12/work/gcc-12.2.0/libgfortran/io -I/wrkdirs/usr/ports/lang/gcc12/work/gcc-12.2.0/libgfortran/../gcc -I/wrkdirs/usr/ports/lang/gcc12/work/gcc-12.2.0/libgfortran/../gcc/config -I../.././gcc -I/wrkdirs/usr/ports/lang/gcc12/work/gcc-12.2.0/libgfortran/../libgcc -I../libgcc -I/wrkdirs/usr/ports/lang/gcc12/work/gcc-12.2.0/libgfortran/../libbacktrace -I../libbacktrace -I../libbacktrace -std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla -fcx-fortran-rules -ffunction-sections -fdata-sections -g -O2 -pipe -march=rv64imafdc -mabi=lp64d -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT fpu.lo -MD -MP -MF .deps/fpu.Tpo -c /wrkdirs/usr/ports/lang/gcc12/work/gcc-12.2.0/libgfortran/runtime/fpu.c -fPIC -DPIC -o .libs/fpu.o [06:39:04] In file included from /wrkdirs/usr/ports/lang/gcc12/work/gcc-12.2.0/libgfortran/runtime/fpu.c:29: [06:39:04] ./fpu-target.h:44:3: error: unknown type name 'choke' [06:39:04] 44 | choke me [06:39:04] | ^~~~~ [06:39:04] ./fpu-target.h:52:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'choke' [06:39:04] 52 | choke me [06:39:04] | ^~~~~ [06:39:04] ./fpu-target.h:52:3: error: unknown type name 'choke' [06:39:04] ./fpu-target.h: In function 'get_fpu_trap_exceptions': [06:39:04] ./fpu-target.h:111:23: error: implicit declaration of function 'fpgetmask' [-Werror=implicit-function-declaration] [06:39:04] 111 | FP_EXCEPT_TYPE cw = fpgetmask(); [06:39:04] | ^~~~~~~~~ [06:39:04] ./fpu-target.h:111:18: warning: unused variable 'cw' [-Wunused-variable] [06:39:04] 111 | FP_EXCEPT_TYPE cw = fpgetmask(); [06:39:04] | ^~ [06:39:04] ./fpu-target.h: In function 'get_fpu_except_flags': [06:39:04] ./fpu-target.h:198:17: error: implicit declaration of function 'fpgetsticky' [-Werror=implicit-function-declaration] [06:39:04] 198 | set_excepts = fpgetsticky (); [06:39:04] | ^~~~~~~~~~~ [06:39:04] ./fpu-target.h:195:18: warning: variable 'set_excepts' set but not used [-Wunused-but-set-variable] [06:39:04] 195 | FP_EXCEPT_TYPE set_excepts; [06:39:04] | ^~~~~~~~~~~ [06:39:04] ./fpu-target.h: In function 'set_fpu_except_flags': [06:39:04] ./fpu-target.h:283:3: error: implicit declaration of function 'FPSETSTICKY' [-Werror=implicit-function-declaration] [06:39:04] 283 | FPSETSTICKY (flags); [06:39:04] | ^~~~~~~~~~~ [06:39:04] ./fpu-target.h:235:27: warning: unused parameter 'set' [-Wunused-parameter] [06:39:04] 235 | set_fpu_except_flags (int set, int clear) [06:39:04] | ~~~~^~~ [06:39:04] ./fpu-target.h:235:36: warning: unused parameter 'clear' [-Wunused-parameter] [06:39:04] 235 | set_fpu_except_flags (int set, int clear) [06:39:04] | ~~~~^~~~~ [06:39:04] ./fpu-target.h: In function 'get_fpu_rounding_mode': [06:39:04] ./fpu-target.h:334:11: error: implicit declaration of function 'fpgetround' [-Werror=implicit-function-declaration] [06:39:04] 334 | switch (fpgetround ()) [06:39:04] | ^~~~~~~~~~ [06:39:04] ./fpu-target.h:336:12: error: 'FP_RN' undeclared (first use in this function); did you mean 'FP_NAN'? [06:39:04] 336 | case FP_RN: [06:39:04] | ^~~~~ [06:39:04] | FP_NAN [06:39:04] ./fpu-target.h:336:12: note: each undeclared identifier is reported only once for each function it appears in [06:39:04] ./fpu-target.h:338:12: error: 'FP_RP' undeclared (first use in this function) [06:39:04] 338 | case FP_RP: [06:39:04] | ^~~~~ [06:39:04] ./fpu-target.h:340:12: error: 'FP_RM' undeclared (first use in this function) [06:39:04] 340 | case FP_RM: [06:39:04] | ^~~~~ [06:39:04] ./fpu-target.h:342:12: error: 'FP_RZ' undeclared (first use in this function) [06:39:04] 342 | case FP_RZ: [06:39:04] | ^~~~~ [06:39:04] ./fpu-target.h: In function 'set_fpu_rounding_mode': [06:39:04] ./fpu-target.h:353:3: error: unknown type name 'FP_RND_TYPE' [06:39:04] 353 | FP_RND_TYPE rnd_mode; [06:39:04] | ^~~~~~~~~~~ [06:39:04] ./fpu-target.h:358:20: error: 'FP_RN' undeclared (first use in this function); did you mean 'FP_NAN'? [06:39:04] 358 | rnd_mode = FP_RN; [06:39:04] | ^~~~~ [06:39:04] | FP_NAN [06:39:04] ./fpu-target.h:361:20: error: 'FP_RP' undeclared (first use in this function) [06:39:04] 361 | rnd_mode = FP_RP; [06:39:04] | ^~~~~ [06:39:04] ./fpu-target.h:364:20: error: 'FP_RM' undeclared (first use in this function) [06:39:04] 364 | rnd_mode = FP_RM; [06:39:04] | ^~~~~ [06:39:05] ./fpu-target.h:367:20: error: 'FP_RZ' undeclared (first use in this function) [06:39:05] 367 | rnd_mode = FP_RZ; [06:39:05] | ^~~~~ [06:39:05] ./fpu-target.h:372:3: error: implicit declaration of function 'fpsetround' [-Werror=implicit-function-declaration] [06:39:05] 372 | fpsetround (rnd_mode); [06:39:05] | ^~~~~~~~~~ [06:39:05] ./fpu-target.h: At top level: [06:39:05] ./fpu-target.h:387:3: error: unknown type name 'FP_RND_TYPE' [06:39:05] 387 | FP_RND_TYPE round; [06:39:05] | ^~~~~~~~~~~ [06:39:05] ./fpu-target.h: In function 'set_fpu_state': [06:39:05] ./fpu-target.h:411:3: error: implicit declaration of function 'fpsetmask' [-Werror=implicit-function-declaration] [06:39:05] 411 | fpsetmask (state->mask); [06:39:05] | ^~~~~~~~~ [06:39:05] cc1: some warnings being treated as errors [06:39:05] gmake[4]: *** [Makefile:3071: fpu.lo] Error 1 [06:39:05] gmake[4]: *** Waiting for unfinished jobs....