From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 2 03:52:17 2010 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0BE5F106566B for ; Thu, 2 Dec 2010 03:52:17 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from csmtp3.one.com (csmtp3.one.com [91.198.169.23]) by mx1.freebsd.org (Postfix) with ESMTP id 950D88FC12 for ; Thu, 2 Dec 2010 03:52:16 +0000 (UTC) Received: from macfeast.lan (0x573b9942.cpe.ge-1-2-0-1101.ronqu1.customer.tele.dk [87.59.153.66]) by csmtp3.one.com (Postfix) with ESMTP id 4F97F2406379; Thu, 2 Dec 2010 03:52:14 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: multipart/signed; boundary=Apple-Mail-398--577878323; protocol="application/pkcs7-signature"; micalg=sha1 From: Erik Cederstrand In-Reply-To: Date: Thu, 2 Dec 2010 04:52:14 +0100 Message-Id: References: <93FA0AC7-704D-4EB4-A163-FDD8AC915630@cederstrand.dk> <2ABD292E-E172-4B43-A8A3-AAB25C56EE8B@cederstrand.dk> To: Ryan Stone X-Mailer: Apple Mail (2.1082) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Hackers Subject: Re: Deterministic builds, part 2 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Dec 2010 03:52:17 -0000 --Apple-Mail-398--577878323 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Den 02/12/2010 kl. 03.44 skrev Ryan Stone: > Does the C file use the __FILE__ macro? There are a bit over 1000 files with checksum mismatches, but they seem = to differ in the same way. I've picked an example: /usr/lib/libbsnmp.a It contains the string = "/usr/home/erik/freebsd/head1/src/lib/libbsnmp/libbsnmp/../../../contrib/b= snmp/lib/asn1.c" in the section .rodata.str1.8 of the archive member = asn1.o. asn1.o was created during buildworld with this command: cc -O2 -pipe -DSTRIP_FBSDID = -I/usr/home/erik/freebsd/head1/src/lib/libbsnmp/libbsnmp/../../../contrib/= bsnmp/lib -DHAVE_ERR_H -DHAVE_GETADDRINFO -DHAVE_STRLCPY -DHAVE_STDINT_H = -DHAVE_INTTYPES_H -DQUADFMT=3D'"llu"' -DQUADXFMT=3D'"llx"' -std=3Dgnu99 = -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W = -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes = -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch = -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline = -Wnested-externs -Wredundant-decls -Wold-style-definition = -Wno-pointer-sign -c = /usr/home/erik/freebsd/head1/src/lib/libbsnmp/libbsnmp/../../../contrib/bs= nmp/lib/asn1.c I don't see __FILE__ anywhere in asn1.c or in dependent files. Erik= --Apple-Mail-398--577878323--