From nobody Thu Dec 30 09:08:47 2021 X-Original-To: dev-commits-src-all@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 8344C19270D9; Thu, 30 Dec 2021 09:09:04 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JPjBS2Q4Sz4fXG; Thu, 30 Dec 2021 09:09:04 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: by mail-lf1-f42.google.com with SMTP id r4so10026585lfe.7; Thu, 30 Dec 2021 01:09:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cyG/WXI/BWecmNBM4swieQuZndxyyzJtZV+nZlF2kzs=; b=Ls8qw9ev5BfryQuTAWdxexfrdY0DyaGtcG/Rri0uUHXod+CWTAN6vxwXbAayLMFWMw xEg5EjP4AGHA8iMIXXGAWhAmG3qCP02xNwf9CUeDLV3j9VPsQvihyTQQex7aWmbdcUAp +Qg0SGrQujbLLs93VV/Y7m0wlBGLDUIbD4N51x6XYleTFAKQZ1OCLLUk8hUz7U3mm7lQ wiFjhmWayEBFTv6hxtW2qy7seDK6aLPuW4xel7Fk20xqD2mNYWSDUWRNcdKRPVxZL12F Fqfdg/BlRq95shVwqeXkg7uHqdopPjbUyERfsuYMR/ttZ595mN4TeSGIh/2tMufi0DaT yCoQ== X-Gm-Message-State: AOAM532v2XLQdS6jH3LFlx/hBAbZkRA19BOLtYWF5kigoUUGiPuTx0Xe 1tZDTiRg7Kz90zEoTkvOt6iQ+4MydSQu/tSvwKbrSYcbaeY= X-Google-Smtp-Source: ABdhPJwq4ivnuGN8Ep056Kds8N2/VPBTa+rj1U6j/4w9soHNX2lM0wezV7529KetXv7BlfASVo5BYU9tnCQSsUOXe48= X-Received: by 2002:ac2:418c:: with SMTP id z12mr27171583lfh.90.1640855337021; Thu, 30 Dec 2021 01:08:57 -0800 (PST) List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 References: <202112291952.1BTJqq5J034681@gitrepo.freebsd.org> In-Reply-To: <202112291952.1BTJqq5J034681@gitrepo.freebsd.org> From: Antoine Brodin Date: Thu, 30 Dec 2021 09:08:47 +0000 Message-ID: Subject: Re: git: 6b1c5775d1c2 - main - Move libc++ from /usr/lib to /lib To: Ed Maste Cc: src-committers , dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org, Sergey Osokin Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4JPjBS2Q4Sz4fXG X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_FROM(0.00)[]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Wed, Dec 29, 2021 at 7:52 PM Ed Maste wrote: > > The branch main has been updated by emaste: > > URL: https://cgit.FreeBSD.org/src/commit/?id=6b1c5775d1c29c7c42201254df82aca9f3820bc8 > > commit 6b1c5775d1c29c7c42201254df82aca9f3820bc8 > Author: Ed Maste > AuthorDate: 2021-12-29 19:50:03 +0000 > Commit: Ed Maste > CommitDate: 2021-12-29 19:51:28 +0000 > > Move libc++ from /usr/lib to /lib > > As with other runtime components like libc or libcxxrt. > > If desired we can stop linking devd statically after this change (to > achive approximately no net change in required root filesystem size). > > Reviewed by: imp > Sponsored by: The FreeBSD Foundation > Differential Revision: https://reviews.freebsd.org/D33123 > --- > ObsoleteFiles.inc | 3 +++ > lib/libc++/Makefile | 1 + > 2 files changed, 4 insertions(+) > > diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc > index 4e99c917e89a..6207ad302bba 100644 > --- a/ObsoleteFiles.inc > +++ b/ObsoleteFiles.inc > @@ -40,6 +40,9 @@ > # xargs -n1 | sort | uniq -d; > # done > > +# 20211229 libc++ moved to /lib > +OLD_LIBS+=usr/lib/libc++.so.1 > + > # 20211221 efi_set_variables_supported.3 should be efi_variables_supported.3 > OLD_FILES+=usr/share/man/man3/efi_set_variables_supported.3.gz > > diff --git a/lib/libc++/Makefile b/lib/libc++/Makefile > index 2bc1bf40eccd..f535a0cfba8c 100644 > --- a/lib/libc++/Makefile > +++ b/lib/libc++/Makefile > @@ -3,6 +3,7 @@ > .include > > PACKAGE= clibs > +SHLIBDIR?= /lib > _LIBCXXRTDIR= ${SRCTOP}/contrib/libcxxrt > HDRDIR= ${SRCTOP}/contrib/llvm-project/libcxx/include > SRCDIR= ${SRCTOP}/contrib/llvm-project/libcxx/src Hello, Something seems missing: # cc ld-elf.so.1: Shared object "libc++.so.1" not found, required by "cc" Antoine