From nobody Sun Oct 20 13:18:09 2024 X-Original-To: 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 4XWfC10tm5z5Z2vr for ; Sun, 20 Oct 2024 13:18:21 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XWfC10ND9z4rYB for ; Sun, 20 Oct 2024 13:18:21 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729430301; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FA7p8iFJ7CcjcdV8iI4GkjORnqlxfZ1yvrKwXZu5IWI=; b=vztrbpsjt2SJXOkipVJYl0AtdTZSiFI/VUPLtrRiCUuhAJxhGpi93fVj3eECqjE5Qbuerc /eM9x14/iAUT/fcsQUh/yIwJFiPi+cfEIc0KVvUhpWQEm1LtZh4If0NyvVzWpjFJOxNLGA opPaAfslOyztonxs3lmHMDi4SLWt+DQXDz7N9nSY8Qo4PeZoILMMb+bZpRL/pN5Lcc1tUn IxAF6O3fwVrxQkmQSi8WBO2H9C4A54oPHujn3Y/T2XSQu7RCRcgU0+g9EmyOzx9aUhHHgh +Mnag7rCJBagRvC07c8DbQp7GjruTkEK/3yXTKcQKQ6UMm3k16oq3oYFY8spcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729430301; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FA7p8iFJ7CcjcdV8iI4GkjORnqlxfZ1yvrKwXZu5IWI=; b=AEAseYbH0h4AQPNtSyffdIju9zywAiMsIlKedOkMQStEpnY87C68K0xF0P4OtbX7JHH9YY gUxHJfciD+YE48+Lll9Qc/9p7WHZHk2ctv8V3iNcAap9svALxEzOgPOITpxlMA0CyGVKiB xUoNJKHEGatwbVNOvNB3OUpQbn830kV9szaJ+ijlUUuI6ZJ5p2npiPCPomOcTPRg0DM4YP fdUozzlnD5y2Y5WWr6WPf0JIxsCYWtHXZPQwVEP4jmbo7jHIpmNKGq8kq74DjFK6Q/nNNp MXAKGH8GiFcib3q3RXY5YT1SxYBItJBw0G+ZGY+Ar/uHC4Djzq05Ps+H+8en3Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729430301; a=rsa-sha256; cv=none; b=X3mVTBIdD8vYXaqQEu+vij/hjTGU3UAUCXGfR82SyVcWCKWXPPupbjYdnIGSJGYKUzb9Bd PnrMK5Si1bMahI/4bI56EIrYuR5iEUTkOoR0jTcVpF5l93nEAacUh+8XdO8E5G+DWoNLiQ KwPGNKnWXiGGcSOKgymAwDgRG72CthmLbJf5FC4DqJkHPk39eA4GkljJm3eOy3KTPyvn8d wxjDI5MpTYaTIcbm9tvxUoPtTxWlCa6nKTFGzDQ3nhJdFvC4n7yg+la585/eiW9brhW0KY ctds4UfdgzbRuuB0y0946zekmsIXXv8725Q/pUaiDvqLP3vRjCb1GtIxIpXD7w== Received: from mail-qk1-f180.google.com (mail-qk1-f180.google.com [209.85.222.180]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4XWfC06xs5zDkP for ; Sun, 20 Oct 2024 13:18:20 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qk1-f180.google.com with SMTP id af79cd13be357-7b14acb1e5fso57445885a.1 for ; Sun, 20 Oct 2024 06:18:20 -0700 (PDT) X-Gm-Message-State: AOJu0YzcxvGb/6FZNEc3WRHlbaMVPsOpqcwA5Su3L7VrOsCVs3yyYZ3T pdnTs29/oS84J/0bHGHSgVJQPEgN0IHxKNvwA8c7oXirjjdxFzlx/gYr8W9ZYKh2lxg54I6RYwo OiA/UiykfPbRqEEdrQzbfaa2wnRU= X-Google-Smtp-Source: AGHT+IEdvdyxJ4YBFMjngNFVZHSIKGCfH8P4Yzjhfx25VcOFefT4rTSFOOXg1FWSEOFhec83FHwK+TqSp7ky4jSiT9Y= X-Received: by 2002:a05:622a:1992:b0:45c:9927:2457 with SMTP id d75a77b69052e-460aeb9d975mr63075951cf.0.1729430300579; Sun, 20 Oct 2024 06:18:20 -0700 (PDT) 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 References: In-Reply-To: From: Nuno Teixeira Date: Sun, 20 Oct 2024 14:18:09 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Build failure in share/examples/tests/tests/googletest/sample1_unittest.full To: current@freebsd.org Content-Type: multipart/alternative; boundary="000000000000bae99b0624e85e99" --000000000000bae99b0624e85e99 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, Same here with meta-mode on a i7 laptop. David Wolfskill escreveu (domingo, 20/10/2024 =C3=A0= (s) 13:15): > Running: > FreeBSD freebeast.catwhisker.org 15.0-CURRENT FreeBSD 15.0-CURRENT #5 > main-n273063-4ad443a106d3: Sat Oct 19 10:38:11 UTC 2024 > root@freebeast.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/GENE= RIC > amd64 1500025 1500025 > > after updating sources to main-n273073-bd66c1b43e33: > > ... > Building > /common/S4/obj/usr/src/amd64.amd64/tests/sys/pjdfstest/tests/rename/11 > Building > /common/S4/obj/usr/src/amd64.amd64/tests/sys/pjdfstest/tests/symlink/01 > Building > /common/S4/obj/usr/src/amd64.amd64/secure/lib/libcrypto/ASN1_generate_nco= nf.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 sample2_unittest.cc:47 > (/usr/src/contrib/googletest/googletest/samples/sample2_unittest.cc:47) > >>> sample2_unittest.o:(_GLOBAL__sub_I_sample2_unittest.cc) > >>> referenced by sample2_unittest.cc:78 > (/usr/src/contrib/googletest/googletest/samples/sample2_unittest.cc:78) > >>> sample2_unittest.o:(_GLOBAL__sub_I_sample2_unittest.cc) > >>> referenced by sample2_unittest.cc:85 > (/usr/src/contrib/googletest/googletest/samples/sample2_unittest.cc:85) > >>> sample2_unittest.o:(_GLOBAL__sub_I_sample2_unittest.cc) > >>> referenced 1 more times > Building > /common/S4/obj/usr/src/amd64.amd64/share/man/man5/periodic.conf.5.gz > Building > /common/S4/obj/usr/src/amd64.amd64/share/i18n/csmapper/CP/UCS%CP850.mps > Building /common/S4/obj/usr/src/amd64.amd64/tests/sys/fs/tmpfs/h_tools > Building > /common/S4/obj/usr/src/amd64.amd64/share/msgdef_unicode/tr_TR.UTF-8.out > Building > /common/S4/obj/usr/src/amd64.amd64/share/man/man9/BUF_TIMELOCK.9.gz > Building > /common/S4/obj/usr/src/amd64.amd64/secure/lib/libcrypto/ASN1_item_d2i_bio= .3.gz > Building > /common/S4/obj/usr/src/amd64.amd64/share/i18n/esdb/APPLE/MACARABIC.src > Building > /common/S4/obj/usr/src/amd64.amd64/share/i18n/csmapper/KOI/UCS%KOI8-Cyril= licOld.mps > c++: error: linker command failed with exit code 1 (use -v to see > invocation) > *** [sample1_unittest.full] Error code 1 > > make[8]: stopped making "all" in > /usr/src/share/examples/tests/tests/googletest > .ERROR_TARGET=3D'sample1_unittest.full' > > .ERROR_META_FILE=3D'/common/S4/obj/usr/src/amd64.amd64/share/examples/tes= ts/tests/googletest/sample1_unittest.full.meta' > .MAKE.LEVEL=3D'8' > MAKEFILE=3D'' > .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose' > Building /common/S4/obj/usr/src/amd64.amd64/bin/csh/ja_JP.UTF-8.cat > _ERROR_CMD=3D'c++ -target x86_64-unknown-freebsd15.0 > --sysroot=3D/common/S4/obj/usr/src/amd64.amd64/tmp > -B/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-common > -fPIE -g -gz=3Dzlib -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 -Wshad= ow > -Wunused-parameter -Wcast-align -Wchar-subscripts -Wdate-time > -Wmissing-variable-declarations -Wno-empty-body -Wno-string-plus-int > -Wno-unused-const-variable -Wno-error=3Dunused-but-set-parameter > -Qunused-arguments > -I/common/S4/obj/usr/src/amd64.amd64/tmp/usr/include/private > -DGTEST_HAS_POSIX_RE=3D1 -DGTEST_HAS_PTHREAD=3D1 > -DGTEST_HAS_STREAM_REDIRECTION=3D1 -frtti -fPIE -std=3Dc++14 > -Wno-c++11-extensions -Wl,-zrelro -pie -o sample1_unittest.full > sample1_unittest.o sample1.o -lprivategtest_main -lprivategtest;' > .CURDIR=3D'/usr/src/share/examples/tests/tests/googletest' > .MAKE=3D'make' > > .OBJDIR=3D'/common/S4/obj/usr/src/amd64.amd64/share/examples/tests/tests/= googletest' > .TARGETS=3D' all' > CPUTYPE=3D'' > DESTDIR=3D'/common/S4/obj/usr/src/amd64.amd64/tmp' > LD_LIBRARY_PATH=3D'' > MACHINE=3D'amd64' > MACHINE_ARCH=3D'amd64' > MACHINE_CPUARCH=3D'amd64' > MAKEOBJDIRPREFIX=3D'' > MAKESYSPATH=3D'/usr/src/share/mk' > MAKE_VERSION=3D'20240711' > .... > > (Also had a (similar) whine about linker commands failing, for > tests/sys/capsicum/capsicum-test.full.) > > This is in meta-mode, on a 32x2 Epyc running "make -j 112 buildworld". > > I have placed copies of the build typescript and the 2 meta files in > https://www.catwhisker.org/~david/FreeBSD/head/n273073/ > > I am about to try a similar build on a couple of smaller machines, > but they may take a while to get to the point of failure. > > Peace, > david > -- > David H. Wolfskill david@catwhisker.org > It has been said that history repeats itself. This is perhaps not quite > correct; it merely rhymes. -- Theodor Reik > > See https://www.catwhisker.org/~david/publickey.gpg for my public key. > --=20 Nuno Teixeira FreeBSD UNIX: Web: https://FreeBSD.org --000000000000bae99b0624e85e99 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

Same here with meta-m= ode on a i7 laptop.

David Wolfskill <david@catwhisker.org> escreveu (domingo, 20/10/2024 = =C3=A0(s) 13:15):
freebeast.catwhisker.org 15.0-CURRENT FreeBSD 15.0-CURREN= T #5 main-n273063-4ad443a106d3: Sat Oct 19 10:38:11 UTC 2024=C2=A0 =C2=A0 = =C2=A0ro= ot@freebeast.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/GENE= RIC amd64 1500025 1500025

after updating sources to main-n273073-bd66c1b43e33:

...
Building /common/S4/obj/usr/src/amd64.amd64/tests/sys/pjdfstest/tests/renam= e/11
Building /common/S4/obj/usr/src/amd64.amd64/tests/sys/pjdfstest/tests/symli= nk/01
Building /common/S4/obj/usr/src/amd64.amd64/secure/lib/libcrypto/ASN1_gener= ate_nconf.3.gz
ld: error: undefined symbol: testing::internal::MakeAndRegisterTestInfo(cha= r const*, char const*, char const*, char const*, testing::internal::CodeLoc= ation, void const*, void (*)(), void (*)(), testing::internal::TestFactoryB= ase*)
>>> referenced by sample2_unittest.cc:47 (/usr/src/contrib/googlet= est/googletest/samples/sample2_unittest.cc:47)
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sample2_= unittest.o:(_GLOBAL__sub_I_sample2_unittest.cc)
>>> referenced by sample2_unittest.cc:78 (/usr/src/contrib/googlet= est/googletest/samples/sample2_unittest.cc:78)
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sample2_= unittest.o:(_GLOBAL__sub_I_sample2_unittest.cc)
>>> referenced by sample2_unittest.cc:85 (/usr/src/contrib/googlet= est/googletest/samples/sample2_unittest.cc:85)
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sample2_= unittest.o:(_GLOBAL__sub_I_sample2_unittest.cc)
>>> referenced 1 more times
Building /common/S4/obj/usr/src/amd64.amd64/share/man/man5/periodic.conf.5.= gz
Building /common/S4/obj/usr/src/amd64.amd64/share/i18n/csmapper/CP/UCS%CP85= 0.mps
Building /common/S4/obj/usr/src/amd64.amd64/tests/sys/fs/tmpfs/h_tools
Building /common/S4/obj/usr/src/amd64.amd64/share/msgdef_unicode/tr_TR.UTF-= 8.out
Building /common/S4/obj/usr/src/amd64.amd64/share/man/man9/BUF_TIMELOCK.9.g= z
Building /common/S4/obj/usr/src/amd64.amd64/secure/lib/libcrypto/ASN1_item_= d2i_bio.3.gz
Building /common/S4/obj/usr/src/amd64.amd64/share/i18n/esdb/APPLE/MACARABIC= .src
Building /common/S4/obj/usr/src/amd64.amd64/share/i18n/csmapper/KOI/UCS%KOI= 8-CyrillicOld.mps
c++: error: linker command failed with exit code 1 (use -v to see invocatio= n)
*** [sample1_unittest.full] Error code 1

make[8]: stopped making "all" in /usr/src/share/examples/tests/te= sts/googletest
.ERROR_TARGET=3D'sample1_unittest.full'
.ERROR_META_FILE=3D'/common/S4/obj/usr/src/amd64.amd64/share/examples/t= ests/tests/googletest/sample1_unittest.full.meta'
.MAKE.LEVEL=3D'8'
MAKEFILE=3D''
.MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dye= s verbose'
Building /common/S4/obj/usr/src/amd64.amd64/bin/csh/ja_JP.UTF-8.cat
_ERROR_CMD=3D'c++ -target x86_64-unknown-freebsd15.0 --sysroot=3D/commo= n/S4/obj/usr/src/amd64.amd64/tmp -B/common/S4/obj/usr/src/amd64.amd64/tmp/u= sr/bin -O2 -pipe -fno-common -fPIE -g -gz=3Dzlib -Wno-format-zero-length -f= stack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -W= no-unused-parameter -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strin= gs -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wda= te-time -Wmissing-variable-declarations -Wno-empty-body -Wno-string-plus-in= t -Wno-unused-const-variable -Wno-error=3Dunused-but-set-parameter -Qunused= -arguments -I/common/S4/obj/usr/src/amd64.amd64/tmp/usr/include/private -DG= TEST_HAS_POSIX_RE=3D1 -DGTEST_HAS_PTHREAD=3D1 -DGTEST_HAS_STREAM_REDIRECTIO= N=3D1 -frtti -fPIE -std=3Dc++14 -Wno-c++11-extensions=C2=A0 -Wl,-zrelro -pi= e=C2=A0 =C2=A0-o sample1_unittest.full=C2=A0 sample1_unittest.o sample1.o -= lprivategtest_main -lprivategtest;'
.CURDIR=3D'/usr/src/share/examples/tests/tests/googletest'
.MAKE=3D'make'
.OBJDIR=3D'/common/S4/obj/usr/src/amd64.amd64/share/examples/tests/test= s/googletest'
.TARGETS=3D' all'
CPUTYPE=3D''
DESTDIR=3D'/common/S4/obj/usr/src/amd64.amd64/tmp'
LD_LIBRARY_PATH=3D''
MACHINE=3D'amd64'
MACHINE_ARCH=3D'amd64'
MACHINE_CPUARCH=3D'amd64'
MAKEOBJDIRPREFIX=3D''
MAKESYSPATH=3D'/usr/src/share/mk'
MAKE_VERSION=3D'20240711'
....

(Also had a (similar) whine about linker commands failing, for
tests/sys/capsicum/capsicum-test.full.)

This is in meta-mode, on a 32x2 Epyc running "make -j 112 buildworld&q= uot;.

I have placed copies of the build typescript and the 2 meta files in
https://www.catwhisker.org/~david/FreeBSD/hea= d/n273073/

I am about to try a similar build on a couple of smaller machines,
but they may take a while to get to the point of failure.

Peace,
david
--
David H. Wolfskill=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 david@catwhisker.org
It has been said that history repeats itself. This is perhaps not quite
correct; it merely rhymes. -- Theodor Reik

See https://www.catwhisker.org/~david/publickey.gpg for my public key.


--
--000000000000bae99b0624e85e99--