From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 2 10:08:15 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 096971065675 for ; Thu, 2 Dec 2010 10:08:15 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from csmtp1.one.com (csmtp1.one.com [195.47.247.21]) by mx1.freebsd.org (Postfix) with ESMTP id 91EC68FC19 for ; Thu, 2 Dec 2010 10:08:14 +0000 (UTC) Received: from macfeast.lan (0x573b9942.cpe.ge-1-2-0-1101.ronqu1.customer.tele.dk [87.59.153.66]) by csmtp1.one.com (Postfix) with ESMTP id 038B21BC01CCF; Thu, 2 Dec 2010 10:08:09 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: multipart/signed; boundary=Apple-Mail-414--555322686; protocol="application/pkcs7-signature"; micalg=sha1 From: Erik Cederstrand In-Reply-To: Date: Thu, 2 Dec 2010 11:08:09 +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 10:08:15 -0000 --Apple-Mail-414--555322686 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi Ryan, Den 02/12/2010 kl. 05.01 skrev Ryan Stone: > asn1.c uses the assert macro, while I believe uses __FILE__. Thanks for the help! asn1.c does indeed import src/include/assert.h, = which optionally uses __FILE__ if NDEBUG is not defined. I've tried = adding -DNDEBUG to my CFLAGS, but apart from a build error I'm = investigating now, this doesn't help with all cases. __FILE__ is used = liberally in at least src/sys/sys/. I wonder if I could hack __FILE__ to be a path relative to src/. That = would be a way to fix all the source file paths I see. Erik= --Apple-Mail-414--555322686--