Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Oct 2010 21:58:22 +0200
From:      Erik Cederstrand <erik@cederstrand.dk>
To:        Ben Kaduk <minimarmot@gmail.com>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, Tim Kientzle <kientzle@freebsd.org>, src-committers@freebsd.org
Subject:   Re: svn commit: r213643 - head/usr.bin/ar
Message-ID:  <8C667EA1-3012-4499-BCCE-58263165663B@cederstrand.dk>
In-Reply-To: <AANLkTim8kj2X7fJMyRHTsXWFs8tvE07439w3Rzan7W1e@mail.gmail.com>
References:  <201010090531.o995V8n3026865@svn.freebsd.org> <AANLkTim8kj2X7fJMyRHTsXWFs8tvE07439w3Rzan7W1e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail-2022--890542142
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


Den 09/10/2010 kl. 07.43 skrev Ben Kaduk:

> On Sat, Oct 9, 2010 at 1:31 AM, Tim Kientzle <kientzle@freebsd.org> =
wrote:
>> Author: kientzle
>> Date: Sat Oct  9 05:31:08 2010
>> New Revision: 213643
>> URL: http://svn.freebsd.org/changeset/base/213643
>>=20
>> Log:
>>  Add -D (deterministic) option to ar.
>>  When set, it forces all timestamps and owners to zero and
>>  modes to 0644.  Useful for producing libraries that are
>>  bitwise identical across multiple build runs.
>=20
>=20
> Thanks!  Has anyone looked at the feasibility of setting AR?=3Dar -D =
in
> sys.mk?  I will probably try this when I get my scratch box up again.

I'm looking into this now, as I needed the patch to do binary diffs on =
builds. One problem is that ARFLAGS is overridden a lot of places in =
contrib/ code:

contrib/cvs/lib/Makefile.in:67:ARFLAGS=3Dcru
contrib/cvs/diff/Makefile.in:45:ARFLAGS=3Dcru
contrib/ntp/libntp/Makefile.in:55:ARFLAGS=3Dcru
contrib/ntp/libparse/Makefile.in:55:ARFLAGS=3Dcru
contrib/ntp/arlib/Makefile.in:54:ARFLAGS=3Dcru
contrib/ntp/ntpd/Makefile.in:61:ARFLAGS=3Dcru
contrib/tcp_wrappers/Makefile:95:ARFLAGS=3Drv
contrib/tcp_wrappers/Makefile:101:ARFLAGS=3Drv
[...]
contrib/tcp_wrappers/Makefile:404:ARFLAGS=3Drv
contrib/bind9/configure.in:73:ARFLAGS=3Dcruv
contrib/gcclibs/libcpp/Makefile.in:30:ARFLAGS=3Dcru
contrib/gcclibs/libdecnumber/Makefile.in:30:ARFLAGS=3Dcru
contrib/dtc/Makefile:49:ARFLAGS=3Drc
crypto/heimdal/appl/ftp/common/Makefile.in:93:ARFLAGS=3Dcru
crypto/heimdal/appl/telnet/libtelnet/Makefile.in:93:ARFLAGS=3Dcru
crypto/heimdal/lib/45/Makefile.in:101:ARFLAGS=3Dcru
crypto/openssl/Makefile.org:66:ARFLAGS=3D
crypto/openssl/Makefile:68:ARFLAGS=3D
share/mk/sys.mk:36:ARFLAGS?=3D-rv
share/mk/sys.mk:38:ARFLAGS?=3Drl
usr.bin/make/PSD.doc/tutorial.ms:2968:ARFLAGS?=3Dcrl

Thanks,
Erik=

--Apple-Mail-2022--890542142--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8C667EA1-3012-4499-BCCE-58263165663B>