hi! So mips32 and gcc9 is broken, and things have been broken with mips32+gcc for months now. I've been poking slowly at the various build failures and they're getting slowly fixed, but this one deep in linker fun is stumping me: === /usr/local/bin/mips-unknown-freebsd13.0-gcc9 --sysroot=/usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp -B/usr/local/mips-unknown-freebsd13.0/bin/ -O -pipe -fno-common -DATJOB_DIR=\"/var/at/jobs/\" -DLFILE=\"/var/at/jobs/.lockfile\" -DLOADAVG_MX=1.5 -DATSPOOL_DIR=\"/var/at/spool\" -DDAEMON_UID=1 -DDAEMON_GID=1 -DDEFAULT_BATCH_QUEUE=\'E\' -DDEFAULT_AT_QUEUE=\'c\' -DPERM_PATH=\"/var/at/\" -I/usr/home/adrian/work/freebsd/head-embedded/src/usr.bin/at -I/usr/home/adrian/work/freebsd/head-embedded/src/libexec/atrun -DLOGIN_CAP -DPAM -G0 -EB -mabi=32 -msoft-float -march=mips32 -g -std=gnu99 -Wno-format-zero-length -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-error=address -Wno-error=array-bounds -Wno-error=attributes -Wno-error=bool-compare -Wno-error=cast-align -Wno-error=clobbered -Wno-error=deprecated-declarations -Wno-error=enum-compare -Wno-error=extra -Wno-error=inline -Wno-error=logical-not-parentheses -Wno-error=strict-aliasing -Wno-error=uninitialized -Wno-error=unused-but-set-variable -Wno-error=unused-function -Wno-error=unused-value -Wno-error=empty-body -Wno-error=maybe-uninitialized -Wno-error=nonnull-compare -Wno-error=redundant-decls -Wno-error=shift-negative-value -Wno-error=tautological-compare -Wno-error=unused-const-variable -Wno-error=bool-operation -Wno-error=deprecated -Wno-error=expansion-to-defined -Wno-error=format-overflow -Wno-error=format-truncation -Wno-error=implicit-fallthrough -Wno-error=int-in-bool-context -Wno-error=memset-elt-size -Wno-error=noexcept-type -Wno-error=nonnull -Wno-error=pointer-compare -Wno-error=stringop-overflow -Wno-error=aggressive-loop-optimizations -Wno-error=cast-function-type -Wno-error=catch-value -Wno-error=multistatement-macros -Wno-error=restrict -Wno-error=sizeof-pointer-memaccess -Wno-error=stringop-truncation -Wno-error=empty-body -Wno-error=overflow -Wno-address-of-packed-member -EB -mabi=32 -o atrun.full atrun.o gloadavg.o -lpam -lutil /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/usr/lib/crt1.o: in function `__start': /usr/home/adrian/work/freebsd/head-embedded/src/lib/csu/mips/crt1_c.c:76: undefined reference to `_init_tls' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/src/lib/csu/mips/crt1_c.c:76: undefined reference to `_init_tls' /usr/local/bin/mips-unknown-freebsd13.0-ld: atrun.o: in function `perr': /usr/home/adrian/work/freebsd/head-embedded/src/libexec/atrun/atrun.c:417: undefined reference to `vsyslog' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/src/libexec/atrun/atrun.c:417: undefined reference to `vsyslog' /usr/local/bin/mips-unknown-freebsd13.0-ld: atrun.o: in function `perrx': /usr/home/adrian/work/freebsd/head-embedded/src/libexec/atrun/atrun.c:433: undefined reference to `vsyslog' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/src/libexec/atrun/atrun.c:433: undefined reference to `vsyslog' /usr/local/bin/mips-unknown-freebsd13.0-ld: atrun.o: in function `run_file': /usr/home/adrian/work/freebsd/head-embedded/src/libexec/atrun/atrun.c:348: undefined reference to `waitpid' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/src/libexec/atrun/atrun.c:348: undefined reference to `waitpid' /usr/local/bin/mips-unknown-freebsd13.0-ld: atrun.o: in function `main': /usr/home/adrian/work/freebsd/head-embedded/src/libexec/atrun/atrun.c:478: undefined reference to `openlog' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/src/libexec/atrun/atrun.c:478: undefined reference to `openlog' /usr/local/bin/mips-unknown-freebsd13.0-ld: atrun.o: in function `usage': /usr/home/adrian/work/freebsd/head-embedded/src/libexec/atrun/atrun.c:590: undefined reference to `syslog' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/src/libexec/atrun/atrun.c:590: undefined reference to `syslog' /usr/local/bin/mips-unknown-freebsd13.0-ld: atrun.o: in function `main': /usr/home/adrian/work/freebsd/head-embedded/src/libexec/atrun/atrun.c:532: undefined reference to `time' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/src/libexec/atrun/atrun.c:532: undefined reference to `time' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/src/libexec/atrun/atrun.c:510: undefined reference to `sysctlbyname' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/src/libexec/atrun/atrun.c:510: undefined reference to `sysctlbyname' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/src/libexec/atrun/atrun.c:577: undefined reference to `closelog' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/src/libexec/atrun/atrun.c:580: undefined reference to `closelog' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/lib/libc.so.7: undefined reference to `sys_nsig' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/lib/libc.so.7: undefined reference to `futx_to_utx' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/lib/libc.so.7: undefined reference to `_waitpid' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/usr/lib/libpam.so: undefined reference to `sigfillset' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/lib/libc.so.7: undefined reference to `_fixtelldir' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/usr/lib/libpam.so: undefined reference to `sysconf' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/lib/libc.so.7: undefined reference to `_reclaim_telldir' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/lib/libc.so.7: undefined reference to `sigismember' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/lib/libc.so.7: undefined reference to `sl_init' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/lib/libc.so.7: undefined reference to `sysctlnametomib' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/lib/libc.so.7: undefined reference to `utx_to_futx' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/lib/libc.so.7: undefined reference to `sigdelset' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/lib/libc.so.7: undefined reference to `sl_add' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/lib/libc.so.7: undefined reference to `sl_free' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/usr/lib/libutil.so: undefined reference to `tcsetsid' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/usr/lib/libpam.so: undefined reference to `tcsetattr' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/usr/lib/libutil.so: undefined reference to `sigaddset' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/lib/libc.so.7: undefined reference to `sys_siglist' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/usr/lib/libutil.so: undefined reference to `sysctl' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/usr/lib/libutil.so: undefined reference to `sigemptyset' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/lib/libc.so.7: undefined reference to `__libc_tcdrain' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/usr/lib/libutil.so: undefined reference to `sleep' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/lib/libc.so.7: undefined reference to `signal' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/lib/libc.so.7: undefined reference to `__tls_get_addr' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/usr/lib/libpam.so: undefined reference to `tcgetattr' /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp/lib/libc.so.7: undefined reference to `longjmperror' collect2: error: ld returned 1 exit status *** Error code 1 Stop. make[2]: stopped in /usr/home/adrian/work/freebsd/head-embedded/src/libexec/atrun $ === I only get a few hours a weekend and a couple hours each night to poke at FreeBSD stuff, and I'd /really like/ to be focusing on MIPS fixes and WiFi work. I'd appreciate some help in figuring out who broke what and getting it fixed. Thanks! -adrianReceived on Sun Sep 20 2020 - 20:07:58 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:25 UTC