Date: Wed, 20 Oct 2021 14:11:12 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 259308] buildworld failure in /usr/src/sbin/gbde: ld: error: /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libmd.so: undefined reference to _libmd_SHA256_Transform [--no-allow-shlib-undefined] Message-ID: <bug-259308-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259308 Bug ID: 259308 Summary: buildworld failure in /usr/src/sbin/gbde: ld: error: /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libmd.so: undefined reference to _libmd_SHA256_Transform [--no-allow-shlib-undefined] Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: moonlapse81@gmail.com this is an attempt to build 14-current from stable/13 host 1. switch to main branch in /usr/src 2. make sure build env is clean and /usr/obj is empty 3. run make -j8 buildworld Actual result: =3D=3D=3D> sbin/gbde (all) Building /usr/obj/usr/src/amd64.amd64/sbin/gbde/gbde ld: error: /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libmd.so: undefined reference to _libmd_SHA256_Transform [--no-allow-shlib-undefined] cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[4]: stopped in /usr/src/sbin/gbde .ERROR_TARGET=3D'gbde' .ERROR_META_FILE=3D'/usr/obj/usr/src/amd64.amd64/sbin/gbde/gbde.meta' .MAKE.LEVEL=3D'4' MAKEFILE=3D'' .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes ve= rbose' _ERROR_CMD=3D'cc -target x86_64-unknown-freebsd14.0 --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-common -I/usr/src= /sys -march=3Dsandybridge -fPIE -mretpoline -fsanitize=3Daddress -fPIC -fsanitize-recover=3Daddress -fsanitize=3Dundefined -fsanitize-recover=3Dun= defined -std=3Dgnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-head= ers -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 -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -pie -Wl,-zretpolineplt -fsanitize=3Daddress -fsanitize=3Dundefined -resource-dir=3D/usr/obj/usr/src/amd64.amd64/tmp/usr/lib/clang/12.0.1 -Wl,--enable-new-dtags -Wl,-rpath,/usr/lib/clang/12.0.1/lib/freebsd -o gb= de gbde.o template.o rijndael-alg-fst.o rijndael-api-fst.o sha512c.o g_bde_loc= k.o=20 -lmd -lutil -lgeom ;' .CURDIR=3D'/usr/src/sbin/gbde' .MAKE=3D'make' .OBJDIR=3D'/usr/obj/usr/src/amd64.amd64/sbin/gbde' .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'20210206' PATH=3D'/usr/obj/usr/src/amd64.amd64/tmp/bin:/usr/obj/usr/src/amd64.amd64/t= mp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr/obj/usr/src/amd64= .amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:= /usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/usr/obj/usr/src/amd64.amd64/tm= p/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/sbin/gbde/Makefile /usr/src/share/mk/bsd.prog.mk /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/local.init.mk /usr/src/share/mk/src.init.mk /usr/src/sbin/gbde/../Makefile.inc /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.endian.mk /usr/src/share/mk/bsd.linker.mk /usr/src/share/mk/bsd.sanitizer.mk /usr/src/lib/libclang_rt/compiler-rt-vars.mk /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.man.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 /dev/null' .PATH=3D'. /usr/src/sbin/gbde /usr/src/sys/geom/bde /usr/src/sys/crypto/rij= ndael /usr/src/sys/crypto/sha2' *** Error code 1 Stop. make[3]: stopped in /usr/src/sbin *** Error code 1 Stop. make[2]: stopped in /usr/src 29.43 real 24.02 user 7.43 sys *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src --=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-259308-227>