From nobody Tue Oct 29 06:01:13 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Xd04Y6B07z5b3bB for ; Tue, 29 Oct 2024 06:01:17 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2607:9c00:1009::53:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "*.lerctr.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xd04X3Fyzz4Vm1 for ; Tue, 29 Oct 2024 06:01:16 +0000 (UTC) (envelope-from ler@lerctr.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=lerctr.org header.s=ler2019 header.b="qagYD Sn"; spf=pass (mx1.freebsd.org: domain of ler@lerctr.org designates 2607:9c00:1009::53:1 as permitted sender) smtp.mailfrom=ler@lerctr.org; dmarc=pass (policy=quarantine) header.from=lerctr.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=ler2019; h=Content-Transfer-Encoding:Content-Type:Message-ID:References: In-Reply-To:Subject:To:From:Date:MIME-Version:Sender:Reply-To:Cc:Content-ID: Content-Description; bh=XEmiqhxU7xzWvqeHqvg3/hsFGizqJXPAfr2ivQ+ECFU=; b=qagYD SnvTcbHCJ5nFqf5tItK45aZRiv6rv42ytt3DLH7ei0AFuH/4VE2gB7B4wqM64KZizQHx7CNqXIJKd p4GyZMfyVgZYdT09/5TB74jTmUhsul2bsx9XZ68s2bhjph3V3f0ZIezHDBkxciWnX+prKCIEHqy0e S+RTbwsCGa5jP5302xlQNTS49HcWaNPYP/lfwAuR6J49hUWkstzpXKmAmRhiI95IREHVLhjKQyFd+ d0XCpYxLHuSRfzbHR0B9AmZy1OAModCUPm/IWfJ8TCn09LY3juUZad07E7J1KVWUDSKgbQVbSMR5a PA5a08I42dYDA17BXmi0FACjAhKgA==; Received-SPF: pass (thebighonker.lerctr.org: domain of lerctr.org designates 2607:9c00:1009::53:1 as permitted sender) client-ip=2607:9c00:1009::53:1; envelope-from=ler@lerctr.org; helo=webmail.lerctr.org; Received: from thebighonker.lerctr.org ([2607:9c00:1009::53:1]:35227 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98 (FreeBSD)) (envelope-from ) id 1t5fI2-000000000n4-0ddq for freebsd-current@freebsd.org; Tue, 29 Oct 2024 01:01:14 -0500 Received: from syn-2603-8080-2000-bd01-25fd-d015-1de8-33af.res6.spectrum.com (2603:8080:2000:bd01:25fd:d015:1de8:33af) by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Tue, 29 Oct 2024 01:01:13 -0500 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Date: Tue, 29 Oct 2024 01:01:13 -0500 From: Larry Rosenman To: Freebsd current Subject: Re: buildworld FAILURE:googletest In-Reply-To: <3defd95fd3c26a76cb5adf68977e30e1@lerctr.org> References: <3defd95fd3c26a76cb5adf68977e30e1@lerctr.org> Message-ID: <8fc6573e8789a983517eb024949ec555@lerctr.org> X-Sender: ler@lerctr.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[lerctr.org,quarantine]; R_DKIM_ALLOW(-0.20)[lerctr.org:s=ler2019]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEFALL_USER(0.00)[ler]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:18474, ipnet:2607:9c00::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[lerctr.org:+] X-Rspamd-Queue-Id: 4Xd04X3Fyzz4Vm1 X-Spamd-Bar: --- on a clean /usr/obj it works. The below was metamode. On 10/28/2024 11:20 pm, Larry Rosenman wrote: > Building > /usr/obj/usr/src/amd64.amd64/secure/lib/libcrypto/RSA_sign.3.gz > ld: error: undefined symbol: > testing::internal::MakeAndRegisterTestInfo(char const*, char const*, > char const*, char const*, testing::internal::CodeLocation, void const*, > void (*)(), void (*)(), testing::internal::TestFactoryBase*) >>>> referenced by sample1_unittest.cc:76 >>>> (/usr/src/contrib/googletest/googletest/samples/sample1_unittest.cc:76) >>>> >>>> sample1_unittest.o:(_GLOBAL__sub_I_sample1_unittest.cc) >>>> referenced by sample1_unittest.cc:100 >>>> (/usr/src/contrib/googletest/googletest/samples/sample1_unittest.cc:100) >>>> >>>> sample1_unittest.o:(_GLOBAL__sub_I_sample1_unittest.cc) >>>> referenced by sample1_unittest.cc:103 >>>> (/usr/src/contrib/googletest/googletest/samples/sample1_unittest.cc:103) >>>> >>>> sample1_unittest.o:(_GLOBAL__sub_I_sample1_unittest.cc) >>>> referenced 3 more times > Building /usr/obj/usr/src/amd64.amd64/lib/libelf/gelf_newehdr.3.gz > Building > /usr/obj/usr/src/amd64.amd64/secure/lib/libcrypto/RSA_sign_ASN1_OCTET_STRING.3.gz > Building /usr/obj/usr/src/amd64.amd64/lib/libelf/gelf_newphdr.3.gz > Building > /usr/obj/usr/src/amd64.amd64/secure/lib/libcrypto/RSA_size.3.gz > c++: error: linker command failed with exit code 1 (use -v to see > invocation) > Building /usr/obj/usr/src/amd64.amd64/kerberos5/libexec/hprop/hprop.o > Building /usr/obj/usr/src/amd64.amd64/lib/libelf/gelf_update_ehdr.3.gz > Building /usr/obj/usr/src/amd64.amd64/secure/lib/libcrypto/SCT_new.3.gz > *** [sample1_unittest.full] Error code 1 > > make[8]: stopped making "all" in > /usr/src/share/examples/tests/tests/googletest > .ERROR_TARGET='sample1_unittest.full' > .ERROR_META_FILE='/usr/obj/usr/src/amd64.amd64/share/examples/tests/tests/googletest/sample1_unittest.full.meta' > .MAKE.LEVEL='8' > MAKEFILE='' > .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes > verbose' > _ERROR_CMD='c++ -target x86_64-unknown-freebsd15.0 > --sysroot=/usr/obj/usr/src/amd64.amd64/tmp > -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-common -fPIE > -g -gz=zlib -Wno-format-zero-length -fstack-protector-strong > -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter > -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch > -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wdate-time > -Wmissing-variable-declarations -Wno-empty-body -Wno-string-plus-int > -Wno-unused-const-variable -Wno-error=unused-but-set-parameter > -Wno-error=cast-function-type-mismatch -Qunused-arguments > -I/usr/obj/usr/src/amd64.amd64/tmp/usr/include/private > -DGTEST_HAS_POSIX_RE=1 -DGTEST_HAS_PTHREAD=1 > -DGTEST_HAS_STREAM_REDIRECTION=1 -frtti -fPIE -std=c++14 > -Wno-c++11-extensions -Wl,-zrelro -pie -o sample1_unittest.full > sample1_unittest.o sample1.o -lprivategtest_main -lprivategtest;' > .CURDIR='/usr/src/share/examples/tests/tests/googletest' > .MAKE='make' > .OBJDIR='/usr/obj/usr/src/amd64.amd64/share/examples/tests/tests/googletest' > .TARGETS=' all' > CPUTYPE='' > DESTDIR='/usr/obj/usr/src/amd64.amd64/tmp' > LD_LIBRARY_PATH='' > MACHINE='amd64' > MACHINE_ARCH='amd64' > MACHINE_CPUARCH='amd64' > MAKEOBJDIRPREFIX='' > MAKESYSPATH='/usr/src/share/mk' > MAKE_VERSION='20240711' > PATH='/usr/obj/usr/src/amd64.amd64/tmp/bin:/usr/obj/usr/src/amd64.amd64/tmp/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/tmp/legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin' > SRCTOP='/usr/src' > OBJTOP='/usr/obj/usr/src/amd64.amd64' > .MAKE.MAKEFILES='/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/local.sys.machine.mk > /usr/src/share/mk/meta.sys.mk /usr/src/share/mk/local.meta.sys.env.mk > /usr/src/share/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk > /etc/make.conf /usr/src/share/mk/local.sys.mk > /usr/src/share/mk/src.sys.mk /etc/src.conf > /usr/src/share/examples/tests/tests/googletest/Makefile > /usr/src/share/mk/bsd.test.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/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/googletest.test.mk > /usr/src/share/mk/googletest.test.inc.mk > /usr/src/share/mk/plain.test.mk /usr/src/share/mk/tap.test.mk > /usr/src/share/mk/atf.test.mk /usr/src/share/mk/suite.test.mk > /usr/src/share/mk/bsd.progs.mk /usr/src/share/mk/bsd.prog.mk > /usr/src/share/mk/bsd.sanitizer.mk /usr/src/share/mk/bsd.libnames.mk > /usr/src/share/mk/src.libnames.mk /usr/src/share/mk/src.opts.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='. /usr/src/share/examples/tests/tests/googletest > /usr/src/contrib/googletest/googletest/samples' > make[8]: 1 error > 2.01 real 0.30 user 0.07 sys > > make[1]: stopped making "buildworld" in /usr/src > > make: stopped making "buildworld buildkernel" in /usr/src -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 13425 Ranch Road 620 N, Apt 718, Austin, TX 78717-1010