Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Dec 2010 04:52:14 +0100
From:      Erik Cederstrand <erik@cederstrand.dk>
To:        Ryan Stone <rysto32@gmail.com>
Cc:        FreeBSD Hackers <hackers@freebsd.org>
Subject:   Re: Deterministic builds, part 2
Message-ID:  <F8322F89-4F0B-4FDF-BC87-4924E1F86F43@cederstrand.dk>
In-Reply-To: <AANLkTimz7g9tsVLVm76-x5o1qw9h=mvv1m2crQrWgwsK@mail.gmail.com>
References:  <93FA0AC7-704D-4EB4-A163-FDD8AC915630@cederstrand.dk> <2ABD292E-E172-4B43-A8A3-AAB25C56EE8B@cederstrand.dk> <AANLkTimz7g9tsVLVm76-x5o1qw9h=mvv1m2crQrWgwsK@mail.gmail.com>

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

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F8322F89-4F0B-4FDF-BC87-4924E1F86F43>