Build error on mips

From: Mori Hiroki <yamori813_at_yahoo.co.jp>
Date: Wed, 26 May 2021 14:06:22 +0900 (JST)
Hi
I try to build releng/13.0 on amd64/13R by ZRouter. I have build error.
If you have advice, please let me know.
Thanks
cc -O2 -pipe -fno-common -I/usr/home/hiroki/src130/contrib/elftoolchain/libelftc -I/usr/home/hiroki/src130/contrib/elftoolchain/libpe -I/usr/home/hiroki/src130/contrib/elftoolchain/common -DWITH_PE=1 -I. -DNDEBUG -g -std=gnu99 -Wno-format-zero-length -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -I/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/src130/mips.mips/tmp/legacy/usr/include  -static   -L/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/src130/mips.mips/tmp/legacy/usr/lib -o objcopy.full archive.o ascii.o binary.o main.o pe.o sections.o segments.o symbols.o  -L/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/src130/mips.mips/tmp/obj-tools/lib/libarchive -larchive -L/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/src130/mips.mips/tmp/obj-tools/lib/libz -lz -L/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/src130/mips.mips/tmp/obj-tools/lib/libbz2 -lbz2 -L/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/src130/mips.mips/tmp/obj-tools/lib/liblzma -llzma -L/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/src130/mips.mips/tmp/obj-tools/lib/libmd -lmd -L/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/src130/mips.mips/tmp/obj-tools/lib/libthr -L/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/src130/mips.mips/tmp/obj-tools/lib/libexpat -lbsdxml -lprivatezstd -L/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/src130/mips.mips/tmp/obj-tools/lib/libthr -L/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/src130/mips.mips/tmp/obj-tools/lib/libmd -lmd -L/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/src130/mips.mips/tmp/obj-tools/lib/libelftc -lelftc -L/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/src130/mips.mips/tmp/obj-tools/lib/libelf -lelf -L/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/src130/mips.mips/tmp/obj-tools/lib/libpe -lpe -lpthread  -legacy
ld: error: unable to find library -legacy
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Received on Wed May 26 2021 - 05:06:22 UTC

Original text of this message