Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2005 15:21:02 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        developers@freebsd.org, PeterJeremy@optushome.com.au, freebsd-security@freebsd.org, cracauer@cons.org, delphij@delphij.net
Subject:   Re: Is it feasible to cross-build compat5x binary?
Message-ID:  <20051027151929.K24217@delplex.bde.org>
In-Reply-To: <20051025.231729.26928360.imp@bsdimp.com>
References:  <20051023232935.GC602@dragon.NUXI.org> <20051024080811.GF39882@cirb503493.alcatel.com.au> <20051024064605.A44523@cons.org> <20051025.231729.26928360.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 25 Oct 2005, M. Warner Losh wrote:

> In message: <20051024064605.A44523@cons.org>
>            Martin Cracauer <cracauer@cons.org> writes:
> : ELF object files are timestamped.  But there's some elf-cmp out there.
>
> Elf .o's are timestampped,

Script started on Thu Oct 27 15:17:31 2005
ttyv2:bde@epsplex:/tmp/z> echo "int i = 1;" >z.c
ttyv2:bde@epsplex:/tmp/z> cc -c z.c
ttyv2:bde@epsplex:/tmp/z> mv z.o z.o~
ttyv2:bde@epsplex:/tmp/z> cc -c z.c
ttyv2:bde@epsplex:/tmp/z> md5 z.o~ z.o
MD5 (z.o~) = c92e2bbb5a0e8b4f05eced238762dde1
MD5 (z.o) = c92e2bbb5a0e8b4f05eced238762dde1
ttyv2:bde@epsplex:/tmp/z> cmp z.o~ z.o
ttyv2:bde@epsplex:/tmp/z> exit

Script done on Thu Oct 27 15:18:14 2005

> but Elf executables are 100% reproducible,
> except when people go out of their way to not make them so.  Like
> adding the date or person builder.

True.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051027151929.K24217>