Date: Thu, 28 May 2020 03:51:45 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 246797] make buildworld fails in libc code at /usr/src/libexec/rtld-elf/rtld.c:1175:20: error: no member named 'l_refname' in 'struct link_map'; did you mean 'l_name'? Message-ID: <bug-246797-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246797 Bug ID: 246797 Summary: make buildworld fails in libc code at /usr/src/libexec/rtld-elf/rtld.c:1175:20: error: no member named 'l_refname' in 'struct link_map'; did you mean 'l_name'? Product: Base System Version: 12.1-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: ulassayginim@gmail.com https://github.com/freebsd/freebsd/archive/stable/12.zip MFC r361303, r361349, r361394, r361398, r361537 commit. has problem with build world. /usr/src/libexec/rtld-elf/rtld.c:1175:20: error: no member named 'l_refname= ' in 'struct link_map'; did you mean 'l_name'? if (obj->linkmap.l_refname =3D=3D NULL) ^~~~~~~~~ l_name /usr/include/sys/link_elf.h:64:14: note: 'l_name' declared here const char *l_name; /* Absolute Path to Library= */ ^ /usr/src/libexec/rtld-elf/rtld.c:1176:20: error: no member named 'l_refname= ' in 'struct link_map'; did you mean 'l_name'? obj->linkmap.l_refname =3D (char *)dynp->d_un.d_val; ^~~~~~~~~ l_name /usr/include/sys/link_elf.h:64:14: note: 'l_name' declared here const char *l_name; /* Absolute Path to Library= */ ^ /usr/src/libexec/rtld-elf/rtld.c:1360:22: error: no member named 'l_refname= ' in 'struct link_map'; did you mean 'l_name'? if (obj->linkmap.l_refname !=3D NULL) ^~~~~~~~~ l_name /usr/include/sys/link_elf.h:64:14: note: 'l_name' declared here const char *l_name; /* Absolute Path to Library= */ ^ /usr/src/libexec/rtld-elf/rtld.c:1362:12: error: no member named 'l_refname= ' in 'struct link_map'; did you mean 'l_name'? linkmap.l_refname; ^~~~~~~~~ l_name /usr/include/sys/link_elf.h:64:14: note: 'l_name' declared here const char *l_name; /* Absolute Path to Library= */ ^ /usr/src/libexec/rtld-elf/rtld.c:1361:15: error: no member named 'l_refname= ' in 'struct link_map'; did you mean 'l_name'? obj->linkmap.l_refname =3D obj->strtab + (unsigned long)obj-> ^~~~~~~~~ l_name /usr/include/sys/link_elf.h:64:14: note: 'l_name' declared here const char *l_name; /* Absolute Path to Library= */ ^ /usr/src/libexec/rtld-elf/rtld.c:3329:16: error: use of undeclared identifi= er 'RTLD_DEEPBIND' if (mode & RTLD_DEEPBIND) ^ /usr/src/libexec/rtld-elf/rtld.c:3995:5: error: no member named 'l_base' in 'struct link_map'; did you mean 'l_name'? l->l_base =3D obj->mapbase; ^~~~~~ l_name /usr/include/sys/link_elf.h:64:14: note: 'l_name' declared here const char *l_name; /* Absolute Path to Library= */ ^ 7 errors generated. *** Error code 1 Stop. make[4]: stopped in /usr/src/libexec/rtld-elf .ERROR_TARGET=3D'rtld.o' .ERROR_META_FILE=3D'/usr/obj/usr/src/amd64.amd64/libexec/rtld-elf/rtld.o.me= ta' .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 -Wall -DFREEBSD_ELF -DIN_RTLD -ffreestanding -I/usr/src/lib/csu/common -I/usr/src/libexec/rtld-elf/amd64 -I/usr/src/libexec/rtld-elf -fpic -DPIC -fvisibility=3Dhidden -mno-mmx -mn= o-sse -mno-avx -mno-avx2 -msoft-float -std=3Dgnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-stri= ngs -Wswitch -Wshadow -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wformat=3D2 -Wno-format-extra-args -Werror -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-vari= able -Qunused-arguments -c /usr/src/libexec/rtld-elf/rtld.c -o rtld.o; ;' .CURDIR=3D'/usr/src/libexec/rtld-elf' .MAKE=3D'make' .OBJDIR=3D'/usr/obj/usr/src/amd64.amd64/libexec/rtld-elf' .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/legacy/usr/sbin:/usr/obj/usr/src/a= md64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/= usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/u= sr/bin:/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/libexec/rtld-elf/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/libexec/rtld-elf/amd64/Makefile.inc /usr/src/share/mk/bsd.prog.mk /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk /usr/src/share/mk/src.init.mk /usr/src/libexec/rtld-elf/../Makefile.inc /usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.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 /usr/src/share/mk/bsd.symver.mk' .PATH=3D'. /usr/src/libexec/rtld-elf /usr/src/libexec/rtld-elf/amd64' *** Error code 1 Stop. make[3]: stopped in /usr/src/libexec .ERROR_TARGET=3D'all_subdir_libexec/rtld-elf' .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/libexec' .MAKE=3D'make' .OBJDIR=3D'/usr/obj/usr/src/amd64.amd64/libexec' .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/legacy/usr/sbin:/usr/obj/usr/src/a= md64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/= usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/u= sr/bin:/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/libexec/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/share/mk/bsd.arch.inc.mk /usr/src/libexec/Makefile.amd64 /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/libexec' *** Error code 1 Stop. make[2]: stopped in /usr/src .ERROR_TARGET=3D'all_subdir_libexec' .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'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/legacy/usr/sbin:/usr/obj/usr/src/a= md64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/= usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/u= sr/bin:/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/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'everything' .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/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-246797-227>