Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2020 08:40:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 246801] amke buildworld error code at /usr/src/lib/libc/gen/auxv.c:89:8: error: use of undeclared identifier 'AT_BSDFLAGS' case AT_BSDFLAGS:
Message-ID:  <bug-246801-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246801

            Bug ID: 246801
           Summary: amke buildworld error code at
                    /usr/src/lib/libc/gen/auxv.c:89:8: error: use of
                    undeclared identifier 'AT_BSDFLAGS' case AT_BSDFLAGS:
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: ulassayginim@gmail.com

freebsd src from github repo at commit 08b4ae90699a4170585519cd087463c7bd2d=
4cce

https://github.com/freebsd/freebsd/tree/a1b7645a05c564cbc44103ba3555dbbe95b=
bae14

make buildworld  gives this error.

Building /usr/obj/usr/src/amd64.amd64/lib/libc/auxv.o
/usr/src/lib/libc/gen/auxv.c:89:8: error: use of undeclared identifier
'AT_BSDFLAGS'
                case AT_BSDFLAGS:
                     ^
/usr/src/lib/libc/gen/auxv.c:139:8: error: use of undeclared identifier
'AT_PS_STRINGS'
                case AT_PS_STRINGS:
                     ^
/usr/src/lib/libc/gen/auxv.c:337:7: error: use of undeclared identifier
'AT_BSDFLAGS'
        case AT_BSDFLAGS:
             ^
/usr/src/lib/libc/gen/auxv.c:344:7: error: use of undeclared identifier
'AT_PS_STRINGS'
        case AT_PS_STRINGS:
             ^
4 errors generated.
*** Error code 1

Stop.
make[4]: stopped in /usr/src/lib/libc
.ERROR_TARGET=3D'auxv.o'
.ERROR_META_FILE=3D'/usr/obj/usr/src/amd64.amd64/lib/libc/auxv.o.meta'
.MAKE.LEVEL=3D'4'
MAKEFILE=3D''
.MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes ve=
rbose'
_ERROR_CMD=3D'/usr/local/libexec/ccache/world/cc  -O2 -pipe -fno-strict-ali=
asing
-fno-common -march=3Dnative  -DNO__SCCSID -DNO__RCSID -I/usr/src/lib/libc/i=
nclude
-I/usr/src/include -I/usr/src/lib/libc/amd64  -D__DBINTERFACE_PRIVATE
-I/usr/src/contrib/gdtoa -I/usr/src/contrib/libc-vis -DINET6
-I/usr/obj/usr/src/amd64.amd64/lib/libc -I/usr/src/lib/libc/resolv
-D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libmd
-I/usr/src/contrib/jemalloc/include -I/usr/src/contrib/tzcode/stdtime
-I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTM=
AP
-DDES_BUILTIN -I/usr/src/lib/libc/rpc -DNS_CACHING -DSYMBOL_VERSIONING
-std=3Dgnu99 -Wno-format-zero-length -nobuiltininc -idirafter
/usr/lib/clang/10.0.0/include -Wsystem-headers -Werror -Wall -Wno-format-y2k
-Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int
-Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value
-Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion
-Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch
-Wno-switch-enum -Wno-knr-promoted-parameter  -Qunused-arguments=20=20=20
-I/usr/src/lib/libutil -I/usr/src/lib/msun/amd64 -I/usr/src/lib/msun/x86
-I/usr/src/lib/msun/src -c /usr/src/lib/libc/gen/auxv.c -o auxv.o; ;'
.CURDIR=3D'/usr/src/lib/libc'
.MAKE=3D'make'
.OBJDIR=3D'/usr/obj/usr/src/amd64.amd64/lib/libc'
.TARGETS=3D'all'
DESTDIR=3D'/usr/obj/usr/src/amd64.amd64/tmp'
LD_LIBRARY_PATH=3D''
MACHINE=3D'amd64'
MACHINE_ARCH=3D'amd64'
MAKEOBJDIRPREFIX=3D''
MAKESYSPATH=3D'/usr/src/share/mk'
MAKE_VERSION=3D'20180512'
PATH=3D'/usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.am=
d64/tmp/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/u=
sr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/lega=
cy/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/libexec::/sbin:/bin:/usr=
/sbin:/usr/bin'
SRCTOP=3D'/usr/src'
OBJTOP=3D'/usr/obj/usr/src/amd64.amd64'
.MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk /usr/src/share/mk/local.sys.env=
.mk
/usr/src/share/mk/src.sys.env.mk /etc/src-env.conf
/usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/src.sys.obj.mk
/usr/src/share/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk /etc/make.c=
onf
/usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/src.conf
/usr/src/lib/libc/Makefile /usr/src/share/mk/src.opts.mk
/usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk
/usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.compiler.mk
/usr/src/share/mk/bsd.linker.mk /usr/src/lib/libc/amd64/Makefile.inc
/usr/src/lib/libc/db/Makefile.inc /usr/src/lib/libc/db/btree/Makefile.inc
/usr/src/lib/libc/db/db/Makefile.inc /usr/src/lib/libc/db/hash/Makefile.inc
/usr/src/lib/libc/db/man/Makefile.inc /usr/src/lib/libc/db/mpool/Makefile.i=
nc
/usr/src/lib/libc/db/recno/Makefile.inc
/usr/src/lib/libc/compat-43/Makefile.inc /usr/src/lib/libc/gdtoa/Makefile.i=
nc
/usr/src/lib/libc/gen/Makefile.inc /usr/src/lib/libc/amd64/gen/Makefile.inc
/usr/src/share/mk/src.tools.mk /usr/src/lib/libc/gmon/Makefile.inc
/usr/src/lib/libc/iconv/Makefile.inc /usr/src/lib/libc_nonshared/Makefile.i=
conv
/usr/src/lib/libc/inet/Makefile.inc /usr/src/lib/libc/isc/Makefile.inc
/usr/src/lib/libc/locale/Makefile.inc /usr/src/lib/libc/md/Makefile.inc
/usr/src/lib/libc/nameser/Makefile.inc /usr/src/lib/libc/net/Makefile.inc
/usr/src/lib/libc/nls/Makefile.inc /usr/src/lib/libc/posix1e/Makefile.inc
/usr/src/lib/libc/regex/Makefile.inc /usr/src/lib/libc/resolv/Makefile.inc
/usr/src/lib/libc/stdio/Makefile.inc /usr/src/lib/libc/stdlib/Makefile.inc
/usr/src/lib/libc/amd64/stdlib/Makefile.inc
/usr/src/lib/libc/stdlib/jemalloc/Makefile.inc
/usr/src/lib/libc/stdtime/Makefile.inc /usr/src/lib/libc/string/Makefile.inc
/usr/src/lib/libc/amd64/string/Makefile.inc /usr/src/lib/libc/sys/Makefile.=
inc
/usr/src/sys/sys/syscall.mk /usr/src/lib/libc/amd64/sys/Makefile.inc
/usr/src/lib/libc/secure/Makefile.inc /usr/src/lib/libc/rpc/Makefile.inc
/usr/src/lib/libc/uuid/Makefile.inc /usr/src/lib/libc/xdr/Makefile.inc
/usr/src/lib/libc/x86/sys/Makefile.inc /usr/src/lib/libc/x86/gen/Makefile.i=
nc
/usr/src/lib/libc/capability/Makefile.inc /usr/src/share/mk/bsd.lib.mk
/usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk
/usr/src/share/mk/src.init.mk /usr/src/lib/libc/../Makefile.inc
/usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk
/usr/src/share/mk/bsd.symver.mk /usr/src/share/mk/bsd.nls.mk
/usr/src/share/mk/bsd.confs.mk /usr/src/share/mk/bsd.files.mk
/usr/src/share/mk/bsd.dirs.mk /usr/src/share/mk/bsd.incs.mk
/usr/src/share/mk/bsd.links.mk /usr/src/share/mk/bsd.dep.mk
/usr/src/share/mk/bsd.clang-analyze.mk /usr/src/share/mk/bsd.obj.mk
/usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.sys.mk'
.PATH=3D'. /usr/src/lib/libc /usr/src/lib/libc/db/btree /usr/src/lib/libc/d=
b/db
/usr/src/lib/libc/db/hash /usr/src/lib/libc/db/man /usr/src/lib/libc/db/mpo=
ol
/usr/src/lib/libc/db/recno /usr/src/lib/libc/compat-43 /usr/src/lib/libc/gd=
toa
/usr/src/lib/libc/amd64/gen /usr/src/lib/libc/gen /usr/src/etc
/usr/src/contrib/libc-pwcache /usr/src/contrib/libc-vis /usr/src/lib/libc/g=
mon
/usr/src/lib/libc/iconv /usr/src/lib/libc/inet /usr/src/lib/libc/isc
/usr/src/lib/libc/locale /usr/src/lib/libmd /usr/src/lib/libc/nameser
/usr/src/lib/libc/net /usr/src/lib/libc/nls /usr/src/lib/libc/posix1e
/usr/src/lib/libc/regex /usr/src/lib/libc/resolv /usr/src/lib/libc/stdio
/usr/src/lib/libc/amd64/stdlib /usr/src/lib/libc/stdlib
/usr/src/lib/libc/stdlib/jemalloc /usr/src/lib/libc/stdtime
/usr/src/contrib/tzcode/stdtime /usr/src/lib/libc/amd64/string
/usr/src/lib/libc/string /usr/src/sys/libkern /usr/src/lib/libc/amd64/sys
/usr/src/lib/libc/sys /usr/src/lib/libc/secure /usr/src/lib/libc/rpc
/usr/src/lib/libc/. /usr/src/lib/libc/uuid /usr/src/lib/libc/xdr
/usr/src/lib/libc/x86/sys /usr/src/lib/libc/x86/gen /usr/src/sys/kern
/usr/src/lib/libc/capability'
*** Error code 1

Stop.
make[3]: stopped in /usr/src
.ERROR_TARGET=3D'lib/libc__L'
.ERROR_META_FILE=3D''
.MAKE.LEVEL=3D'3'
MAKEFILE=3D''
.MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes ve=
rbose'
_ERROR_CMD=3D'.PHONY'
.CURDIR=3D'/usr/src'
.MAKE=3D'make'
.OBJDIR=3D'/usr/obj/usr/src/amd64.amd64'
.TARGETS=3D'_startup_libs'
DESTDIR=3D'/usr/obj/usr/src/amd64.amd64/tmp'
LD_LIBRARY_PATH=3D''
MACHINE=3D'amd64'
MACHINE_ARCH=3D'amd64'
MAKEOBJDIRPREFIX=3D''
MAKESYSPATH=3D'/usr/src/share/mk'
MAKE_VERSION=3D'20180512'
PATH=3D'/usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.am=
d64/tmp/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/u=
sr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/lega=
cy/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/libexec::/sbin:/bin:/usr=
/sbin:/usr/bin'
SRCTOP=3D'/usr/src'
OBJTOP=3D'/usr/obj/usr/src/amd64.amd64'
.MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk /usr/src/share/mk/local.sys.env=
.mk
/usr/src/share/mk/src.sys.env.mk /etc/src-env.conf
/usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/src.sys.obj.mk
/usr/src/share/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk /etc/make.c=
onf
/usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/src.conf
/usr/src/Makefile.inc1 /usr/src/share/mk/src.tools.mk
/usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.opts.mk
/usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/src.opts.mk
/usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.linker.mk
/usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.init.mk
/usr/src/share/mk/local.init.mk /usr/src/share/mk/src.init.mk'
.PATH=3D'. /usr/src'
*** Error code 1

Stop.
make[2]: stopped in /usr/src
.ERROR_TARGET=3D'libraries'
.ERROR_META_FILE=3D''
.MAKE.LEVEL=3D'2'
MAKEFILE=3D''
.MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes ve=
rbose'
_ERROR_CMD=3D'.PHONY'
.CURDIR=3D'/usr/src'
.MAKE=3D'make'
.OBJDIR=3D'/usr/obj/usr/src/amd64.amd64'
.TARGETS=3D'libraries'
DESTDIR=3D'/usr/obj/usr/src/amd64.amd64/tmp'
LD_LIBRARY_PATH=3D''
MACHINE=3D'amd64'
MACHINE_ARCH=3D'amd64'
MAKEOBJDIRPREFIX=3D''
MAKESYSPATH=3D'/usr/src/share/mk'
MAKE_VERSION=3D'20180512'
PATH=3D'/usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.am=
d64/tmp/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/u=
sr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/lega=
cy/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/libexec::/sbin:/bin:/usr=
/sbin:/usr/bin'
SRCTOP=3D'/usr/src'
OBJTOP=3D'/usr/obj/usr/src/amd64.amd64'
.MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk /usr/src/share/mk/local.sys.env=
.mk
/usr/src/share/mk/src.sys.env.mk /etc/src-env.conf
/usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/src.sys.obj.mk
/usr/src/share/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk /etc/make.c=
onf
/usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/src.conf
/usr/src/Makefile.inc1 /usr/src/share/mk/src.tools.mk
/usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.opts.mk
/usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/src.opts.mk
/usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.linker.mk
/usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.init.mk
/usr/src/share/mk/local.init.mk /usr/src/share/mk/src.init.mk'
.PATH=3D'. /usr/src'
*** Error code 1

Stop.
make[1]: stopped in /usr/src
.ERROR_TARGET=3D'_libraries'
.ERROR_META_FILE=3D''
.MAKE.LEVEL=3D'1'
MAKEFILE=3D''
.MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes ve=
rbose'
_ERROR_CMD=3D'.PHONY'
.CURDIR=3D'/usr/src'
.MAKE=3D'make'
.OBJDIR=3D'/usr/obj/usr/src/amd64.amd64'
.TARGETS=3D'buildworld'
DESTDIR=3D''
LD_LIBRARY_PATH=3D''
MACHINE=3D'amd64'
MACHINE_ARCH=3D'amd64'
MAKEOBJDIRPREFIX=3D''
MAKESYSPATH=3D'/usr/src/share/mk'
MAKE_VERSION=3D'20180512'
PATH=3D'/sbin:/bin:/usr/sbin:/usr/bin'
SRCTOP=3D'/usr/src'
OBJTOP=3D'/usr/obj/usr/src/amd64.amd64'
.MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk /usr/src/share/mk/local.sys.env=
.mk
/usr/src/share/mk/src.sys.env.mk /etc/src-env.conf
/usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/src.sys.obj.mk
/usr/src/share/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk /etc/make.c=
onf
/usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/src.conf
/usr/src/Makefile.inc1 /usr/src/share/mk/src.tools.mk
/usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.opts.mk
/usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/src.opts.mk
/usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.linker.mk
/usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.init.mk
/usr/src/share/mk/local.init.mk /usr/src/share/mk/src.init.mk'
.PATH=3D'. /usr/src'
*** Error code 1

Stop.
make: stopped in /usr/src
.ERROR_TARGET=3D'buildworld'
.ERROR_META_FILE=3D''
.MAKE.LEVEL=3D'0'
MAKEFILE=3D''
.MAKE.MODE=3D'normal'
_ERROR_CMD=3D'.PHONY'
.CURDIR=3D'/usr/src'
.MAKE=3D'make'
.OBJDIR=3D'/usr/obj/usr/src/amd64.amd64'
.TARGETS=3D'buildworld'
DESTDIR=3D''
LD_LIBRARY_PATH=3D''
MACHINE=3D'amd64'
MACHINE_ARCH=3D'amd64'
MAKEOBJDIRPREFIX=3D'/usr/obj'
MAKESYSPATH=3D'/usr/src/share/mk'
MAKE_VERSION=3D'20180512'
PATH=3D'/sbin:/bin:/usr/sbin:/usr/bin'
SRCTOP=3D'/usr/src'
OBJTOP=3D'/usr/obj/usr/src/amd64.amd64'

--=20
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-246801-227>