Date: Tue, 5 Jan 2016 20:34:48 +0100 From: Markus Edemalm <markus@edemalm.se> To: Shane Ambler <FreeBSD@ShaneWare.Biz>, Polytropon <freebsd@edvax.de>, freebsd-questions@freebsd.org Subject: Re: Safe to delete old files in /usr/lib? Message-ID: <45F8376E-7B69-4815-8979-E55C407A9B89@edemalm.se> In-Reply-To: <833B0203-87FA-45F3-82BC-6250CD1EF735@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>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>>> I added NO_PROFILE=3Dtrue to /etc/make.conf a while back. Is that = relevant? >>>>>=20 >>>>> 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. >=20 > 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: >=20 > -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 >=20 > -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 >=20 > See the dates? Why do I get fresh _p.a files and no .a files? >=20 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? Just curious what=E2=80=99s going on. /ME
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45F8376E-7B69-4815-8979-E55C407A9B89>