From nobody Fri Oct 25 03:00:02 2024 X-Original-To: dev-commits-src-main@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 4XZSFZ32rSz5b9YH for ; Fri, 25 Oct 2024 03:00:18 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-25.consmr.mail.gq1.yahoo.com (sonic312-25.consmr.mail.gq1.yahoo.com [98.137.69.206]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XZSFX34Prz4WrV for ; Fri, 25 Oct 2024 03:00:16 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=BCgnsxRp; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.206 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1729825214; bh=FaGsk0K+5t1EkDdCoyQhJoCniDH8t2IXJJ4DQxh5uVQ=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=BCgnsxRpjn07/pOQ4XvlB04gcU6PZ/qf7SVaNGoACdxluPwm+BuPjKxutrwZ5ZboHNCAMMZ2bSsC/0gajsIh4ke7hbnOaIvW1/yiCX5fUl3SqGUcCWxpviaaYbdp/o5rMn95+Tb0W0vtUTKCwQ8ZtPu6V2DBgrLa5YYtkdK1h6ordLXowrYXJk2Dc19rE0adtnmAG7s6ZChJVHqQaTrJC9wl4sU2J/KbkBZjYCYeGqFmjJHhYP0gu1ru4cee/2yvczJK511lP7mBLnGpIJurMoXyHcHyN+h58pgLMnCiHX3YA26lIQWJa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eQG2OMtZxPZZ6JcFzcvg.xK0TxEvLtQl33t_JuxCrvtRyGzl4k.FpXodkY4suIUAD8FyElYco vYM7qlR.nK52NEI64QdCijXQltc_WVMNI.ratVB_aIngXm2JrpqHod7VdfCRGIdc6aGga0ghszsW PG6oVyPJpl4R95xvBBXxonIcjWwp8et2C6UnmuAh_9wLUFQud40mB5H0gHNxwg6lVAyy_5u1HT7p m8DJdIsjcOS8lbvAKArXaT0QmDsyTSk_6QSKmQtFa7TLuth7wtvD1g9rv0r01qT6XuMaQXLZoLF6 ibd7_P3KoVQkQNi3_yVAj6O.Vlo5C83WJBo5inLxyTLjNE7y.K7b4v5lnJ9J7nTKAmXvEamBlTlP qsNAazQWiOLwjz0DHgi1lZsw9giedqdZX.3RdgM3JHRiA9Q6Nz4d0nSDFmhsahARhWYDkrWKyOuD hVSvm8.78iQGMfAn2ogkE6p.oLw304YtPw5JYw8BPRVWwVFtCi.wrk.wtSu4EsiRy2EQi3NC_z78 2SS.bN8u68sM.AGZL0cMmHQtIrlElOZww2Pa2OXV2dR0Gq.fvTCfhpMK41XoqnESp0MN043OgSls .Z2cpM2Gb1MppIJQraEx8YsJtVhyDhyK_UR04rObZDOgg3fqgPFVqsJLZM4.1XnfPTLjY3zmaO2D i2HtGWExTL6rIiNnm59M6ynZdhC215cUu.NOPBjB57zVK9mJGI0oID6gOpfmKgik30eNA.S0IRGd lU5SlphzHkVHwfdo4ewv2Zgz2 X-Sonic-MF: X-Sonic-ID: 1b81fe46-bb3f-4c69-a934-0ff3ffa75d6f Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Fri, 25 Oct 2024 03:00:14 +0000 Received: by hermes--production-gq1-5dd4b47f46-sx6k2 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 2fb244ac20bc674d1982fbfcb369a537; Fri, 25 Oct 2024 03:00:13 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) Subject: RE: git: f3dbef108212 - main - Bump __FreeBSD_version for llvm 19.1.2 merge Message-Id: <74372DC6-D878-491B-BF7A-E694711F89E5@yahoo.com> Date: Thu, 24 Oct 2024 20:00:02 -0700 To: Dimitry Andric , dev-commits-src-main@freebsd.org X-Mailer: Apple Mail (2.3776.700.51) References: <74372DC6-D878-491B-BF7A-E694711F89E5.ref@yahoo.com> X-Spamd-Result: default: False [-3.96 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.96)[-0.962]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[dev-commits-src-main@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.206:from]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.206:from] X-Rspamd-Queue-Id: 4XZSFX34Prz4WrV X-Spamd-Bar: --- Dimitry Andric wrote on Date: Wed, 23 Oct 2024 18:32:46 UTC : > The branch main has been updated by dim: >=20 > URL: = https://cgit.FreeBSD.org/src/commit/?id=3Df3dbef108212460489ae68b4c47e20b7= 3984f433 >=20 > commit f3dbef108212460489ae68b4c47e20b73984f433 > Author: Dimitry Andric > AuthorDate: 2024-10-23 16:49:02 +0000 > Commit: Dimitry Andric > CommitDate: 2024-10-23 18:27:43 +0000 >=20 > Bump __FreeBSD_version for llvm 19.1.2 merge >=20 > PR: 280562 > MFC after: 1 month > --- > sys/sys/param.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/sys/sys/param.h b/sys/sys/param.h > index 8af2f9594bc1..7647c0d6e518 100644 > --- a/sys/sys/param.h > +++ b/sys/sys/param.h > @@ -73,7 +73,7 @@ > * cannot include sys/param.h and should only be updated here. > */ > #undef __FreeBSD_version > -#define __FreeBSD_version 1500025 > +#define __FreeBSD_version 1500026 >=20 > /* > * __FreeBSD_kernel__ indicates that this system uses the kernel of = FreeBSD, I've been getting buildworld failures under META_MODE style builds for the likes of: # Meta data file = /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/share/exam= ples/tests/tests/googletest/sample1_unittest.full.meta CMD c++ -target x86_64-unknown-freebsd15.0 = --sysroot=3D/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd6= 4/tmp = -B/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/= bin -O2 -pipe -fno-common -DNDEBUG -fPIE -g -gz=3Dzlib = -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -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=3Dunused-but-set-parameter = -Wno-error=3Dcast-function-type-mismatch -Qunused-arguments = -I/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-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 CWD = /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/share/exam= ples/tests/tests/googletest TARGET sample1_unittest.full OODATE sample1_unittest.o sample1.o -- command output -- ld: error: undefined symbol: = testing::internal::MakeAndRegisterTestInfo(char const*, char const*, = char const*, char const*, testing::internal::CodeLocation, void const*, = void (*)(), void (*)(), testin g::internal::TestFactoryBase*) >>> referenced by sample1_unittest.cc:76 = (/usr/main-src/contrib/googletest/googletest/samples/sample1_unittest.cc:7= 6) >>> = sample1_unittest.o:(_GLOBAL__sub_I_sample1_unittest.cc) >>> referenced by sample1_unittest.cc:100 = (/usr/main-src/contrib/googletest/googletest/samples/sample1_unittest.cc:1= 00) >>> = sample1_unittest.o:(_GLOBAL__sub_I_sample1_unittest.cc) >>> referenced by sample1_unittest.cc:103 = (/usr/main-src/contrib/googletest/googletest/samples/sample1_unittest.cc:1= 03) >>> = sample1_unittest.o:(_GLOBAL__sub_I_sample1_unittest.cc) >>> referenced 3 more times c++: error: linker command failed with exit code 1 (use -v to see = invocation) *** Error code 1 . . . Another example is: ld: error: undefined symbol: = testing::internal::MakeAndRegisterTestInfo(char const*, char const*, = char const*, char const*, testing::internal::CodeLocation, void const*, = void (*)(), void (*)(), testin g::internal::TestFactoryBase*) >>> referenced by zfsd_unittest.cc:236 = (/usr/main-src/cddl/usr.sbin/zfsd/tests/zfsd_unittest.cc:236) >>> zfsd_unittest.o:(_GLOBAL__sub_I_zfsd_unittest.cc) >>> referenced by zfsd_unittest.cc:242 = (/usr/main-src/cddl/usr.sbin/zfsd/tests/zfsd_unittest.cc:242) >>> zfsd_unittest.o:(_GLOBAL__sub_I_zfsd_unittest.cc) >>> referenced by zfsd_unittest.cc:248 = (/usr/main-src/cddl/usr.sbin/zfsd/tests/zfsd_unittest.cc:248) >>> zfsd_unittest.o:(_GLOBAL__sub_I_zfsd_unittest.cc) >>> referenced 19 more times c++: error: linker command failed with exit code 1 (use -v to see = invocation) Intersting is the first parameter being "char const *" when the MakeAndRegisterTestInfo implementation in contrib/googletest/googletest/src/gtest.cc has std::string instead: TestInfo* MakeAndRegisterTestInfo( std::string test_suite_name, const char* name, const char* = type_param, const char* value_param, CodeLocation code_location, TypeId fixture_class_id, SetUpTestSuiteFunc set_up_tc, TearDownTestSuiteFunc tear_down_tc, TestFactoryBase* factory) { . . . What I'm finding is that various .o files are not being rebuilt in the META_MODE build. For example, . . ./cddl/usr.sbin/zfsd/tests/zfsd_unittest.o . . ./examples/tests/tests/googletest/sample*_unittest.o have maintained old dates in the file system that predate the recent update that switched to std::string use. Systematic deletion of such .o files allowed META_MODE to then be able to complete the buildworld . The removes were (across multiple trees): # rm = /usr/obj/BUILDs/main-*-*dbg-clang/usr/main-src/*/cddl/usr.sbin/zfsd/tests/= *.o # rm = /usr/obj/BUILDs/main-*-*dbg-clang/usr/main-src/*/share/examples/tests/test= s/googletest*/*.o # rm = /usr/obj/BUILDs/main-*-*dbg-clang/usr/main-src/*/tests/sys/capsicum*/*.o # rm = /usr/obj/BUILDs/main-*-*dbg-clang/usr/main-src/*/tests/sys/fs/fusefs*/*.o # rm = /usr/obj/BUILDs/main-*-*dbg-clang/usr/main-src/*/lib/googletest/tests/*/*.= o =3D=3D=3D Mark Millard marklmi at yahoo.com