[Bug 201204] stable/10 mips build fails in usr.bin/gcore

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jun 29 16:00:03 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201204

            Bug ID: 201204
           Summary: stable/10 mips build fails in usr.bin/gcore
           Product: Base System
           Version: 10.1-STABLE
          Hardware: mips
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: na at rtfm.net

It seems that I can no longer build stable/10 for TARGET=mips
TARGET_ARCH=mips64. This is on an amd64 host, running a fresh build of the
exact same tree.

===> 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

Or, with -DNO_WERROR:

===> 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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list