Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2015 16:00:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 201204] stable/10 mips build fails in usr.bin/gcore
Message-ID:  <bug-201204-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: na@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201204-8>