From owner-freebsd-questions@freebsd.org Tue Jan 5 19:43:23 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 09E0CA638E0 for ; Tue, 5 Jan 2016 19:43:23 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8E69718C5 for ; Tue, 5 Jan 2016 19:43:22 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: by mail-wm0-x233.google.com with SMTP id f206so35608638wmf.0 for ; Tue, 05 Jan 2016 11:43:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+YiQPQQlnV4XYxfiki8b+mIOThRd+RGsOihHtcqUUaA=; b=nlMNT7XTqTVnUEJWUqDUCOyehKYqb09MsY96QYLE5fjcnRjnbKvfvgEjizN7slrado DhFevMZMqWFFUTRvvYYiW2u3nLPPYs7MdAzaO/0SOGtbMterfOp4b3CuiZkH8AF0g7t3 z79CLc7U3L5nQnGU4QQFBkMvqrCz7caaOSOcbibfgRj3OxKzvY0cALccsR62AxJkIT8c DwAtbOXuuQGydi6e6dX80cBuPDAy7oIh1I/64f7yQBZD1YFiS1I0X9rLjq8KSYXFfpT5 r0LDlq42ds+FdEE0dWFztqhZm9RUqpxNsGq2Yaq38KiHVCQg/AWNpOO8gF80kSEH3sue t0EA== MIME-Version: 1.0 X-Received: by 10.194.202.135 with SMTP id ki7mr81438014wjc.81.1452023001019; Tue, 05 Jan 2016 11:43:21 -0800 (PST) Received: by 10.194.76.207 with HTTP; Tue, 5 Jan 2016 11:43:20 -0800 (PST) Received: by 10.194.76.207 with HTTP; Tue, 5 Jan 2016 11:43:20 -0800 (PST) In-Reply-To: <45F8376E-7B69-4815-8979-E55C407A9B89@edemalm.se> References: <20160104181211.76907a30.freebsd@edvax.de> <20160104185245.5ca2e4f1.freebsd@edvax.de> <20160104203418.aee8df91.freebsd@edvax.de> <568B3CD2.8030708@ShaneWare.Biz> <833B0203-87FA-45F3-82BC-6250CD1EF735@edemalm.se> <45F8376E-7B69-4815-8979-E55C407A9B89@edemalm.se> Date: Tue, 5 Jan 2016 22:43:20 +0300 Message-ID: Subject: Re: Safe to delete old files in /usr/lib? From: Anton Sayetsky To: Markus Edemalm Cc: FreeBSD Questions , Polytropon , Shane Ambler Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2016 19:43:23 -0000 5 =D1=8F=D0=BD=D0=B2. 2016 =D0=B3. 21:35 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0= =BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "Markus Edemalm" =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > > > >>>>>> I added NO_PROFILE=3Dtrue to /etc/make.conf a while back. Is that relevant? > >>>>> > >>>>> Hmmm... I always thought that would be the default (no profiling libs > >>>>> being built and installed). But according to "man src.conf", the > >>>>> setting's name is WITHOUT_PROFILE, not NO_PROFILE. > > > > I removed NO_PROFILE=3Dtrue from /etc/make.conf and rebuilt everything today. > > Now I got the _p.a files installed. But no .a files. For each lib in /usr/lib I have, for example: > > > > -r--r--r-- 1 root wheel 29242 Dec 2 2014 librt.a > > lrwxr-xr-x 1 root wheel 10 Jan 5 16:50 librt.so@ -> librt.so.1 > > -r--r--r-- 1 root wheel 23832 Jan 5 16:50 librt.so.1 > > -r--r--r-- 1 root wheel 32202 Jan 5 16:50 librt_p.a > > > > -r--r--r-- 1 root wheel 30550 Dec 2 2014 libpanelw.a > > lrwxr-xr-x 1 root wheel 14 Jan 5 16:50 libpanelw.so@ -> libpanelw.so.5 > > -r--r--r-- 1 root wheel 11840 Jan 5 16:50 libpanelw.so.5 > > -r--r--r-- 1 root wheel 31678 Jan 5 16:50 libpanelw_p.a > > > > See the dates? Why do I get fresh _p.a files and no .a files? > > > > Update. I moved all *.a files to /usr/lib/old and did: > > # cd /usr/src/lib > # make install > > Now, everything including .a files installs and get fresh dates. Following the example above: > > -r--r--r-- 1 root wheel 29242 Jan 5 18:46 librt.a > lrwxr-xr-x 1 root wheel 10 Jan 5 18:46 librt.so@ -> librt.so.1 > -r--r--r-- 1 root wheel 23832 Jan 5 18:46 librt.so.1 > -r--r--r-- 1 root wheel 32202 Jan 5 18:46 librt_p.a > > -r--r--r-- 1 root wheel 30550 Jan 5 18:46 libpanelw.a > lrwxr-xr-x 1 root wheel 14 Jan 5 18:46 libpanelw.so@ -> libpanelw.so.5 > -r--r--r-- 1 root wheel 11840 Jan 5 18:46 libpanelw.so.5 > -r--r--r-- 1 root wheel 31678 Jan 5 18:46 libpanelw_p.a > > So, It looks like the installer ignores existing files if they have the same size? man install /-C > Just curious what=E2=80=99s going on.