Date: Tue, 5 Jan 2016 22:43:20 +0300 From: Anton Sayetsky <vsasjason@gmail.com> To: Markus Edemalm <markus@edemalm.se> Cc: FreeBSD Questions <freebsd-questions@freebsd.org>, Polytropon <freebsd@edvax.de>, Shane Ambler <FreeBSD@shaneware.biz> Subject: Re: Safe to delete old files in /usr/lib? Message-ID: <CAA2O=b_B1Dc-CesqyYrNQLiZ9JKjag8=pNJDkxhsqNZ7Uv5KuQ@mail.gmail.com> In-Reply-To: <45F8376E-7B69-4815-8979-E55C407A9B89@edemalm.se> References: <D6FAF4F3-EE48-4411-909D-9D13D8B9B620@edemalm.se> <20160104181211.76907a30.freebsd@edvax.de> <F4E4B196-36B4-40FE-A54B-FEA95DA96772@edemalm.se> <20160104185245.5ca2e4f1.freebsd@edvax.de> <BA58A9C5-5BD4-44AD-AFDC-D3BE54036A78@edemalm.se> <20160104203418.aee8df91.freebsd@edvax.de> <568B3CD2.8030708@ShaneWare.Biz> <833B0203-87FA-45F3-82BC-6250CD1EF735@edemalm.se> <45F8376E-7B69-4815-8979-E55C407A9B89@edemalm.se>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <markus@edemalm.se= > =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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAA2O=b_B1Dc-CesqyYrNQLiZ9JKjag8=pNJDkxhsqNZ7Uv5KuQ>