Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2008 18:14:47 +0100
From:      Erik Cederstrand <erik@cederstrand.dk>
To:        Dieter <freebsd@sopwith.solgatos.com>
Cc:        freebsd-performance@freebsd.org
Subject:   Re: Performance Tracker project update
Message-ID:  <47B32587.40700@cederstrand.dk>
In-Reply-To: <200802131629.QAA06470@sopwith.solgatos.com>
References:  <200802131629.QAA06470@sopwith.solgatos.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Dieter skrev:
>> As suggested in other posts, deleting .pyo and .pyc files gets me down to
>> 6MB. Static libraries (.a files) in /usr/lib and /usr/local/lib still have
>> mismatching MD5 sums even though no source code change warrants this. Can
>> I do anything about that?
> 
> Perhaps they have an embedded timestamp or version number?

This seems to be the case:

# strings DIR1/usr/lib/libfetch.a > tmp1
# strings DIR2/usr/lib/libfetch.a > tmp2
# diff tmp1 tmp2
2c2
< /               1200728973  0     0     0       954       `
---
 > /               1200723259  0     0     0       954       `
57c57
< file.o/         1200728973  0     0     100644  2356      `
---
 > file.o/         1200723259  0     0     100644  2356      `
86c86
< http.o/         1200728973  0     0     100644  17180     `
---
 > http.o/         1200723258  0     0     100644  17180     `
[...]

The changing number is the modification date of the .o file (I think).

>> Are static libraries even needed anymore?
> 
> Are you going to be compiling anything?

I'm compiling ports, but I could delete the files afterwards. It would 
be nice to be able to compile stuff in the images in the future, though.

I think I'll just leave the files there for the time being. It's a size 
reduction of less than 1 MB.

Erik



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47B32587.40700>