arm64 stable/13 buildworld stops in bc

From: Matthew Grooms <mgrooms_at_shrew.net>
Date: Sat, 26 Jun 2021 02:30:14 UTC
Hi All,

I've been trying to build stable/13 kernel & world periodically for 
arm64 and either I'm not having very much luck or it's broken more times 
than it compiles. Is there an automated process that's checking builds 
for that platform?

Most recently, world stops building with bc ( see below ). However, that 
looks like that was last touched on June 1st. Has the build really been 
broken since then? :/

--- all_subdir_usr.bin ---
/usr/src/contrib/bc/src/program.c:515:28: error: too few arguments to 
function call, expected 3, have 2
         bc_file_puts(&vm.fout, str);
         ~~~~~~~~~~~~              ^
/usr/src/contrib/bc/include/file.h:81:6: note: 'bc_file_puts' declared here
void bc_file_puts(BcFile *restrict f, BcFlushType type, const char *str);
      ^
/usr/src/contrib/bc/src/program.c:529:21: error: too few arguments to 
function call, expected 2, have 1
                 bc_vm_putchar('\0');
                 ~~~~~~~~~~~~~     ^
/usr/src/contrib/bc/include/vm.h:437:6: note: 'bc_vm_putchar' declared here
void bc_vm_putchar(int c, BcFlushType type);
      ^
/usr/src/contrib/bc/src/program.c:552:23: error: too few arguments to 
function call, expected 2, have 1
                                 bc_vm_putchar('\\');
                                 ~~~~~~~~~~~~~     ^
/usr/src/contrib/bc/include/vm.h:437:6: note: 'bc_vm_putchar' declared here
void bc_vm_putchar(int c, BcFlushType type);
      ^
/usr/src/contrib/bc/src/program.c:556:18: error: too few arguments to 
function call, expected 2, have 1
                 bc_vm_putchar(c);
                 ~~~~~~~~~~~~~  ^
/usr/src/contrib/bc/include/vm.h:437:6: note: 'bc_vm_putchar' declared here
void bc_vm_putchar(int c, BcFlushType type);
      ^
/usr/src/contrib/bc/src/program.c:601:25: error: too few arguments to 
function call, expected 2, have 1
                 bc_file_flush(&vm.fout);
                 ~~~~~~~~~~~~~         ^
/usr/src/contrib/bc/include/file.h:76:6: note: 'bc_file_flush' declared here
void bc_file_flush(BcFile *restrict f, BcFlushType type);
      ^
/usr/src/contrib/bc/src/program.c:607:49: error: too few arguments to 
function call, expected 2, have 1
                         if (inst == BC_INST_PRINT) bc_vm_putchar('\n');
~~~~~~~~~~~~~     ^
/usr/src/contrib/bc/include/vm.h:437:6: note: 'bc_vm_putchar' declared here
void bc_vm_putchar(int c, BcFlushType type);
      ^
--- all_subdir_secure ---
--- dgst.o ---
cc -target aarch64-unknown-freebsd13.0 
--sysroot=/var/rpi4/build/usr/src/arm64.aarch64/tmp 
-B/var/rpi4/build/usr/src/arm64.aarch64/tmp/usr/bin  -O2 -pipe 
-fno-common   -I/usr/src/crypto/openssl 
-I/usr/src/crypto/openssl/include -DL_ENDIAN -DOPENSSL_CPUID_OBJ 
-DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM 
-DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DNDEBUG 
-I/usr/src/crypto/openssl/apps 
-I/var/rpi4/build/usr/src/arm64.aarch64/secure/lib/libcrypto -g -MD  
-MF.depend.dgst.o -MTdgst.o -std=gnu99 -Wno-format-zero-length 
-fstack-protector-strong -Wno-pointer-sign -Wno-empty-body 
-Wno-string-plus-int -Wno-unused-const-variable 
-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 -Wno-parentheses -Qunused-arguments    -c 
/usr/src/crypto/openssl/apps/dgst.c -o dgst.o
--- all_subdir_usr.bin ---
/usr/src/contrib/bc/src/program.c:1812:73: error: too few arguments to 
function call, expected 4, have 3
                 bc_file_write(&vm.fout, bc_program_ready_msg, 
bc_program_ready_msg_len);
~~~~~~~~~~~~~ ^
/usr/src/contrib/bc/include/file.h:77:6: note: 'bc_file_write' declared here
void bc_file_write(BcFile *restrict f, BcFlushType type,
      ^
/usr/src/contrib/bc/src/program.c:1813:25: error: too few arguments to 
function call, expected 2, have 1
                 bc_file_flush(&vm.fout);
                 ~~~~~~~~~~~~~         ^
/usr/src/contrib/bc/include/file.h:76:6: note: 'bc_file_flush' declared here
void bc_file_flush(BcFile *restrict f, BcFlushType type);
      ^
8 errors generated.
*** [program.o] Error code 1

make[4]: stopped in /usr/src/usr.bin/gh-bc
--- all_subdir_secure ---

make[2]: stopped in /usr/src
--- all_subdir_usr.sbin ---

make[2]: stopped in /usr/src
--- all_subdir_lib ---

make[2]: stopped in /usr/src
--- all_subdir_usr.bin ---

make[2]: stopped in /usr/src

make[1]: stopped in /usr/src

make: stopped in /usr/src

Thanks,

-Matthew