Date: Mon, 29 Jun 2015 01:07:02 -0400 From: Nathan Dorfman <na@rtfm.net> To: freebsd-mips@freebsd.org Subject: stable/10 build broken (ELF_MACHINE_OK undefined)? Message-ID: <20150629050702.GA15404@vane>
next in thread | raw e-mail | index | archive | help
Hello, has anyone been able to build stable/10 for mips lately? It stops here for me: ===> usr.bin/gcore (all) cc -O -pipe -G0 -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c /usr/src/usr.bin/gcore/elfcore.c -o elfcore.o cc1: warnings being treated as errors /usr/src/usr.bin/gcore/elfcore.c: In function 'elf_ident': /usr/src/usr.bin/gcore/elfcore.c:149: warning: implicit declaration of function 'ELF_MACHINE_OK' *** Error code 1 Adding -DNO_WERROR just postpones the same problem until linking: ===> usr.bin/gcore (all) cc -O -pipe -G0 -std=gnu99 -Wsystem-headers -Wno-pointer-sign -c /usr/src/usr.bin/gcore/elfcore.c -o elfcore.o /usr/src/usr.bin/gcore/elfcore.c: In function 'elf_ident': /usr/src/usr.bin/gcore/elfcore.c:149: warning: implicit declaration of function 'ELF_MACHINE_OK' cc -O -pipe -G0 -std=gnu99 -Wsystem-headers -Wno-pointer-sign -c /usr/src/usr.bin/gcore/gcore.c -o gcore.o cc -O -pipe -G0 -std=gnu99 -Wsystem-headers -Wno-pointer-sign -o gcore elfcore.o gcore.o -lsbuf -lutil elfcore.o: In function `elf_ident': elfcore.c:(.text+0x15bc): undefined reference to `ELF_MACHINE_OK' elfcore.c:(.text+0x15c0): undefined reference to `ELF_MACHINE_OK' *** Error code 1 (Building with TARGET=mips TARGET_ARCH=mips64 on an amd64 host, running a fresh build of the exact same tree.) -nd.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150629050702.GA15404>