Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Dec 2010 11:08:09 +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:  <CB682F44-F57D-4196-A710-591751905983@cederstrand.dk>
In-Reply-To: <AANLkTikrfPnH88zAVMvH8VNnne427jTy2mbBKY2=pA2O@mail.gmail.com>
References:  <93FA0AC7-704D-4EB4-A163-FDD8AC915630@cederstrand.dk> <2ABD292E-E172-4B43-A8A3-AAB25C56EE8B@cederstrand.dk> <AANLkTimz7g9tsVLVm76-x5o1qw9h=mvv1m2crQrWgwsK@mail.gmail.com> <F8322F89-4F0B-4FDF-BC87-4924E1F86F43@cederstrand.dk> <AANLkTikrfPnH88zAVMvH8VNnne427jTy2mbBKY2=pA2O@mail.gmail.com>

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CB682F44-F57D-4196-A710-591751905983>