From nobody Fri Dec 31 22:59:08 2021 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 BC5E719357FF for ; Fri, 31 Dec 2021 22:59:23 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-20.consmr.mail.gq1.yahoo.com (sonic314-20.consmr.mail.gq1.yahoo.com [98.137.69.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JQgZ21y0fz4qHW for ; Fri, 31 Dec 2021 22:59:22 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640991554; bh=q6S8ZBDiYf55j9cTKIH6Lyj80jAhb+KOXnXf0dItfGI=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=IKTaj9I0g17tj/cRuy9vnp3CYWkbOgJkjuydusyokS8CKRGF5TaIpyLHt5rh3nZUbVzHFC9xoyBOOZn2RZwl3JrO31DT4tfUfQ3o3Izhz1HqhSCFf4rBSVo/kbV79rkxehl5oMR3rfR3ujvcQWSW2G5MjUBikPocZT7lQ+wo1Ww6Z96y0YOk5Mpf0jWX3YHjp4YvbnpcClaPbJq+M0aj0Epd0I3hABj944F83Pqw1JUOTBJnKlxgjcf/ll9rYVJ17QRIpoQh/fTunl8mnCRjrwzFgO0jAAHxgEYYA6JZBbGZKJzmpXPWN/+yZVQGLo08X/rHs1HyaReU/0j8J+w/3A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640991554; bh=uAIRljQGyGrvKYI8FbPU5rJIjMwjCfRMLyjq6VoTH6O=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=AsJ7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nggxPEvbeIomDqBRQipS73ba6tOEDJ0OMckwe7FcIqJf1RbTQfBVCkvnxJKUaFn0QlHn idzzckJSj86YaAUzDtopzgsd4cW5QSX4JHnCYMkIyrVNroNNaKxdTi5jR76Bp73BJutUreaHlcGx gMNVumH9TRNlGahSBXsJA6gXKTvPK0CLTAitTvyzl7A4sIoMqLG_pkaxZCnBlIpre5w2n1GwlWNR rXFgnDOGH_Ics6L5tFT_xqKYxHvZWd.qb81Gfo1G3ROy_irQmqCMGrOyNGa9Ooydfq1Lp3JNGxev ST_tki8arMrhowYn8rDWcFAvroOPUJyBiqE0U0H2GjYrTaNBPomZx6nELeQIWzia3eR0ekVxBBWK hVuV5tK2Jlbe308UNO8fw7py6qvtcqshQ.herQH6R9smNNxZ3b1PAi8DFcDE1.ce.r.UJXLgjLmN oP26UKg.KjtDJk1670GdUVLcdFNE8QoNzbTsQqQ9RNcQBhRMUXothXMgrzmIULb78sPKmN_qnRJB OdeM0hUZGQN4H2HV7EiHQ8ubJQA-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Fri, 31 Dec 2021 22:59:14 +0000 Received: by kubenode538.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 0744fd71fb52ae79e9a311f9f91f1a0d; Fri, 31 Dec 2021 22:59:10 +0000 (UTC) Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: git: 5e6a2d6eb220 - main - Reapply: move libc++ from /usr/lib to /lib [add /usr/lib/libc++.so.1 -> ../../lib/libc++.so.1 ?] In-Reply-To: <03AF30DA-A632-4223-908C-9F5250D82079@yahoo.com> Date: Fri, 31 Dec 2021 14:59:08 -0800 Cc: Dimitry Andric , Ed Maste , freebsd-current , "dev-commits-src-main@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <76FC7AFB-DA78-4A44-BC74-4477C9E11413@yahoo.com> References: <45118DB4-F8C4-4F96-9CAA-5DC5DCFFEB7E@yahoo.com> <3140C5F6-495F-441C-AA6B-542F3BC53B62@yahoo.com> <5F8AF0B2-3AF3-4BE4-B5D1-9030F2605FFD@yahoo.com> <5a24eb16-078f-15c5-dcd4-ecef33d15ac7@FreeBSD.org> <03AF30DA-A632-4223-908C-9F5250D82079@yahoo.com> To: John Baldwin X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4JQgZ21y0fz4qHW X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=IKTaj9I0; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.83 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-2.28 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; RCPT_COUNT_FIVE(0.00)[5]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MID_RHS_MATCH_FROM(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; NEURAL_HAM_LONG(-0.99)[-0.993]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(0.21)[0.215]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.83:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.83:from]; RCVD_COUNT_TWO(0.00)[2] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-current X-Original-From: Mark Millard X-ThisMailContainsUnwantedMimeParts: N On 2021-Dec-31, at 14:28, Mark Millard wrote: > On 2021-Dec-30, at 14:04, John Baldwin wrote: >=20 >> On 12/30/21 1:09 PM, Mark Millard wrote: >>> On 2021-Dec-30, at 13:05, Mark Millard wrote: >>>> This asks a question in a different direction that my prior >>>> reports about my builds vs. Cy's reported build. >>>>=20 >>>> Background: >>>>=20 >>>> = /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/li= b/libc++.so:GROUP ( /lib/libc++.so.1 /usr/lib/libcxxrt.so >>>> and: >>>> lrwxr-xr-x 1 root wheel 23 Dec 29 13:17:01 2021 = /usr/lib/libcxxrt.so -> ../../lib/libcxxrt.so.1 >>>>=20 >>>> Why did libc++.so.1 not get a: >>>>=20 >>>> /usr/lib/libc++.so.1 -> ../../lib/libc++.so.1 >>> I forgot to remove the .1 on the left hand side: >>> /usr/lib/libc++.so -> ../../lib/libc++.so.1 >>=20 >> Because for libc++.so we don't just symlink to the current version of = the library >> (as we do for most other shared libraries) to tell the compiler what = to link against >> for -lc++, instead we use a linker script that tells the compiler to = link against >> both of those libraries when -lc++ is encountered. >=20 > A better identification of what looks odd to me is the > path variations in: >=20 > # more /usr/lib/libc++.so Another not great day on my part: That path alone makes the mix of /lib/ and /usr/lib/ use involved, given the reference to /lib/libc++.so.1 . That would still be true if the other path had been /lib/libcxxrt.so . I guess I've just not figured out what specific, detailed issue(s) the move to /lib/libc++.so.1 covers vs. not, given the /usr/lib/libc++.so and /usr/lib/libcxxrt.so paths. I'm not using anything with /usr/lib/ being on a different file system than /lib so I'll definitely not observe any problems. And it might be a waste to try to clear my confusions at this point, given how the day is going. > /* $FreeBSD$ */ > GROUP ( /lib/libc++.so.1 /usr/lib/libcxxrt.so ) >=20 > So /usr/lib/ still has to be available (so, possibly, mounted) > for C++ because of the /usr/lib/libcxxrt.so reference? If so, > why the move of libc++.so.1 to /lib/ ? >=20 >> I have finally reproduced Cy's build error locally and am testing my = fix. If it >> works I'll commit it. >>=20 >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com